Home
last modified time | relevance | path

Searched refs:buf_info (Results 1 – 17 of 17) sorted by relevance

/external/libxcam/modules/ocl/
Dcl_image_360_stitch.cpp51 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/
Dxcam_buffer.cpp215 …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()
Ddma_video_buffer.cpp87 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/
Dbuffer.c298 VABufferInfo * const buf_info = &buf->export_state; in vlVaAcquireBufferHandle() local
319 buf_info->handle = (intptr_t)whandle.handle; in vlVaAcquireBufferHandle()
326 buf_info->type = buf->type; in vlVaAcquireBufferHandle()
327 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle()
328 buf_info->mem_size = buf->num_elements * buf->size; in vlVaAcquireBufferHandle()
359 VABufferInfo * const buf_info = &buf->export_state; in vlVaReleaseBufferHandle() local
361 switch (buf_info->mem_type) { in vlVaReleaseBufferHandle()
363 close((intptr_t)buf_info->handle); in vlVaReleaseBufferHandle()
369 buf_info->mem_type = 0; in vlVaReleaseBufferHandle()
/external/blktrace/btt/
Dmisc.c40 struct buf_info { struct
71 struct buf_info *bip = list_entry(p, struct buf_info, head); in clean_bufs()
123 struct buf_info *bip = malloc(sizeof(*bip)); in add_buf()
/external/libxcam/capi/
Dcontext_priv.cpp91 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/libxcam/modules/soft/
Dsoft_blender.cpp343 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()
Dsoft_stitcher.cpp295 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/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c279 struct radv_meta_blit2d_buffer buf_info = { in meta_copy_image_to_buffer() local
301 radv_meta_image_to_buffer(cmd_buffer, &img_info, &buf_info, 1, &rect); in meta_copy_image_to_buffer()
303 buf_info.offset += buf_extent_el.width * in meta_copy_image_to_buffer()
304 buf_extent_el.height * buf_info.bs; in meta_copy_image_to_buffer()
/external/libxcam/tests/
Dtest-pipe-manager.cpp199 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/a4xx/
Dfd4_blend.h41 uint32_t buf_info; member
Dfd4_blend.c137 so->rb_mrt[i].buf_info |= A4XX_RB_MRT_BUF_INFO_DITHER_MODE(DITHER_ALWAYS); in fd4_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.h40 uint32_t buf_info; member
/external/libxcam/xcore/base/
Dxcam_buffer.h134 …const XCamVideoBufferInfo *buf_info, XCamVideoBufferPlanarInfo *planar_info, const uint32_t index…
/external/harfbuzz_ng/src/
Dhb-buffer.cc1950 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()
/external/libxcam/wrapper/gstreamer/
Dgstxcamfilter.cpp749 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/
Dlayer_validation_tests.cpp2143 VkBufferCreateInfo buf_info = {}; in TEST_F() local
2144 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
2145 buf_info.pNext = NULL; in TEST_F()
2146 buf_info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in TEST_F()
2147 buf_info.size = 2048; in TEST_F()
2148 buf_info.queueFamilyIndexCount = 0; in TEST_F()
2149 buf_info.pQueueFamilyIndices = NULL; in TEST_F()
2150 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
2155 buf_info.flags = VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT; in TEST_F()
2156 vkCreateBuffer(m_device->device(), &buf_info, NULL, &buffer); in TEST_F()
[all …]