Home
last modified time | relevance | path

Searched refs:aligned_width (Results 1 – 25 of 43) sorted by relevance

12

/external/libxcam/modules/isp/
Dx3a_statistics_queue.cpp70 standard_data[i * standard_info.aligned_width + j].avg_y = in fill_standard_stats()
71 ((isp_data[i * isp_info.aligned_width + j].ae_y / pixel_count) >> bit_shift); in fill_standard_stats()
72 standard_data[i * standard_info.aligned_width + j].avg_r = in fill_standard_stats()
73 ((isp_data[i * isp_info.aligned_width + j].awb_r / pixel_count) >> bit_shift); in fill_standard_stats()
74 standard_data[i * standard_info.aligned_width + j].avg_gr = in fill_standard_stats()
75 ((isp_data[i * isp_info.aligned_width + j].awb_gr / pixel_count) >> bit_shift); in fill_standard_stats()
76 standard_data[i * standard_info.aligned_width + j].avg_gb = in fill_standard_stats()
77 ((isp_data[i * isp_info.aligned_width + j].awb_gb / pixel_count) >> bit_shift); in fill_standard_stats()
78 standard_data[i * standard_info.aligned_width + j].avg_b = in fill_standard_stats()
79 ((isp_data[i * isp_info.aligned_width + j].awb_b / pixel_count) >> bit_shift); in fill_standard_stats()
[all …]
Daiq3a_utils.cpp41 to->data [i * to_info.aligned_width + j].ae_y = in translate_3a_stats()
42 from->stats [i * from_info.aligned_width + j].avg_y * color_count; in translate_3a_stats()
43 to->data [i * to_info.aligned_width + j].awb_gr = in translate_3a_stats()
44 from->stats [i * from_info.aligned_width + j].avg_gr * color_count; in translate_3a_stats()
45 to->data [i * to_info.aligned_width + j].awb_r = in translate_3a_stats()
46 from->stats [i * from_info.aligned_width + j].avg_r * color_count; in translate_3a_stats()
47 to->data [i * to_info.aligned_width + j].awb_b = in translate_3a_stats()
48 from->stats [i * from_info.aligned_width + j].avg_b * color_count; in translate_3a_stats()
49 to->data [i * to_info.aligned_width + j].awb_gb = in translate_3a_stats()
50 from->stats [i * from_info.aligned_width + j].avg_gb * color_count; in translate_3a_stats()
[all …]
Dhybrid_analyzer.cpp76 grid_info.aligned_width = stats_info.aligned_width; in setup_stats_pool()
/external/libxcam/xcore/
Dxcam_buffer.cpp28 uint32_t aligned_width, uint32_t aligned_height, uint32_t size) in xcam_video_buffer_info_reset() argument
34 XCAM_ASSERT (!aligned_width || aligned_width >= width); in xcam_video_buffer_info_reset()
37 if (!aligned_width) in xcam_video_buffer_info_reset()
38 aligned_width = XCAM_ALIGN_UP (width, 4); in xcam_video_buffer_info_reset()
45 info->aligned_width = aligned_width; in xcam_video_buffer_info_reset()
52 info->strides [0] = aligned_width; in xcam_video_buffer_info_reset()
59 info->strides [0] = aligned_width; in xcam_video_buffer_info_reset()
68 info->strides [0] = aligned_width * 2; in xcam_video_buffer_info_reset()
75 info->strides [0] = aligned_width * 2; in xcam_video_buffer_info_reset()
82 info->strides [0] = aligned_width * 3; in xcam_video_buffer_info_reset()
[all …]
Dvideo_buffer.cpp39 aligned_width = 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_analyzer_simple.cpp186 sum_r += (double)(stats->stats[i * stats->info.aligned_width + j].avg_r); in analyze_awb()
187 sum_gr += (double)(stats->stats[i * stats->info.aligned_width + j].avg_gr); in analyze_awb()
188 sum_gb += (double)(stats->stats[i * stats->info.aligned_width + j].avg_gb); in analyze_awb()
189 sum_b += (double)(stats->stats[i * stats->info.aligned_width + j].avg_b); in analyze_awb()
247 sum_y += (double)(stats->stats[i * stats->info.aligned_width + j].avg_y); in analyze_ae()
Dv4l2_buffer_proxy.cpp86 info.aligned_width = 0; in v4l2_format_to_video_info()
111 info.aligned_width = info.strides [0] / 2; in v4l2_format_to_video_info()
138 if (!info.aligned_width) in v4l2_format_to_video_info()
139 info.aligned_width = info.strides [0]; in v4l2_format_to_video_info()
Dx3a_stats_pool.cpp87 _stats_info.aligned_width = (info.width + 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()
/external/libxcam/plugins/3a/hybrid/
Dsample.cpp87 stats->stats[i * info.aligned_width + j].avg_y, in xcam_set_3a_stats()
88 stats->stats[i * info.aligned_width + j].avg_gr, in xcam_set_3a_stats()
89 stats->stats[i * info.aligned_width + j].avg_r, in xcam_set_3a_stats()
90 stats->stats[i * info.aligned_width + j].avg_b, in xcam_set_3a_stats()
91 stats->stats[i * info.aligned_width + j].avg_gb, in xcam_set_3a_stats()
92 stats->stats[i * info.aligned_width + j].valid_wb_count, in xcam_set_3a_stats()
93 stats->stats[i * info.aligned_width + j].f_value1, in xcam_set_3a_stats()
94 stats->stats[i * info.aligned_width + j].f_value2); in xcam_set_3a_stats()
/external/libxcam/modules/ocl/
Dcl_3a_stats_context.cpp73 _stats_info.aligned_width * _width_factor * in allocate_data()
136 printf ("%4d ", stats_ptr->stats[y * stats_ptr->info.aligned_width + x].avg_y); in debug_print_3a_stats()
150 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
152 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
154 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
156 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
158 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
220 …memset (stats_ptr->stats, 0, sizeof (XCamGridStat) * _stats_info.aligned_width * _stats_info.align… in copy_stats_out()
223 uint32_t cl_stats_width = _stats_info.aligned_width * _width_factor; in copy_stats_out()
226 XCamGridStat *grid_stats_line = &stats_ptr->stats[_stats_info.aligned_width * h]; in copy_stats_out()
[all …]
Dcl_tnr_handler.cpp113 uint32_t image_aligned_width = stats->info.aligned_width; in calculate_image_histogram()
160 uint32_t image_aligned_width = input->get_video_info ().aligned_width; in calculate_image_histogram()
350 desc.width = video_info.aligned_width; in prepare_parameters()
358 desc.width = video_info.aligned_width; in prepare_parameters()
Dcl_blender.cpp98 uint32_t aligned_width = XCAM_MAX (16, XCAM_CL_BLENDER_ALIGNMENT_X); in prepare_buffer_pool_video_info() local
101 XCAM_ALIGN_UP(output_width, aligned_width), XCAM_ALIGN_UP(output_height, 16)); in prepare_buffer_pool_video_info()
Dcl_geo_map_handler.cpp162 …uint32_t aligned_width = XCAM_ALIGN_UP (width, XCAM_CL_IMAGE_ALIGNMENT_X); // 4 channel for CL_RG… in check_geo_map_buf() local
163 uint32_t row_pitch = aligned_width * GEO_MAP_CHANNEL * sizeof (float); in check_geo_map_buf()
191 _map_aligned_width = aligned_width; in check_geo_map_buf()
Dcl_image_bo_buffer.cpp173 uint32_t aligned_width = desc.row_pitch / plane_info.pixel_bytes; in fixate_video_info() local
177 info.init (info.format, info.width, info.height, aligned_width, aligned_height, desc.size); in fixate_video_info()
Dcl_tonemapping_handler.cpp101 desc.width = video_info.aligned_width / 4; in prepare_parameters()
136 int pixel_totalnum = stats_ptr->info.aligned_width * stats_ptr->info.aligned_height; in prepare_parameters()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c50 int aligned_width = (width + 15) & ~15; in vp8_yv12_realloc_frame_buffer() local
52 int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vp8_yv12_realloc_frame_buffer()
54 int uv_width = aligned_width >> 1; in vp8_yv12_realloc_frame_buffer()
78 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer()
147 const int aligned_width = (width + 7) & ~7; in vpx_realloc_frame_buffer() local
149 const int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vpx_realloc_frame_buffer()
152 const int uv_width = aligned_width >> ss_x; in vpx_realloc_frame_buffer()
223 ybf->y_width = aligned_width; in vpx_realloc_frame_buffer()
/external/drm_gralloc/
Dgralloc_drm_intel.c248 int aligned_width, aligned_height, bpp; in alloc_ibo() local
258 aligned_width = handle->width; in alloc_ibo()
261 &aligned_width, &aligned_height); in alloc_ibo()
273 aligned_width = ALIGN(aligned_width, 64); in alloc_ibo()
277 *stride = aligned_width * bpp; in alloc_ibo()
287 aligned_width, aligned_height, in alloc_ibo()
321 aligned_width = ALIGN(aligned_width, 4); in alloc_ibo()
332 aligned_width, aligned_height, in alloc_ibo()
Dgralloc_drm_radeon.c189 int aligned_width, aligned_height; in radeon_alloc() local
203 aligned_width = handle->width; in radeon_alloc()
206 &aligned_width, &aligned_height); in radeon_alloc()
209 aligned_width = ALIGN(aligned_width, in radeon_alloc()
220 pitch = aligned_width * cpp; in radeon_alloc()
Dgralloc_drm_rockchip.c43 int ret, cpp, pitch, aligned_width, aligned_height; in drm_gem_rockchip_alloc() local
58 aligned_width = handle->width; in drm_gem_rockchip_alloc()
61 &aligned_width, &aligned_height); in drm_gem_rockchip_alloc()
64 pitch = ALIGN(aligned_width * cpp, 64); in drm_gem_rockchip_alloc()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c154 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
172 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
176 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size()
180 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
188 stride = aligned_width * cpp; 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
693 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
697 aligned_width = round_up(level_width, utile_w); in reloc_tex()
701 aligned_width = round_up(level_width, utile_w); 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
123 if (aligned_width == 0) in dma_buf_to_xcam_buf()
124 aligned_width = XCAM_ALIGN_UP(width, 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/opencv/cv/src/
Dcvcorner.cpp227 int aligned_width; in icvCornerEigenValsVecs() local
243 aligned_width = cvAlign(size.width, 4); in icvCornerEigenValsVecs()
295 CV_CALL( Dx = cvCreateMat( max_dy, aligned_width, d_depth )); in icvCornerEigenValsVecs()
296 CV_CALL( Dy = cvCreateMat( max_dy, aligned_width, d_depth )); in icvCornerEigenValsVecs()
524 int aligned_width; in cvPreCornerDetect() local
552 aligned_width = cvAlign(size.width, 4); in cvPreCornerDetect()
600 CV_CALL( Dx = cvCreateMat( max_dy, aligned_width, d_depth )); in cvPreCornerDetect()
601 CV_CALL( Dy = cvCreateMat( max_dy, aligned_width, d_depth )); in cvPreCornerDetect()
602 CV_CALL( D2x = cvCreateMat( max_dy, aligned_width, d_depth )); in cvPreCornerDetect()
603 CV_CALL( D2y = cvCreateMat( max_dy, aligned_width, d_depth )); in cvPreCornerDetect()
[all …]
/external/libxcam/modules/soft/
Dsoft_image.h61 uint32_t aligned_width = 0);
234 const uint32_t width, const uint32_t height, uint32_t aligned_width) in SoftImage() argument
238 if (!aligned_width) in SoftImage()
239 aligned_width = width; in SoftImage()
241 XCAM_ASSERT (aligned_width >= width); in SoftImage()
243 _pitch = aligned_width * sizeof (T); in SoftImage()
/external/libxcam/xcore/base/
Dxcam_buffer.h83 uint32_t aligned_width; member
130 uint32_t aligned_width, uint32_t aligned_height, uint32_t size);
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c21 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_set_mb_mi() local
24 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_set_mb_mi()

12