Home
last modified time | relevance | path

Searched refs:aligned_height (Results 1 – 25 of 36) sorted by relevance

12

/external/libxcam/xcore/
Dxcam_buffer.cpp28 uint32_t aligned_width, uint32_t aligned_height, uint32_t size) in xcam_video_buffer_info_reset() argument
35 XCAM_ASSERT (!aligned_height || aligned_height >= height); in xcam_video_buffer_info_reset()
39 if (!aligned_height) in xcam_video_buffer_info_reset()
40 aligned_height = XCAM_ALIGN_UP (height, 2); in xcam_video_buffer_info_reset()
46 info->aligned_height = aligned_height; in xcam_video_buffer_info_reset()
54 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
62 info->offsets [1] = info->offsets [0] + info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
63 image_size = info->strides [0] * aligned_height + info->strides [1] * aligned_height / 2; in xcam_video_buffer_info_reset()
70 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
77 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
[all …]
Dvideo_buffer.cpp40 aligned_height = 0; in VideoBufferInfo()
51 uint32_t aligned_width, uint32_t aligned_height, in init() argument
58 … info, format, width, height, aligned_width, aligned_height, size) == XCAM_RETURN_NO_ERROR); in init()
64 return format && aligned_width && aligned_height && size; in is_valid()
Dx3a_stats_pool.cpp88 _stats_info.aligned_height = (info.height + grid - 1) / grid; in fixate_video_info()
109 sizeof (XCamGridStat) * _stats_info.aligned_width * _stats_info.aligned_height); in allocate_data()
113 _stats_info.aligned_width * _stats_info.aligned_height); in allocate_data()
Dv4l2_buffer_proxy.cpp87 info.aligned_height = 0; in v4l2_format_to_video_info()
141 if (!info.aligned_height) in v4l2_format_to_video_info()
142 info.aligned_height = info.height; in v4l2_format_to_video_info()
Ddrm_bo_buffer.cpp216 out_info.init (info.format, info.width, info.height, info.aligned_width, info.aligned_height); in fixate_video_info()
221 out_info.size += out_info.strides[0] * out_info.aligned_height; in fixate_video_info()
227 out_info.size += out_info.strides[1] * (out_info.aligned_height + 1) / 2; in fixate_video_info()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c51 int aligned_height = (height + 15) & ~15; in vp8_yv12_realloc_frame_buffer() local
53 int yplane_size = (aligned_height + 2 * border) * y_stride; in vp8_yv12_realloc_frame_buffer()
55 int uv_height = aligned_height >> 1; in vp8_yv12_realloc_frame_buffer()
79 ybf->y_height = aligned_height; in vp8_yv12_realloc_frame_buffer()
148 const int aligned_height = (height + 7) & ~7; in vpx_realloc_frame_buffer() local
151 (aligned_height + 2 * border) * (uint64_t)y_stride + byte_alignment; in vpx_realloc_frame_buffer()
153 const int uv_height = aligned_height >> ss_y; in vpx_realloc_frame_buffer()
224 ybf->y_height = aligned_height; in vpx_realloc_frame_buffer()
/external/libxcam/modules/isp/
Dx3a_statistics_queue.cpp166 stats_info.aligned_height = info.aligned_height; in set_grid_info()
178 XCAM_ASSERT (_grid_info.aligned_width && _grid_info.aligned_height); in alloc_isp_statsictics()
180 uint32_t grid_size = _grid_info.aligned_width * _grid_info.aligned_height; in alloc_isp_statsictics()
216 _grid_info.aligned_height = stats_info.aligned_height; in fixate_video_info()
237 sizeof (XCamGridStat) * stats_info.aligned_width * stats_info.aligned_height); in allocate_data()
241 stats_info.aligned_width * stats_info.aligned_height); in allocate_data()
Dhybrid_analyzer.cpp77 grid_info.aligned_height = stats_info.aligned_height; in setup_stats_pool()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c154 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
173 aligned_height = height; in vc4_check_tex_size()
177 aligned_height = round_up(height, utile_h * 8); in vc4_check_tex_size()
181 aligned_height = round_up(height, utile_h); in vc4_check_tex_size()
189 size = stride * aligned_height; in vc4_check_tex_size()
195 aligned_width, aligned_height, in vc4_check_tex_size()
682 uint32_t aligned_width, aligned_height; in reloc_tex() local
694 aligned_height = round_up(level_height, utile_h * 8); in reloc_tex()
698 aligned_height = round_up(level_height, utile_h); in reloc_tex()
702 aligned_height = level_height; in reloc_tex()
[all …]
/external/libxcam/tests/
Dtest-image-blend.cpp109 uint32_t aligned_width = 0, uint32_t aligned_height = 0) in dma_buf_to_xcam_buf() argument
125 if (aligned_height == 0) in dma_buf_to_xcam_buf()
126 aligned_height = XCAM_ALIGN_UP(height, 16); in dma_buf_to_xcam_buf()
128 info.init (V4L2_PIX_FMT_NV12, width, height, aligned_width, aligned_height, size); in dma_buf_to_xcam_buf()
294 uint32_t in_size = input_buf_info0.aligned_width * input_buf_info0.aligned_height * 3 / 2; in main()
295 uint32_t out_size = output_buf_info.aligned_width * output_buf_info.aligned_height * 3 / 2; in main()
313 input_buf_info0.aligned_width, input_buf_info0.aligned_height); in main()
316 input_buf_info1.aligned_width, input_buf_info1.aligned_height); in main()
319 output_buf_info.aligned_width, output_buf_info.aligned_height); in main()
/external/libxcam/modules/ocl/
Dcl_yuv_pipe_handler.cpp122 in_image_info.height = video_info_in.aligned_height * 3; in prepare_parameters()
129 out_image_info.height = video_info_out.aligned_height; in prepare_parameters()
135 out_image_info.height = video_info_out.aligned_height / 2; in prepare_parameters()
149 uint32_t plannar_offset = video_info_in.aligned_height; in prepare_parameters()
179 uint32_t vertical_offset = video_info_out.aligned_height; in prepare_parameters()
193 work_size.global[1] = video_info_out.aligned_height / 2 ; in prepare_parameters()
Dcl_bayer_pipe_handler.cpp157 in_desc.height = in_video_info.aligned_height * 4; //540 in prepare_parameters()
169 out_desc.height = out_video_info.aligned_height * 3; in prepare_parameters()
172 out_desc.slice_pitch = out_video_info.strides [0] * out_video_info.aligned_height; in prepare_parameters()
176 uint input_height = in_video_info.aligned_height; in prepare_parameters()
177 uint output_height = out_video_info.aligned_height; in prepare_parameters()
Dcl_image_bo_buffer.cpp174 uint32_t aligned_height = info.aligned_height; in fixate_video_info() local
176 aligned_height = desc.slice_pitch / desc.row_pitch; in fixate_video_info()
177 info.init (info.format, info.width, info.height, aligned_width, aligned_height, desc.size); in fixate_video_info()
Dcl_tonemapping_handler.cpp102 desc.height = video_info.aligned_height * 4; in prepare_parameters()
105 desc.slice_pitch = video_info.strides [0] * video_info.aligned_height; in prepare_parameters()
109 int image_height = video_info.aligned_height; in prepare_parameters()
136 int pixel_totalnum = stats_ptr->info.aligned_width * stats_ptr->info.aligned_height; in prepare_parameters()
Dcl_wavelet_denoise_handler.cpp73 uint32_t input_uv_offset = video_info_in.aligned_height; in prepare_arguments()
74 uint32_t output_uv_offset = video_info_out.aligned_height; in prepare_arguments()
133 uint32_t buffer_size = video_info.width * video_info.aligned_height; in prepare_output_buf()
Dcl_bayer_basic_handler.cpp317 out_image_info.height = out_video_info.aligned_height * 4; in prepare_parameters()
328 uint32_t out_aligned_height = out_video_info.aligned_height; in prepare_parameters()
366 …work_size.global[1] = XCAM_ALIGN_UP(out_video_info.aligned_height, GROUP_CELL_Y_SIZE) / GROUP_CELL… in prepare_parameters()
Dcl_newtonemapping_handler.cpp265 desc.height = video_info.aligned_height * 4; in prepare_parameters()
268 desc.slice_pitch = video_info.strides [0] * video_info.aligned_height; in prepare_parameters()
273 int image_height = video_info.aligned_height; in prepare_parameters()
Dcl_tnr_handler.cpp351 desc.height = video_info.aligned_height + video_info.height / 2; in prepare_parameters()
354 desc.slice_pitch = video_info.strides [0] * video_info.aligned_height; in prepare_parameters()
392 uint32_t vertical_offset = video_info.aligned_height; in prepare_parameters()
/external/drm_gralloc/
Dgralloc_drm_intel.c248 int aligned_width, aligned_height, bpp; in alloc_ibo() local
259 aligned_height = handle->height; in alloc_ibo()
261 &aligned_width, &aligned_height); in alloc_ibo()
287 aligned_width, aligned_height, in alloc_ibo()
322 aligned_height = ALIGN(aligned_height, 2); in alloc_ibo()
332 aligned_width, aligned_height, in alloc_ibo()
Dgralloc_drm_radeon.c189 int aligned_width, aligned_height; in radeon_alloc() local
204 aligned_height = handle->height; in radeon_alloc()
206 &aligned_width, &aligned_height); in radeon_alloc()
211 aligned_height = ALIGN(aligned_height, in radeon_alloc()
221 size = ALIGN(aligned_height * pitch, RADEON_GPU_PAGE_SIZE); in radeon_alloc()
Dgralloc_drm_rockchip.c43 int ret, cpp, pitch, aligned_width, aligned_height; in drm_gem_rockchip_alloc() local
59 aligned_height = handle->height; in drm_gem_rockchip_alloc()
61 &aligned_width, &aligned_height); in drm_gem_rockchip_alloc()
65 size = aligned_height * pitch; in drm_gem_rockchip_alloc()
/external/libxcam/modules/ocl/intel/
Dcl_va_memory.cpp109 cl_desc.height = video_info.aligned_height + video_info.height / 2; in merge_multi_plane()
114 cl_desc.height = video_info.aligned_height * 3; in merge_multi_plane()
119 cl_desc.height = video_info.aligned_height * 4; in merge_multi_plane()
/external/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_offset_test.c107 uint32_t aligned_height, in t_assert_gen4_3d_layer() argument
116 *base_y + aligned_height * (z / horiz_layers)); in t_assert_gen4_3d_layer()
119 *base_y += aligned_height * vert_layers; in t_assert_gen4_3d_layer()
/external/libxcam/xcore/base/
Dxcam_buffer.h84 uint32_t aligned_height; member
130 uint32_t aligned_width, uint32_t aligned_height, uint32_t size);
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c22 const int aligned_height = ALIGN_POWER_OF_TWO(height, MI_SIZE_LOG2); in vp9_set_mb_mi() local
25 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in vp9_set_mb_mi()

12