/external/libaom/libaom/aom_scale/generic/ |
D | yv12extend.c | 113 const int is_uv = plane > 0; in aom_yv12_extend_frame_borders_c() local 114 const int plane_border = ybf->border >> is_uv; in aom_yv12_extend_frame_borders_c() 116 ybf->buffers[plane], ybf->strides[is_uv], ybf->crop_widths[is_uv], in aom_yv12_extend_frame_borders_c() 117 ybf->crop_heights[is_uv], plane_border, plane_border, in aom_yv12_extend_frame_borders_c() 118 plane_border + ybf->heights[is_uv] - ybf->crop_heights[is_uv], in aom_yv12_extend_frame_borders_c() 119 plane_border + ybf->widths[is_uv] - ybf->crop_widths[is_uv]); in aom_yv12_extend_frame_borders_c() 124 const int is_uv = plane > 0; in aom_yv12_extend_frame_borders_c() local 125 const int plane_border = ybf->border >> is_uv; in aom_yv12_extend_frame_borders_c() 126 extend_plane(ybf->buffers[plane], ybf->strides[is_uv], in aom_yv12_extend_frame_borders_c() 127 ybf->crop_widths[is_uv], ybf->crop_heights[is_uv], in aom_yv12_extend_frame_borders_c() [all …]
|
D | aom_scale.c | 484 const int is_uv = plane > 0; in aom_scale_frame() local 485 const int plane_dw = dw >> is_uv; in aom_scale_frame() 486 const int plane_dh = dh >> is_uv; in aom_scale_frame() 488 Scale2D((unsigned char *)src->buffers[plane], src->strides[is_uv], in aom_scale_frame() 489 src->widths[is_uv], src->heights[is_uv], in aom_scale_frame() 490 (unsigned char *)dst->buffers[plane], dst->strides[is_uv], plane_dw, in aom_scale_frame() 494 if (plane_dw < dst->widths[is_uv]) in aom_scale_frame() 496 memset(dst->buffers[plane] + i * dst->strides[is_uv] + plane_dw - 1, in aom_scale_frame() 497 dst->buffers[plane][i * dst->strides[is_uv] + plane_dw - 2], in aom_scale_frame() 498 dst->widths[is_uv] - plane_dw + 1); in aom_scale_frame() [all …]
|
/external/libxcam/modules/ocl/ |
D | cl_pyramid_blender.h | 92 SmartPtr<CLImage> get_gauss_image (uint32_t layer, uint32_t buf_index, bool is_uv); 93 SmartPtr<CLImage> get_lap_image (uint32_t layer, uint32_t buf_index, bool is_uv); 94 SmartPtr<CLImage> get_blend_image (uint32_t layer, bool is_uv); 95 SmartPtr<CLImage> get_reconstruct_image (uint32_t layer, bool is_uv); 96 SmartPtr<CLImage> get_scale_image (bool is_uv); 97 SmartPtr<CLBuffer> get_blend_mask (uint32_t layer, bool is_uv); 127 void dump_layer_mask (uint32_t layer, bool is_uv); 154 uint32_t layer, bool is_uv, bool need_seam); 191 uint32_t layer, uint32_t buf_index, bool is_uv); 272 uint32_t layer, uint32_t buf_index, bool is_uv); [all …]
|
D | cl_pyramid_blender.cpp | 227 CLPyramidBlender::get_gauss_image (uint32_t layer, uint32_t buf_index, bool is_uv) in get_gauss_image() argument 231 uint32_t plane = (is_uv ? 1 : 0); in get_gauss_image() 236 CLPyramidBlender::get_lap_image (uint32_t layer, uint32_t buf_index, bool is_uv) in get_lap_image() argument 240 uint32_t plane = (is_uv ? 1 : 0); in get_lap_image() 246 CLPyramidBlender::get_blend_image (uint32_t layer, bool is_uv) in get_blend_image() argument 249 uint32_t plane = (is_uv ? 1 : 0); in get_blend_image() 255 CLPyramidBlender::get_reconstruct_image (uint32_t layer, bool is_uv) in get_reconstruct_image() argument 258 uint32_t plane = (is_uv ? 1 : 0); in get_reconstruct_image() 263 CLPyramidBlender::get_scale_image (bool is_uv) in get_scale_image() argument 265 uint32_t plane = (is_uv ? 1 : 0); in get_scale_image() [all …]
|
D | cl_blender.cpp | 26 CLBlenderScaleKernel::CLBlenderScaleKernel (const SmartPtr<CLContext> &context, bool is_uv) in CLBlenderScaleKernel() argument 28 , _is_uv (is_uv) in CLBlenderScaleKernel()
|
D | cl_image_360_stitch.cpp | 38 const SmartPtr<CLContext> &context, SmartPtr<CLImage360Stitch> &stitch, bool is_uv) in CLBlenderGlobalScaleKernel() argument 39 : CLBlenderScaleKernel (context, is_uv) in CLBlenderGlobalScaleKernel() 837 bool is_uv) in create_blender_global_scale_kernel() argument 840 snprintf (transform_option, sizeof(transform_option), "-DPYRAMID_UV=%d", is_uv ? 1 : 0); in create_blender_global_scale_kernel() 849 kernel = new CLBlenderGlobalScaleKernel (context, stitch, is_uv); in create_blender_global_scale_kernel() 855 "load blender global scaling kernel(%s) failed", is_uv ? "UV" : "Y"); in create_blender_global_scale_kernel()
|
D | cl_blender.h | 50 explicit CLBlenderScaleKernel (const SmartPtr<CLContext> &context, bool is_uv);
|
D | cl_image_360_stitch.h | 50 const SmartPtr<CLContext> &context, SmartPtr<CLImage360Stitch> &stitch, bool is_uv);
|
/external/libaom/libaom/av1/common/ |
D | restoration.c | 42 AV1PixelRect av1_whole_frame_rect(const AV1_COMMON *cm, int is_uv) { in av1_whole_frame_rect() argument 45 int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_whole_frame_rect() 46 int ss_y = is_uv && cm->seq_params.subsampling_y; in av1_whole_frame_rect() 67 int is_uv) { in av1_alloc_restoration_struct() argument 73 const AV1PixelRect tile_rect = av1_whole_frame_rect(cm, is_uv); in av1_alloc_restoration_struct() 1118 const int is_uv = plane > 0; in av1_loop_restoration_filter_frame_init() local 1119 const int plane_width = frame->crop_widths[is_uv]; in av1_loop_restoration_filter_frame_init() 1120 const int plane_height = frame->crop_heights[is_uv]; in av1_loop_restoration_filter_frame_init() 1124 frame->strides[is_uv], RESTORATION_BORDER, RESTORATION_BORDER, in av1_loop_restoration_filter_frame_init() 1128 lr_plane_ctxt->ss_x = is_uv && seq_params->subsampling_x; in av1_loop_restoration_filter_frame_init() [all …]
|
D | resize.c | 1195 const int is_uv = i > 0; in av1_resize_and_extend_frame() local 1197 av1_highbd_resize_plane(src->buffers[i], src->crop_heights[is_uv], in av1_resize_and_extend_frame() 1198 src->crop_widths[is_uv], src->strides[is_uv], in av1_resize_and_extend_frame() 1199 dst->buffers[i], dst->crop_heights[is_uv], in av1_resize_and_extend_frame() 1200 dst->crop_widths[is_uv], dst->strides[is_uv], bd); in av1_resize_and_extend_frame() 1202 av1_resize_plane(src->buffers[i], src->crop_heights[is_uv], in av1_resize_and_extend_frame() 1203 src->crop_widths[is_uv], src->strides[is_uv], in av1_resize_and_extend_frame() 1204 dst->buffers[i], dst->crop_heights[is_uv], in av1_resize_and_extend_frame() 1205 dst->crop_widths[is_uv], dst->strides[is_uv]); in av1_resize_and_extend_frame() 1213 const int is_uv = (plane > 0); in av1_upscale_normative_rows() local [all …]
|
D | tile_common.c | 162 int is_uv) { in av1_get_tile_rect() argument 189 const int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_get_tile_rect() 190 const int ss_y = is_uv && cm->seq_params.subsampling_y; in av1_get_tile_rect()
|
D | tile_common.h | 49 const struct AV1Common *cm, int is_uv);
|
D | reconinter.c | 684 const int is_uv = i > 0; in av1_setup_dst_planes() local 685 setup_pred_plane(&pd->dst, bsize, src->buffers[i], src->crop_widths[is_uv], in av1_setup_dst_planes() 686 src->crop_heights[is_uv], src->strides[is_uv], mi_row, in av1_setup_dst_planes() 700 const int is_uv = i > 0; in av1_setup_pre_planes() local 702 src->crop_widths[is_uv], src->crop_heights[is_uv], in av1_setup_pre_planes() 703 src->strides[is_uv], mi_row, mi_col, sf, in av1_setup_pre_planes()
|
D | restoration.h | 286 int is_uv); 370 AV1PixelRect av1_whole_frame_rect(const struct AV1Common *cm, int is_uv);
|
D | alloccommon.c | 145 const int is_uv = p > 0; in av1_alloc_restoration_buffers() local 146 const int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_alloc_restoration_buffers()
|
D | av1_loopfilter.c | 1485 const int is_uv = plane > 0; in av1_build_bitmask_vert_info() local 1519 if (is_uv && ts == TX_64X64) continue; in av1_build_bitmask_vert_info() 1520 if (lfm->tx_size_ver[is_uv][ts].bits[index] & mask) { in av1_build_bitmask_vert_info() 1564 const int is_uv = plane > 0; in av1_build_bitmask_horz_info() local 1598 if (is_uv && ts == TX_64X64) continue; in av1_build_bitmask_horz_info() 1599 if (lfm->tx_size_hor[is_uv][ts].bits[index] & mask) { in av1_build_bitmask_horz_info()
|
D | thread_common.c | 712 const int is_uv = plane > 0; in enqueue_lr_jobs() local 713 const int ss_y = is_uv && cm->seq_params.subsampling_y; in enqueue_lr_jobs()
|
/external/libaom/libaom/aom_dsp/ |
D | ssim.c | 170 const int is_uv = i > 0; in aom_calc_ssim() local 172 source->strides[is_uv], dest->strides[is_uv], in aom_calc_ssim() 173 source->crop_widths[is_uv], source->crop_heights[is_uv]); in aom_calc_ssim() 430 const int is_uv = i > 0; in aom_highbd_calc_ssim() local 432 source->strides[is_uv], dest->strides[is_uv], in aom_highbd_calc_ssim() 433 source->crop_widths[is_uv], in aom_highbd_calc_ssim() 434 source->crop_heights[is_uv], in_bd, shift); in aom_highbd_calc_ssim()
|
/external/libaom/libaom/av1/encoder/ |
D | pickrst.c | 144 const int is_uv = plane != AOM_PLANE_Y; in init_rsc() local 145 rsc->plane_width = src->crop_widths[is_uv]; in init_rsc() 146 rsc->plane_height = src->crop_heights[is_uv]; in init_rsc() 148 rsc->src_stride = src->strides[is_uv]; in init_rsc() 150 rsc->dgd_stride = dgd->strides[is_uv]; in init_rsc() 151 rsc->tile_rect = av1_whole_frame_rect(cm, is_uv); in init_rsc() 152 assert(src->crop_widths[is_uv] == dgd->crop_widths[is_uv]); in init_rsc() 153 assert(src->crop_heights[is_uv] == dgd->crop_heights[is_uv]); in init_rsc() 162 const int is_uv = plane > 0; in try_restoration_unit() local 175 is_uv && cm->seq_params.subsampling_x, in try_restoration_unit() [all …]
|
D | encodeframe.c | 461 const int is_uv = i > 0; in av1_setup_src_planes() local 463 &x->plane[i].src, bsize, src->buffers[i], src->crop_widths[is_uv], in av1_setup_src_planes() 464 src->crop_heights[is_uv], src->strides[is_uv], mi_row, mi_col, NULL, in av1_setup_src_planes()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 97 const int is_uv = plane > 0; in set_planes_to_neutral_grey() local 101 if (buf->crop_heights[is_uv] > 0) { in set_planes_to_neutral_grey() 102 aom_memset16(base, val, buf->crop_widths[is_uv]); in set_planes_to_neutral_grey() 103 for (int row_idx = 1; row_idx < buf->crop_heights[is_uv]; row_idx++) { in set_planes_to_neutral_grey() 104 memcpy(&base[row_idx * buf->strides[is_uv]], base, in set_planes_to_neutral_grey() 105 sizeof(*base) * buf->crop_widths[is_uv]); in set_planes_to_neutral_grey() 111 const int is_uv = plane > 0; in set_planes_to_neutral_grey() local 112 for (int row_idx = 0; row_idx < buf->crop_heights[is_uv]; row_idx++) { in set_planes_to_neutral_grey() 114 buf->crop_widths[is_uv]); in set_planes_to_neutral_grey()
|