/external/libaom/aom_scale/generic/ |
D | yv12extend.c | 123 const int is_uv = plane > 0; in aom_extend_frame_borders_plane_row_c() local 124 const int top = ext_size >> (is_uv ? ss_y : 0); in aom_extend_frame_borders_plane_row_c() 125 const int left = ext_size >> (is_uv ? ss_x : 0); in aom_extend_frame_borders_plane_row_c() 126 const int bottom = top + ybf->heights[is_uv] - ybf->crop_heights[is_uv]; in aom_extend_frame_borders_plane_row_c() 127 const int right = left + ybf->widths[is_uv] - ybf->crop_widths[is_uv]; in aom_extend_frame_borders_plane_row_c() 129 const int extend_bottom_border = (v_end == ybf->crop_heights[is_uv]); in aom_extend_frame_borders_plane_row_c() 133 extend_plane_high(ybf->buffers[plane], ybf->strides[is_uv], in aom_extend_frame_borders_plane_row_c() 134 ybf->crop_widths[is_uv], ybf->crop_heights[is_uv], in aom_extend_frame_borders_plane_row_c() 141 extend_plane(ybf->buffers[plane], ybf->strides[is_uv], in aom_extend_frame_borders_plane_row_c() 142 ybf->crop_widths[is_uv], ybf->crop_heights[is_uv], in aom_extend_frame_borders_plane_row_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/libaom/test/ |
D | end_to_end_qmpsnr_test.cc | 104 const int is_uv = i > AOM_PLANE_Y; in CalculateFrameLevelSSIM() local 108 img_src->stride[is_uv] >> is_hbd, img_enc->stride[is_uv] >> is_hbd, in CalculateFrameLevelSSIM() 109 crop_widths[is_uv], crop_heights[is_uv], input_bit_depth, shift); in CalculateFrameLevelSSIM() 124 const int is_uv = i > AOM_PLANE_Y; in CalculateFrameLevelSSIM() local 126 img_src->stride[is_uv], img_enc->stride[is_uv], in CalculateFrameLevelSSIM() 127 crop_widths[is_uv], crop_heights[is_uv]); in CalculateFrameLevelSSIM()
|
D | end_to_end_ssim_test.cc | 101 const int is_uv = i > AOM_PLANE_Y; in CalculateFrameLevelSSIM() local 105 img_src->stride[is_uv] >> is_hbd, img_enc->stride[is_uv] >> is_hbd, in CalculateFrameLevelSSIM() 106 crop_widths[is_uv], crop_heights[is_uv], input_bit_depth, shift); in CalculateFrameLevelSSIM() 121 const int is_uv = i > AOM_PLANE_Y; in CalculateFrameLevelSSIM() local 123 img_src->stride[is_uv], img_enc->stride[is_uv], in CalculateFrameLevelSSIM() 124 crop_widths[is_uv], crop_heights[is_uv]); in CalculateFrameLevelSSIM()
|
/external/libaom/aom_dsp/ |
D | ssim.c | 126 const int is_uv = i > 0; in aom_lowbd_calc_ssim() local 128 source->strides[is_uv], dest->strides[is_uv], in aom_lowbd_calc_ssim() 129 source->crop_widths[is_uv], source->crop_heights[is_uv]); in aom_lowbd_calc_ssim() 435 const int is_uv = i > 0; in aom_highbd_calc_ssim() local 437 source->strides[is_uv], dest->strides[is_uv], in aom_highbd_calc_ssim() 438 source->crop_widths[is_uv], in aom_highbd_calc_ssim() 439 source->crop_heights[is_uv], in_bd, shift); in aom_highbd_calc_ssim() 449 const int is_uv = i > 0; in aom_highbd_calc_ssim() local 451 source->strides[is_uv], dest->strides[is_uv], in aom_highbd_calc_ssim() 452 source->crop_widths[is_uv], in aom_highbd_calc_ssim() [all …]
|
/external/libaom/av1/common/arm/ |
D | resize_neon.c | 734 const int is_uv = i > 0; in av1_resize_and_extend_frame_neon() local 735 const int src_w = src->crop_widths[is_uv]; in av1_resize_and_extend_frame_neon() 736 const int src_h = src->crop_heights[is_uv]; in av1_resize_and_extend_frame_neon() 737 const int dst_w = dst->crop_widths[is_uv]; in av1_resize_and_extend_frame_neon() 738 const int dst_h = dst->crop_heights[is_uv]; in av1_resize_and_extend_frame_neon() 744 scale_plane_2_to_1_phase_0(src->buffers[i], src->strides[is_uv], in av1_resize_and_extend_frame_neon() 745 dst->buffers[i], dst->strides[is_uv], dst_w, in av1_resize_and_extend_frame_neon() 750 scale_plane_2_to_1_bilinear(src->buffers[i], src->strides[is_uv], in av1_resize_and_extend_frame_neon() 751 dst->buffers[i], dst->strides[is_uv], dst_w, in av1_resize_and_extend_frame_neon() 765 scale_plane_2_to_1_general(src->buffers[i], src->strides[is_uv], in av1_resize_and_extend_frame_neon() [all …]
|
/external/libaom/av1/common/ |
D | resize.c | 1216 const int is_uv = i > 0; in av1_resize_and_extend_frame_c() local 1217 const int src_w = src->crop_widths[is_uv]; in av1_resize_and_extend_frame_c() 1218 const int src_h = src->crop_heights[is_uv]; in av1_resize_and_extend_frame_c() 1220 const int src_stride = src->strides[is_uv]; in av1_resize_and_extend_frame_c() 1221 const int dst_w = dst->crop_widths[is_uv]; in av1_resize_and_extend_frame_c() 1222 const int dst_h = dst->crop_heights[is_uv]; in av1_resize_and_extend_frame_c() 1224 const int dst_stride = dst->strides[is_uv]; in av1_resize_and_extend_frame_c() 1261 const int is_uv = i > 0; in av1_resize_and_extend_frame_nonnormative() local 1264 av1_highbd_resize_plane(src->buffers[i], src->crop_heights[is_uv], in av1_resize_and_extend_frame_nonnormative() 1265 src->crop_widths[is_uv], src->strides[is_uv], in av1_resize_and_extend_frame_nonnormative() [all …]
|
D | restoration.c | 42 PixelRect 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 PixelRect tile_rect = av1_whole_frame_rect(cm, is_uv); in av1_alloc_restoration_struct() 1135 const int is_uv = plane > 0; in av1_loop_restoration_filter_frame_init() local 1136 const int plane_width = frame->crop_widths[is_uv]; in av1_loop_restoration_filter_frame_init() 1137 const int plane_height = frame->crop_heights[is_uv]; in av1_loop_restoration_filter_frame_init() 1141 frame->strides[is_uv], RESTORATION_BORDER, in av1_loop_restoration_filter_frame_init() 1145 lr_plane_ctxt->ss_x = is_uv && seq_params->subsampling_x; in av1_loop_restoration_filter_frame_init() [all …]
|
D | tile_common.c | 177 int is_uv) { in av1_get_tile_rect() argument 204 const int ss_x = is_uv && cm->seq_params->subsampling_x; in av1_get_tile_rect() 205 const int ss_y = is_uv && cm->seq_params->subsampling_y; in av1_get_tile_rect()
|
D | tile_common.h | 48 const struct AV1Common *cm, int is_uv);
|
D | reconinter.c | 718 const int is_uv = i > 0; in av1_setup_dst_planes() local 719 setup_pred_plane(&pd->dst, bsize, src->buffers[i], src->crop_widths[is_uv], in av1_setup_dst_planes() 720 src->crop_heights[is_uv], src->strides[is_uv], mi_row, in av1_setup_dst_planes() 734 const int is_uv = i > 0; in av1_setup_pre_planes() local 736 src->crop_widths[is_uv], src->crop_heights[is_uv], in av1_setup_pre_planes() 737 src->strides[is_uv], mi_row, mi_col, sf, in av1_setup_pre_planes()
|
D | restoration.h | 363 int is_uv); 476 PixelRect av1_whole_frame_rect(const struct AV1Common *cm, int is_uv);
|
D | thread_common.c | 620 const int is_uv = plane > 0; in enqueue_lr_jobs() local 621 const int ss_y = is_uv && cm->seq_params->subsampling_y; in enqueue_lr_jobs() 924 const int is_uv = plane > 0; in cdef_sb_row_worker_hook() local 929 AOMMIN(v_start + unit_height, ybf->crop_heights[is_uv]); in cdef_sb_row_worker_hook()
|
D | alloccommon.c | 325 const int is_uv = p > 0; in av1_alloc_restoration_buffers() local 326 const int ss_x = is_uv && cm->seq_params->subsampling_x; in av1_alloc_restoration_buffers()
|
/external/libaom/av1/common/x86/ |
D | resize_ssse3.c | 851 const int is_uv = i > 0; in av1_resize_and_extend_frame_ssse3() local 852 const int src_w = src->crop_widths[is_uv]; in av1_resize_and_extend_frame_ssse3() 853 const int src_h = src->crop_heights[is_uv]; in av1_resize_and_extend_frame_ssse3() 855 const int dst_w = dst->crop_widths[is_uv]; in av1_resize_and_extend_frame_ssse3() 856 const int dst_h = dst->crop_heights[is_uv]; in av1_resize_and_extend_frame_ssse3() 863 scale_plane_2_to_1_phase_0(src->buffers[i], src->strides[is_uv], in av1_resize_and_extend_frame_ssse3() 864 dst->buffers[i], dst->strides[is_uv], dst_w, in av1_resize_and_extend_frame_ssse3() 870 scale_plane_2_to_1_bilinear(src->buffers[i], src->strides[is_uv], in av1_resize_and_extend_frame_ssse3() 871 dst->buffers[i], dst->strides[is_uv], dst_w, in av1_resize_and_extend_frame_ssse3() 885 scale_plane_2_to_1_general(src->buffers[i], src->strides[is_uv], in av1_resize_and_extend_frame_ssse3() [all …]
|
/external/libaom/av1/encoder/ |
D | pickrst.c | 180 const int is_uv = plane != AOM_PLANE_Y; in init_rsc() local 181 rsc->plane_width = src->crop_widths[is_uv]; in init_rsc() 182 rsc->plane_height = src->crop_heights[is_uv]; in init_rsc() 184 rsc->src_stride = src->strides[is_uv]; in init_rsc() 186 rsc->dgd_stride = dgd->strides[is_uv]; in init_rsc() 187 rsc->tile_rect = av1_whole_frame_rect(cm, is_uv); in init_rsc() 188 assert(src->crop_widths[is_uv] == dgd->crop_widths[is_uv]); in init_rsc() 189 assert(src->crop_heights[is_uv] == dgd->crop_heights[is_uv]); in init_rsc() 198 const int is_uv = plane > 0; in try_restoration_unit() local 211 is_uv && cm->seq_params->subsampling_x, in try_restoration_unit() [all …]
|
D | encodeframe.c | 205 const int is_uv = i > 0; in av1_setup_src_planes() local 207 &x->plane[i].src, bsize, src->buffers[i], src->crop_widths[is_uv], in av1_setup_src_planes() 208 src->crop_heights[is_uv], src->strides[is_uv], mi_row, mi_col, NULL, in av1_setup_src_planes()
|
/external/libaom/av1/decoder/ |
D | decodeframe.c | 96 const int is_uv = plane > 0; in set_planes_to_neutral_grey() local 100 if (buf->crop_heights[is_uv] > 0) { in set_planes_to_neutral_grey() 101 aom_memset16(base, val, buf->crop_widths[is_uv]); in set_planes_to_neutral_grey() 102 for (int row_idx = 1; row_idx < buf->crop_heights[is_uv]; row_idx++) { in set_planes_to_neutral_grey() 103 memcpy(&base[row_idx * buf->strides[is_uv]], base, in set_planes_to_neutral_grey() 104 sizeof(*base) * buf->crop_widths[is_uv]); in set_planes_to_neutral_grey() 110 const int is_uv = plane > 0; in set_planes_to_neutral_grey() local 111 for (int row_idx = 0; row_idx < buf->crop_heights[is_uv]; row_idx++) { in set_planes_to_neutral_grey() 112 memset(&buf->buffers[plane][row_idx * buf->strides[is_uv]], 1 << 7, in set_planes_to_neutral_grey() 113 buf->crop_widths[is_uv]); in set_planes_to_neutral_grey()
|