/external/libxcam/xcore/ |
D | xcam_buffer.cpp | 28 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 …]
|
D | video_buffer.cpp | 40 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()
|
D | x3a_stats_pool.cpp | 88 _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()
|
D | v4l2_buffer_proxy.cpp | 87 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()
|
D | drm_bo_buffer.cpp | 216 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/libaom/libaom/aom_scale/generic/ |
D | yv12config.c | 55 const int aligned_height, const int uv_width, const int uv_height, in realloc_frame_buffer_aligned() argument 120 ybf->y_height = aligned_height; in realloc_frame_buffer_aligned() 175 const int aligned_height, const int border, in calc_stride_and_planesize() argument 188 (aligned_height + 2 * border) * (uint64_t)(*y_stride) + byte_alignment; in calc_stride_and_planesize() 211 const int aligned_height = (height + 7) & ~7; in aom_realloc_frame_buffer() local 213 const int uv_height = aligned_height >> ss_y; in aom_realloc_frame_buffer() 218 ss_x, ss_y, aligned_width, aligned_height, border, byte_alignment, in aom_realloc_frame_buffer() 224 aligned_width, aligned_height, uv_width, uv_height, uv_stride, in aom_realloc_frame_buffer() 256 const int aligned_height = (height + 7) & ~7; in aom_realloc_lookahead_buffer() local 259 const int uv_height = aligned_height >> ss_y; in aom_realloc_lookahead_buffer() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_resource.c | 68 uint32_t aligned_height = height; in setup_slices() local 73 aligned_height = align(aligned_height, heightalign); in setup_slices() 85 aligned_height = align(aligned_height, 32); in setup_slices() 95 blocks = util_format_get_nblocks(format, slice->pitch, aligned_height); in setup_slices() 118 aligned_height); in setup_slices()
|
/external/libvpx/libvpx/vpx_scale/generic/ |
D | yv12config.c | 54 int aligned_height = (height + 15) & ~15; in vp8_yv12_realloc_frame_buffer() local 56 int yplane_size = (aligned_height + 2 * border) * y_stride; in vp8_yv12_realloc_frame_buffer() 58 int uv_height = aligned_height >> 1; in vp8_yv12_realloc_frame_buffer() 90 ybf->y_height = aligned_height; in vp8_yv12_realloc_frame_buffer() 170 const int aligned_height = (height + 7) & ~7; in vpx_realloc_frame_buffer() local 173 (aligned_height + 2 * border) * (uint64_t)y_stride + byte_alignment; in vpx_realloc_frame_buffer() 175 const int uv_height = aligned_height >> ss_y; in vpx_realloc_frame_buffer() 246 ybf->y_height = aligned_height; in vpx_realloc_frame_buffer()
|
/external/libxcam/modules/isp/ |
D | x3a_statistics_queue.cpp | 166 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()
|
D | hybrid_analyzer.cpp | 77 grid_info.aligned_height = stats_info.aligned_height; in setup_stats_pool()
|
/external/libxcam/modules/ocl/ |
D | cl_yuv_pipe_handler.cpp | 122 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()
|
D | cl_bayer_pipe_handler.cpp | 157 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()
|
D | cl_image_bo_buffer.cpp | 174 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()
|
D | cl_tonemapping_handler.cpp | 102 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()
|
D | cl_wavelet_denoise_handler.cpp | 73 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()
|
D | cl_bayer_basic_handler.cpp | 317 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()
|
D | cl_newtonemapping_handler.cpp | 265 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()
|
/external/libxcam/tests/ |
D | test-image-blend.cpp | 109 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/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate.c | 154 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/modules/ocl/intel/ |
D | cl_va_memory.cpp | 109 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/minigbm/ |
D | helpers.c | 223 int drv_bo_from_format(struct bo *bo, uint32_t stride, uint32_t aligned_height, uint32_t format) in drv_bo_from_format() argument 239 assert(aligned_height == bo->height); in drv_bo_from_format() 245 bo->sizes[p] = drv_size_from_format(format, bo->strides[p], aligned_height, p); in drv_bo_from_format() 259 uint32_t aligned_width, aligned_height; in drv_dumb_bo_create() local 263 aligned_height = height; in drv_dumb_bo_create() 273 aligned_height = 3 * DIV_ROUND_UP(height, 2); in drv_dumb_bo_create() 277 create_dumb.height = aligned_height; in drv_dumb_bo_create()
|
/external/libxcam/xcore/base/ |
D | xcam_buffer.h | 84 uint32_t aligned_height; member 130 uint32_t aligned_width, uint32_t aligned_height, uint32_t size);
|
/external/libaom/libaom/av1/common/ |
D | alloccommon.c | 25 const int aligned_height = ALIGN_POWER_OF_TWO(height, 3); in av1_get_MBs() local 27 const int mi_rows = aligned_height >> MI_SIZE_LOG2; in av1_get_MBs() 73 const int aligned_height = ALIGN_POWER_OF_TWO(height, 3); in av1_set_mb_mi() local 76 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in av1_set_mb_mi()
|
/external/mesa3d/src/intel/isl/tests/ |
D | isl_surf_get_image_offset_test.c | 107 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/libvpx/libvpx/vp9/common/ |
D | vp9_alloccommon.c | 22 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()
|