/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_android_mapper.cpp | 100 struct buffer_info buf_info = *out_buf_info; in mapper_metadata_get_buffer_info() local 107 buf_info.width = buf->width; in mapper_metadata_get_buffer_info() 108 buf_info.height = buf->height; in mapper_metadata_get_buffer_info() 115 auto status = android::gralloc4::decodePixelFormatFourCC(encoded_format, &buf_info.drm_fourcc); in mapper_metadata_get_buffer_info() 124 status = android::gralloc4::decodePixelFormatModifier(encoded_modifier, &buf_info.modifier); in mapper_metadata_get_buffer_info() 135 buf_info.num_planes = layouts.size(); in mapper_metadata_get_buffer_info() 137 bool per_plane_unique_fd = buf->handle->numFds == buf_info.num_planes; in mapper_metadata_get_buffer_info() 140 buf_info.fds[i] = per_plane_unique_fd ? buf->handle->data[i] : buf->handle->data[0]; in mapper_metadata_get_buffer_info() 141 buf_info.pitches[i] = layouts[i].strideInBytes; in mapper_metadata_get_buffer_info() 142 buf_info.offsets[i] = layouts[i].offsetInBytes; in mapper_metadata_get_buffer_info() [all …]
|
D | platform_ohos.c | 161 struct buffer_info *buf_info, in ohos_create_image_from_buffer_info() argument 169 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in ohos_create_image_from_buffer_info() 170 buf_info->drm_fourcc, buf_info->modifier, buf_info->fds, in ohos_create_image_from_buffer_info() 171 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in ohos_create_image_from_buffer_info() 172 buf_info->yuv_color_space, buf_info->sample_range, in ohos_create_image_from_buffer_info() 173 buf_info->horizontal_siting, buf_info->vertical_siting, &error, in ohos_create_image_from_buffer_info() 178 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in ohos_create_image_from_buffer_info() 179 buf_info->drm_fourcc, buf_info->fds, buf_info->num_planes, in ohos_create_image_from_buffer_info() 180 buf_info->pitches, buf_info->offsets, buf_info->yuv_color_space, in ohos_create_image_from_buffer_info() 181 buf_info->sample_range, buf_info->horizontal_siting, in ohos_create_image_from_buffer_info() [all …]
|
D | platform_android.c | 413 struct buffer_info *buf_info, in droid_create_image_from_buffer_info() argument 421 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in droid_create_image_from_buffer_info() 422 buf_info->drm_fourcc, buf_info->modifier, buf_info->fds, in droid_create_image_from_buffer_info() 423 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in droid_create_image_from_buffer_info() 424 buf_info->yuv_color_space, buf_info->sample_range, in droid_create_image_from_buffer_info() 425 buf_info->horizontal_siting, buf_info->vertical_siting, &error, in droid_create_image_from_buffer_info() 430 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in droid_create_image_from_buffer_info() 431 buf_info->drm_fourcc, buf_info->fds, buf_info->num_planes, in droid_create_image_from_buffer_info() 432 buf_info->pitches, buf_info->offsets, buf_info->yuv_color_space, in droid_create_image_from_buffer_info() 433 buf_info->sample_range, buf_info->horizontal_siting, in droid_create_image_from_buffer_info() [all …]
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | buffer.c | 302 VABufferInfo * const buf_info = &buf->export_state; in vlVaAcquireBufferHandle() local 323 buf_info->handle = (intptr_t)whandle.handle; in vlVaAcquireBufferHandle() 330 buf_info->type = buf->type; in vlVaAcquireBufferHandle() 331 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle() 332 buf_info->mem_size = buf->num_elements * buf->size; in vlVaAcquireBufferHandle() 363 VABufferInfo * const buf_info = &buf->export_state; in vlVaReleaseBufferHandle() local 365 switch (buf_info->mem_type) { in vlVaReleaseBufferHandle() 367 close((intptr_t)buf_info->handle); in vlVaReleaseBufferHandle() 373 buf_info->mem_type = 0; in vlVaReleaseBufferHandle()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 1114 VkBufferCreateInfo buf_info = {}; in init_uniform_buffer() local 1115 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in init_uniform_buffer() 1116 buf_info.pNext = NULL; in init_uniform_buffer() 1117 buf_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in init_uniform_buffer() 1118 buf_info.size = sizeof(float) * 16; // info.MVP.data() size in init_uniform_buffer() 1119 buf_info.queueFamilyIndexCount = 0; in init_uniform_buffer() 1120 buf_info.pQueueFamilyIndices = NULL; in init_uniform_buffer() 1121 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in init_uniform_buffer() 1122 buf_info.flags = 0; in init_uniform_buffer() 1123 res = vkCreateBuffer(info.device, &buf_info, NULL, &info.uniform_data.buf); in init_uniform_buffer() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 1125 VkBufferCreateInfo buf_info = {}; in init_uniform_buffer() local 1126 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in init_uniform_buffer() 1127 buf_info.pNext = NULL; in init_uniform_buffer() 1128 buf_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in init_uniform_buffer() 1129 buf_info.size = sizeof(float) * 16; // info.MVP.data() size in init_uniform_buffer() 1130 buf_info.queueFamilyIndexCount = 0; in init_uniform_buffer() 1131 buf_info.pQueueFamilyIndices = NULL; in init_uniform_buffer() 1132 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in init_uniform_buffer() 1133 buf_info.flags = 0; in init_uniform_buffer() 1134 res = vkCreateBuffer(info.device, &buf_info, NULL, &info.uniform_data.buf); in init_uniform_buffer() [all …]
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 413 surf->buf_info = BUF_3D_ID_DEPTH; in i915_create_surface_custom() 415 surf->buf_info = BUF_3D_ID_COLOR_BACK; in i915_create_surface_custom() 420 surf->buf_info |= BUF_3D_PITCH(tex->stride); /* pitch in bytes */ in i915_create_surface_custom() 424 surf->buf_info |= BUF_3D_TILED_SURFACE | BUF_3D_TILE_WALK_Y; in i915_create_surface_custom() 427 surf->buf_info |= BUF_3D_TILED_SURFACE; in i915_create_surface_custom()
|
D | i915_state_static.c | 93 i915->current.cbuf_flags = surf->buf_info; in update_framebuffer() 117 i915->current.depth_flags = surf->buf_info; in update_framebuffer()
|
D | i915_context.h | 227 uint32_t buf_info; /* _3DSTATE_BUF_INFO_CMD flags */ member
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/pyfunc/ |
D | py_func_cpu_kernel.cc | 137 const py::buffer_info &buf_info = array.request(); in ArrayToRawMemory() local 138 …K_RET_WITH_EXCEPT(memcpy_s(address->addr, address->size, buf_info.ptr, buf_info.size * buf_info.it… in ArrayToRawMemory()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_blend.h | 39 uint32_t buf_info; member
|
D | fd4_blend.c | 115 so->rb_mrt[i].buf_info |= in fd4_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blend.h | 40 uint32_t buf_info; member
|
/third_party/gstreamer/gstplugins_good/gst/multifile/ |
D | gstsplitmuxsink.c | 1641 MqStreamBuf *buf_info = NULL; in handle_mq_output() local 1823 buf_info = g_queue_pop_tail (&ctx->queued_bufs); in handle_mq_output() 1824 if (buf_info == NULL) { in handle_mq_output() 1831 if (buf_info->keyframe && splitmux->queued_keyframes > 0 && ctx->is_reference) in handle_mq_output() 1834 ctx->out_running_time = buf_info->run_ts; in handle_mq_output() 1840 pad, GST_STIME_ARGS (ctx->out_running_time), buf_info->buf_size); in handle_mq_output() 1846 splitmux->muxed_out_bytes += buf_info->buf_size; in handle_mq_output() 1874 mq_stream_buf_free (buf_info); in handle_mq_output() 2822 MqStreamBuf *buf_info = NULL; in handle_mq_input() local 2947 buf_info = mq_stream_buf_new (); in handle_mq_input() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 327 struct radv_meta_blit2d_buffer buf_info = { in copy_image_to_buffer() local 348 radv_meta_image_to_buffer(cmd_buffer, &img_info, &buf_info, 1, &rect); in copy_image_to_buffer() 350 buf_info.offset += buf_extent_el.width * buf_extent_el.height * buf_info.bs; in copy_image_to_buffer()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_cs.c | 220 const struct panvk_attrib_buf_info *buf_info = &info->buf[idx]; in panvk_emit_attrib_buf() local 223 if (buf_info->special) { in panvk_emit_attrib_buf() 224 switch (buf_info->special_id) { in panvk_emit_attrib_buf() 241 unsigned divisor = buf_info->per_instance ? in panvk_emit_attrib_buf() 244 0 : buf_info->stride; in panvk_emit_attrib_buf()
|
/third_party/harfbuzz/src/ |
D | hb-buffer.cc | 1920 const hb_glyph_info_t *buf_info = buffer->info; in hb_buffer_diff() local 1924 if (buf_info->codepoint != ref_info->codepoint) in hb_buffer_diff() 1926 if (buf_info->cluster != ref_info->cluster) in hb_buffer_diff() 1928 if ((buf_info->mask & ~ref_info->mask & HB_GLYPH_FLAG_DEFINED)) in hb_buffer_diff() 1934 buf_info++; in hb_buffer_diff()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-buffer.cc | 1979 const hb_glyph_info_t *buf_info = buffer->info; in hb_buffer_diff() local 1983 if (buf_info->codepoint != ref_info->codepoint) in hb_buffer_diff() 1985 if (buf_info->cluster != ref_info->cluster) in hb_buffer_diff() 1987 if ((buf_info->mask & ~ref_info->mask & HB_GLYPH_FLAG_DEFINED)) in hb_buffer_diff() 1993 buf_info++; in hb_buffer_diff()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-buffer.cc | 1950 const hb_glyph_info_t *buf_info = buffer->info; in hb_buffer_diff() local 1954 if (buf_info->codepoint != ref_info->codepoint) in hb_buffer_diff() 1956 if (buf_info->cluster != ref_info->cluster) in hb_buffer_diff() 1958 if ((buf_info->mask & ~ref_info->mask & HB_GLYPH_FLAG_DEFINED)) in hb_buffer_diff() 1964 buf_info++; in hb_buffer_diff()
|
/third_party/flutter/glfw/tests/ |
D | vulkan.c | 1140 const VkBufferCreateInfo buf_info = { in demo_prepare_vertices() local 1160 err = vkCreateBuffer(demo->device, &buf_info, NULL, &demo->vertices.buf); in demo_prepare_vertices()
|
/third_party/gstreamer/gstplugins_good/ |
D | ChangeLog | 44779 Every instance of goto beach has buf_info equal NULL. Don't check 44918 If execution goes to the beach in line 981, buf_info goes out of scope without
|