Home
last modified time | relevance | path

Searched refs:_swap_offsets (Results 1 – 5 of 5) sorted by relevance

/external/libxcam/xcore/
Dswapped_buffer.cpp31 xcam_mem_clear (_swap_offsets); in SwappedBuffer()
43 memcpy(_swap_offsets, offsets, sizeof (_swap_offsets)); in set_swap_info()
51 if (in.offsets[0] == _swap_offsets[SwapYOffset0]) { in swap_new_buffer_info()
52 out.offsets[0] = _swap_offsets[SwapYOffset1]; in swap_new_buffer_info()
54 XCAM_ASSERT (in.offsets[0] == _swap_offsets[SwapYOffset1]); in swap_new_buffer_info()
55 out.offsets[0] = _swap_offsets[SwapYOffset0]; in swap_new_buffer_info()
59 if (in.offsets[1] == _swap_offsets[SwapUVOffset0]) { in swap_new_buffer_info()
60 out.offsets[1] = _swap_offsets[SwapUVOffset1]; in swap_new_buffer_info()
62 XCAM_ASSERT (in.offsets[1] == _swap_offsets[SwapUVOffset1]); in swap_new_buffer_info()
63 out.offsets[1] = _swap_offsets[SwapUVOffset0]; in swap_new_buffer_info()
[all …]
Ddrm_bo_buffer.cpp170 xcam_mem_clear (_swap_offsets); in DrmBoBufferPool()
219 _swap_offsets[SwappedBuffer::SwapYOffset0] = out_info.offsets[0]; in fixate_video_info()
220 _swap_offsets[SwappedBuffer::SwapYOffset1] = out_info.size; in fixate_video_info()
225 _swap_offsets[SwappedBuffer::SwapUVOffset0] = out_info.offsets[1]; in fixate_video_info()
226 _swap_offsets[SwappedBuffer::SwapUVOffset1] = out_info.size; in fixate_video_info()
244 info.offsets[0] = _swap_offsets[SwappedBuffer::SwapYOffset0]; in init_swap_order()
247 info.offsets[0] = _swap_offsets[SwappedBuffer::SwapYOffset1]; in init_swap_order()
256 info.offsets[1] = _swap_offsets[SwappedBuffer::SwapUVOffset0]; in init_swap_order()
259 info.offsets[1] = _swap_offsets[SwappedBuffer::SwapUVOffset1]; in init_swap_order()
285 out_buf->set_swap_info (_swap_flags, _swap_offsets); in create_buffer_from_data()
Dswapped_buffer.h78 uint32_t _swap_offsets[XCAM_VIDEO_MAX_COMPONENTS * 2]; variable
Ddrm_bo_buffer.h128 uint32_t _swap_offsets[XCAM_VIDEO_MAX_COMPONENTS * 2]; variable
/external/libxcam/modules/ocl/
Dcl_image_bo_buffer.cpp186 _swap_offsets[SwappedBuffer::SwapYOffset0] = info.offsets[0]; in fixate_video_info()
187 _swap_offsets[SwappedBuffer::SwapYOffset1] = desc.slice_pitch * 2; in fixate_video_info()
190 _swap_offsets[SwappedBuffer::SwapUVOffset0] = info.offsets[1]; in fixate_video_info()
191 _swap_offsets[SwappedBuffer::SwapUVOffset1] = desc.slice_pitch * (desc.array_size - 1); in fixate_video_info()
221 out_buf->set_swap_info (_swap_flags, _swap_offsets); in create_buffer_from_data()