/external/libxcam/modules/ocl/ |
D | cl_image_360_stitch.cpp | 51 const VideoBufferInfo &buf_info = input->get_video_info (); in get_input_image() local 56 cl_desc.width = buf_info.width / 2; in get_input_image() 57 cl_desc.height = buf_info.height / 2; in get_input_image() 58 cl_desc.row_pitch = buf_info.strides[1]; in get_input_image() 59 cl_image = convert_to_climage (context, input, cl_desc, buf_info.offsets[1]); in get_input_image() 62 cl_desc.width = buf_info.width; in get_input_image() 63 cl_desc.height = buf_info.height; in get_input_image() 64 cl_desc.row_pitch = buf_info.strides[0]; in get_input_image() 65 cl_image = convert_to_climage (context, input, cl_desc, buf_info.offsets[0]); in get_input_image() 78 const VideoBufferInfo &buf_info = output->get_video_info (); in get_output_image() local [all …]
|
/external/libxcam/xcore/ |
D | xcam_buffer.cpp | 215 …const XCamVideoBufferInfo *buf_info, XCamVideoBufferPlanarInfo *planar_info, const uint32_t index) in xcam_video_buffer_get_planar_info() argument 217 XCAM_ASSERT (buf_info); in xcam_video_buffer_get_planar_info() 220 planar_info->width = buf_info->width; in xcam_video_buffer_get_planar_info() 221 planar_info->height = buf_info->height; in xcam_video_buffer_get_planar_info() 222 planar_info->pixel_bytes = XCAM_ALIGN_UP (buf_info->color_bits, 8) / 8; in xcam_video_buffer_get_planar_info() 224 switch (buf_info->format) { in xcam_video_buffer_get_planar_info() 228 planar_info->height = buf_info->height / 2; in xcam_video_buffer_get_planar_info() 292 …fferInfo get_planar_info failed, unsupported format:%s", xcam_fourcc_to_string (buf_info->format)); in xcam_video_buffer_get_planar_info()
|
D | dma_video_buffer.cpp | 87 VideoBufferInfo buf_info; in external_buf_to_dma_buf() local 102 buf_info.init (buf->info.format, buf->info.width, buf->info.height, in external_buf_to_dma_buf() 104 video_buffer = new DmaVideoBufferPriv (buf_info, buf); in external_buf_to_dma_buf()
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | buffer.c | 292 VABufferInfo * const buf_info = &buf->export_state; in vlVaAcquireBufferHandle() local 313 buf_info->handle = (intptr_t)whandle.handle; in vlVaAcquireBufferHandle() 320 buf_info->type = buf->type; in vlVaAcquireBufferHandle() 321 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle() 322 buf_info->mem_size = buf->num_elements * buf->size; in vlVaAcquireBufferHandle() 353 VABufferInfo * const buf_info = &buf->export_state; in vlVaReleaseBufferHandle() local 355 switch (buf_info->mem_type) { in vlVaReleaseBufferHandle() 357 close((intptr_t)buf_info->handle); in vlVaReleaseBufferHandle() 363 buf_info->mem_type = 0; in vlVaReleaseBufferHandle()
|
/external/blktrace/btt/ |
D | misc.c | 40 struct buf_info { struct 71 struct buf_info *bip = list_entry(p, struct buf_info, head); in clean_bufs() 129 struct buf_info *bip = malloc(sizeof(*bip)); in add_buf()
|
/external/vulkan-validation-layers/demos/smoke/ |
D | Meshes.cpp | 447 VkBufferCreateInfo buf_info = {}; in allocate_resources() local 448 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in allocate_resources() 449 buf_info.size = vb_size; in allocate_resources() 450 buf_info.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in allocate_resources() 451 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in allocate_resources() 452 vk::CreateBuffer(dev_, &buf_info, nullptr, &vb_); in allocate_resources() 454 buf_info.size = ib_size; in allocate_resources() 455 buf_info.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in allocate_resources() 456 vk::CreateBuffer(dev_, &buf_info, nullptr, &ib_); in allocate_resources()
|
D | Smoke.cpp | 437 VkBufferCreateInfo buf_info = {}; in create_buffers() local 438 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in create_buffers() 439 buf_info.size = object_data_size * sim_.objects().size(); in create_buffers() 440 buf_info.usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; in create_buffers() 441 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in create_buffers() 443 …for (auto &data : frame_data_) vk::assert_success(vk::CreateBuffer(dev_, &buf_info, nullptr, &data… in create_buffers()
|
/external/libxcam/capi/ |
D | context_priv.cpp | 91 VideoBufferInfo buf_info; in set_parameters() local 109 buf_info.init (image_format, _image_width, _image_height); in set_parameters() 110 _inbuf_pool->set_video_info (buf_info); in set_parameters()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 271 struct radv_meta_blit2d_buffer buf_info = { in meta_copy_image_to_buffer() local 291 radv_meta_image_to_buffer(cmd_buffer, &img_info, &buf_info, 1, &rect); in meta_copy_image_to_buffer() 293 buf_info.offset += buf_extent_el.width * in meta_copy_image_to_buffer() 294 buf_extent_el.height * buf_info.bs; in meta_copy_image_to_buffer()
|
/external/libxcam/modules/soft/ |
D | soft_blender.cpp | 343 const VideoBufferInfo &buf_info = in_buf->get_video_info (); in start_scaler() local 345 in_area.width = buf_info.width; in start_scaler() 346 in_area.height = buf_info.height; in start_scaler() 351 in_buf, in_area.width, in_area.height, buf_info.strides[0], in start_scaler() 352 buf_info.offsets[0] + in_area.pos_x + in_area.pos_y * buf_info.strides[0]); in start_scaler() 354 in_buf, in_area.width / 2, in_area.height / 2, buf_info.strides[1], in start_scaler() 355 buf_info.offsets[1] + in_area.pos_x + buf_info.strides[1] * in_area.pos_y / 2); in start_scaler()
|
D | soft_stitcher.cpp | 295 VideoBufferInfo buf_info; in init_fisheye() local 296 buf_info.init ( in init_fisheye() 301 fisheye.buf_pool = new SoftVideoBufAllocator (buf_info); in init_fisheye() 306 XCAM_STR (_stitcher->get_name ()), buf_info.width, buf_info.height); in init_fisheye()
|
/external/libxcam/tests/ |
D | test-pipe-manager.cpp | 199 VideoBufferInfo buf_info; in main() local 418 buf_info.init (pixel_format, image_width, image_height); in main() 421 if (!buf_pool->set_video_info (buf_info) || !buf_pool->reserve (DEFAULT_FPT_BUF_COUNT)) { in main()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blend.h | 40 uint32_t buf_info; member
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_blend.h | 41 uint32_t buf_info; member
|
D | fd4_blend.c | 137 so->rb_mrt[i].buf_info |= A4XX_RB_MRT_BUF_INFO_DITHER_MODE(DITHER_ALWAYS); in fd4_blend_state_create()
|
/external/libxcam/xcore/base/ |
D | xcam_buffer.h | 134 …const XCamVideoBufferInfo *buf_info, XCamVideoBufferPlanarInfo *planar_info, const uint32_t index…
|
/external/harfbuzz_ng/src/ |
D | hb-buffer.cc | 1928 const hb_glyph_info_t *buf_info = buffer->info; in hb_buffer_diff() local 1932 if (buf_info->codepoint != ref_info->codepoint) in hb_buffer_diff() 1934 if (buf_info->cluster != ref_info->cluster) in hb_buffer_diff() 1936 if ((buf_info->mask & HB_GLYPH_FLAG_DEFINED) != (ref_info->mask & HB_GLYPH_FLAG_DEFINED)) in hb_buffer_diff() 1942 buf_info++; in hb_buffer_diff()
|
/external/libxcam/wrapper/gstreamer/ |
D | gstxcamfilter.cpp | 749 VideoBufferInfo buf_info; in gst_xcam_filter_set_caps() local 750 buf_info.init ( in gst_xcam_filter_set_caps() 759 if (!buf_pool->set_video_info (buf_info) || in gst_xcam_filter_set_caps()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 1738 VkBufferCreateInfo buf_info = {}; in TEST_F() local 1739 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F() 1740 buf_info.pNext = NULL; in TEST_F() 1741 buf_info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in TEST_F() 1742 buf_info.size = 2048; in TEST_F() 1743 buf_info.queueFamilyIndexCount = 0; in TEST_F() 1744 buf_info.pQueueFamilyIndices = NULL; in TEST_F() 1745 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F() 1746 buf_info.flags = VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT; in TEST_F() 1747 vkCreateBuffer(m_device->device(), &buf_info, NULL, &buffer); in TEST_F() [all …]
|
/external/vulkan-validation-layers/demos/ |
D | cube.c | 1742 VkBufferCreateInfo buf_info; in demo_prepare_cube_data_buffers() local 1767 memset(&buf_info, 0, sizeof(buf_info)); in demo_prepare_cube_data_buffers() 1768 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in demo_prepare_cube_data_buffers() 1769 buf_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in demo_prepare_cube_data_buffers() 1770 buf_info.size = sizeof(data); in demo_prepare_cube_data_buffers() 1774 vkCreateBuffer(demo->device, &buf_info, NULL, in demo_prepare_cube_data_buffers()
|
D | cube.cpp | 1694 …auto const buf_info = vk::BufferCreateInfo().setSize(sizeof(data)).setUsage(vk::BufferUsageFlagBit… in prepare_cube_data_buffers() local 1697 …auto result = device.createBuffer(&buf_info, nullptr, &swapchain_image_resources[i].uniform_buffer… in prepare_cube_data_buffers()
|