/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 | 165 struct buffer_info *buf_info, in ohos_create_image_from_buffer_info() argument 173 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in ohos_create_image_from_buffer_info() 174 buf_info->drm_fourcc, buf_info->modifier, buf_info->fds, in ohos_create_image_from_buffer_info() 175 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in ohos_create_image_from_buffer_info() 176 buf_info->yuv_color_space, buf_info->sample_range, in ohos_create_image_from_buffer_info() 177 buf_info->horizontal_siting, buf_info->vertical_siting, &error, in ohos_create_image_from_buffer_info() 182 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in ohos_create_image_from_buffer_info() 183 buf_info->drm_fourcc, buf_info->fds, buf_info->num_planes, in ohos_create_image_from_buffer_info() 184 buf_info->pitches, buf_info->offsets, buf_info->yuv_color_space, in ohos_create_image_from_buffer_info() 185 buf_info->sample_range, buf_info->horizontal_siting, in ohos_create_image_from_buffer_info() [all …]
|
D | platform_android.c | 414 struct buffer_info *buf_info, in droid_create_image_from_buffer_info() argument 422 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in droid_create_image_from_buffer_info() 423 buf_info->drm_fourcc, buf_info->modifier, buf_info->fds, in droid_create_image_from_buffer_info() 424 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in droid_create_image_from_buffer_info() 425 buf_info->yuv_color_space, buf_info->sample_range, in droid_create_image_from_buffer_info() 426 buf_info->horizontal_siting, buf_info->vertical_siting, &error, in droid_create_image_from_buffer_info() 431 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in droid_create_image_from_buffer_info() 432 buf_info->drm_fourcc, buf_info->fds, buf_info->num_planes, in droid_create_image_from_buffer_info() 433 buf_info->pitches, buf_info->offsets, buf_info->yuv_color_space, in droid_create_image_from_buffer_info() 434 buf_info->sample_range, buf_info->horizontal_siting, in droid_create_image_from_buffer_info() [all …]
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | engine_vulkan.cc | 232 for (const auto& buf_info : pipeline->GetBuffers()) { in CreatePipeline() local 234 if (buf_info.type == BufferType::kStorageImage) { in CreatePipeline() 236 } else if (buf_info.type == BufferType::kSampledImage) { in CreatePipeline() 238 } else if (buf_info.type == BufferType::kCombinedImageSampler) { in CreatePipeline() 240 } else if (buf_info.type == BufferType::kUniformTexelBuffer) { in CreatePipeline() 242 } else if (buf_info.type == BufferType::kStorageTexelBuffer) { in CreatePipeline() 244 } else if (buf_info.type == BufferType::kUniform) { in CreatePipeline() 246 } else if (buf_info.type == BufferType::kUniformDynamic) { in CreatePipeline() 248 } else if (buf_info.type == BufferType::kStorageDynamic) { in CreatePipeline() 250 } else if (buf_info.type != BufferType::kStorage) { in CreatePipeline() [all …]
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
D | engine_dawn.cc | 1614 for (auto& buf_info : render_pipeline->pipeline->GetBuffers()) { in AttachBuffersAndTextures() local 1615 while (layouts_info[buf_info.descriptor_set].size() <= buf_info.binding) in AttachBuffersAndTextures() 1616 layouts_info[buf_info.descriptor_set].push_back(empty_layout_info); in AttachBuffersAndTextures() 1620 for (const auto& buf_info : render_pipeline->pipeline->GetBuffers()) { in AttachBuffersAndTextures() local 1623 switch (buf_info.type) { in AttachBuffersAndTextures() 1636 std::to_string(static_cast<uint32_t>(buf_info.type))); in AttachBuffersAndTextures() 1641 if (buf_info.descriptor_set > kMaxDawnBindGroup - 1) { in AttachBuffersAndTextures() 1647 CreateBufferFromData(*device_, buf_info.buffer->ValuePtr()->data(), in AttachBuffersAndTextures() 1648 buf_info.buffer->GetMaxSizeInBytes(), in AttachBuffersAndTextures() 1652 render_pipeline->buffer_map[{buf_info.descriptor_set, buf_info.binding}] = in AttachBuffersAndTextures() [all …]
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | buffer.c | 324 VABufferInfo * const buf_info = &buf->export_state; in vlVaAcquireBufferHandle() local 345 buf_info->handle = (intptr_t)whandle.handle; in vlVaAcquireBufferHandle() 352 buf_info->type = buf->type; in vlVaAcquireBufferHandle() 353 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle() 354 buf_info->mem_size = buf->num_elements * buf->size; in vlVaAcquireBufferHandle() 385 VABufferInfo * const buf_info = &buf->export_state; in vlVaReleaseBufferHandle() local 387 switch (buf_info->mem_type) { in vlVaReleaseBufferHandle() 389 close((intptr_t)buf_info->handle); in vlVaReleaseBufferHandle() 395 buf_info->mem_type = 0; in vlVaReleaseBufferHandle()
|
/third_party/node/test/parallel/ |
D | test-crypto-hkdf.js | 149 const buf_info = Buffer.from(info); constant 151 const syncResult = hkdfSync(hash, buf_secret, buf_salt, buf_info, length); 152 hkdf(hash, buf_secret, buf_salt, buf_info, length, 161 const buf_info = Buffer.from(info); constant 163 const syncResult = hkdfSync(hash, key_secret, buf_salt, buf_info, length); 164 hkdf(hash, key_secret, buf_salt, buf_info, length,
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_cs.c | 160 const struct panvk_attrib_buf_info *buf_info = &info->buf[idx]; in panvk_emit_attrib_buf() local 167 draw->padded_vertex_count * buf_info->instance_divisor; in panvk_emit_attrib_buf() 173 cfg.stride = buf_info->per_instance ? 0 : buf_info->stride; in panvk_emit_attrib_buf() 177 } else if (!buf_info->per_instance) { in panvk_emit_attrib_buf() 181 cfg.stride = buf_info->stride; in panvk_emit_attrib_buf() 198 cfg.stride = buf_info->stride; in panvk_emit_attrib_buf() 209 cfg.stride = buf_info->stride; in panvk_emit_attrib_buf() 219 cfg.divisor = buf_info->instance_divisor; in panvk_emit_attrib_buf() 276 const struct panvk_attrib_buf_info *buf_info = &attribs->buf[buf_idx]; in panvk_emit_attrib() local 283 if (buf_info->per_instance) in panvk_emit_attrib() [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/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 | 303 struct radv_meta_blit2d_buffer buf_info = { in copy_image_to_buffer() local 324 radv_meta_image_to_buffer(cmd_buffer, &img_info, &buf_info, 1, &rect); in copy_image_to_buffer() 326 buf_info.offset += buf_extent_el.width * buf_extent_el.height * buf_info.bs; in copy_image_to_buffer()
|
D | radv_device_generated_commands.c | 1307 VkDescriptorBufferInfo buf_info[ARRAY_SIZE(ds_writes)]; in radv_prepare_dgc() local 1309 buf_info[ds_cnt] = (VkDescriptorBufferInfo){.buffer = radv_buffer_to_handle(&token_buffer), in radv_prepare_dgc() 1317 .pBufferInfo = &buf_info[ds_cnt]}; in radv_prepare_dgc() 1320 buf_info[ds_cnt] = (VkDescriptorBufferInfo){.buffer = pGeneratedCommandsInfo->preprocessBuffer, in radv_prepare_dgc() 1328 .pBufferInfo = &buf_info[ds_cnt]}; in radv_prepare_dgc() 1332 buf_info[ds_cnt] = in radv_prepare_dgc() 1342 .pBufferInfo = &buf_info[ds_cnt]}; in radv_prepare_dgc() 1347 buf_info[ds_cnt] = in radv_prepare_dgc() 1357 .pBufferInfo = &buf_info[ds_cnt]}; in radv_prepare_dgc()
|
/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/vk-gl-cts/external/amber/src/src/ |
D | pipeline.cc | 835 for (const auto& buf_info : GetBuffers()) { in GenerateOpenCLPodBuffers() local 836 if (buf_info.descriptor_set == descriptor_set && in GenerateOpenCLPodBuffers() 837 buf_info.binding == binding) { in GenerateOpenCLPodBuffers() 839 buf_info.buffer->GetName() + in GenerateOpenCLPodBuffers()
|
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
D | parser_bind_test.cc | 50 const auto& buf_info = color_buffers[0]; in TEST_F() local 51 ASSERT_TRUE(buf_info.buffer != nullptr); in TEST_F() 52 EXPECT_EQ(0u, buf_info.location); in TEST_F() 53 EXPECT_EQ(250u * 250u, buf_info.buffer->ElementCount()); in TEST_F() 54 EXPECT_EQ(250u * 250u * 4u, buf_info.buffer->ValueCount()); in TEST_F() 56 buf_info.buffer->GetSizeInBytes()); in TEST_F()
|
/third_party/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
|