Home
last modified time | relevance | path

Searched refs:y_width (Results 1 – 25 of 64) sorted by relevance

123

/external/libvpx/vpx_scale/generic/
Dyv12extend.c110 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c()
112 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c()
117 ybf->border + ybf->y_width - ybf->y_crop_width); in vp8_yv12_extend_frame_borders_c()
134 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
142 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
144 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
151 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
162 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
203 assert(src_ybc->y_width == dst_ybc->y_width); in vp8_yv12_copy_frame_c()
208 memcpy(dst, src, src_ybc->y_width); in vp8_yv12_copy_frame_c()
[all …]
Dvpx_scale.c480 int dw = (hscale - 1 + src->y_width * hratio) / hscale; in vpx_scale_frame()
484 Scale2D((unsigned char *)src->y_buffer, src->y_stride, src->y_width, in vpx_scale_frame()
488 if (dw < (int)dst->y_width) in vpx_scale_frame()
491 dst->y_buffer[i * dst->y_stride + dw - 2], dst->y_width - dw + 1); in vpx_scale_frame()
496 dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width + 1); in vpx_scale_frame()
/external/libyuv/fuzz/
Dmjpeg_dec_fuzz.cc58 int y_width = decoder.GetComponentWidth(0); in Decode() local
76 if (IsEqual(y_width, u_width, v_width) && in Decode()
83 } else if (IsEqual((y_width + 1) / 2, u_width, v_width) && in Decode()
90 } else if (IsEqual((y_width + 1) / 2, u_width, v_width) && in Decode()
/external/libvpx/vp8/common/
Dextend.c80 int er = dst->border + dst->y_width - src->y_width; in vp8_copy_and_extend_frame()
86 dst->y_stride, src->y_height, src->y_width, et, el, eb, in vp8_copy_and_extend_frame()
109 int er = dst->border + dst->y_width - src->y_width; in vp8_copy_and_extend_frame_with_rect()
121 if (srcx + srcw != src->y_width) er = 0; in vp8_copy_and_extend_frame_with_rect()
Dpostproc.c57 post->y_width, q2mbl(q)); in vp8_de_mblock()
59 post->y_width, q2mbl(q)); in vp8_de_mblock()
100 post->y_stride, source->y_width, ylimits, 16); in vp8_deblock()
132 source->y_stride, source->y_width, limits, 16); in vp8_de_noise()
163 dest->y_width = oci->Width; in vp8_post_proc_frame()
252 oci->post_proc_buffer.y_width, oci->post_proc_buffer.y_height, in vp8_post_proc_frame()
259 dest->y_width = oci->Width; in vp8_post_proc_frame()
Dsetupintrarecon.c18 memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon()
35 memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon_top_line()
Dvp8_loopfilter.c335 y_ptr += post_y_stride * 16 - post->y_width; in vp8_loop_filter_frame()
375 y_ptr += post_y_stride * 16 - post->y_width; in vp8_loop_filter_frame()
469 y_ptr += post->y_stride * 16 - post->y_width; in vp8_loop_filter_frame_yonly()
481 int mb_cols = post->y_width >> 4; in vp8_loop_filter_partial_frame()
563 y_ptr += post->y_stride * 16 - post->y_width; in vp8_loop_filter_partial_frame()
/external/libaom/aom_dsp/
Dvmaf.c48 const int width = src->y_width; in copy_picture()
133 if (vmaf_picture_alloc(&ref, VMAF_PIX_FMT_YUV420P, bit_depth, source->y_width, in aom_calc_vmaf()
136 source->y_width, source->y_height)) { in aom_calc_vmaf()
162 if (vmaf_picture_alloc(&ref, VMAF_PIX_FMT_YUV420P, bit_depth, source->y_width, in aom_read_vmaf_image()
165 source->y_width, source->y_height)) { in aom_read_vmaf_image()
/external/libaom/aom_scale/generic/
Dyv12extend.c119 assert(ybf->y_width - ybf->y_crop_width < 16); in aom_extend_frame_borders_plane_row_c()
121 assert(ybf->y_width - ybf->y_crop_width >= 0); in aom_extend_frame_borders_plane_row_c()
151 assert(ybf->y_width - ybf->y_crop_width < 16); in aom_yv12_extend_frame_borders_c()
153 assert(ybf->y_width - ybf->y_crop_width >= 0); in aom_yv12_extend_frame_borders_c()
189 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
191 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
236 assert(ybf->y_width - ybf->y_crop_width < 16); in aom_extend_frame_borders_y_c()
238 assert(ybf->y_width - ybf->y_crop_width >= 0); in aom_extend_frame_borders_y_c()
244 ext_size + ybf->y_width - ybf->y_crop_width, 0, ybf->y_crop_height); in aom_extend_frame_borders_y_c()
251 ext_size + ybf->y_width - ybf->y_crop_width, 0, ybf->y_crop_height); in aom_extend_frame_borders_y_c()
[all …]
/external/libvpx/vp9/common/
Dvp9_postproc.c200 source->y_height, source->y_width, ppl); in deblock_and_de_macro_block()
204 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
207 post->y_stride, post->y_height, post->y_width, in deblock_and_de_macro_block()
222 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
224 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
241 const int src_widths[3] = { src->y_width, src->uv_width, src->uv_width }; in vp9_deblock()
264 dst->y_stride, src->y_width, limits, 16); in vp9_deblock()
420 ppstate->clamp, ppstate->clamp, ppbuf->y_width, in vp9_post_proc_frame()
427 dest->y_width = cm->width; in vp9_post_proc_frame()
429 dest->uv_width = dest->y_width >> cm->subsampling_x; in vp9_post_proc_frame()
/external/libaom/av1/encoder/
Dtune_vmaf.c110 for (col = 0; col < frame->y_width / block_w; ++col) { in frame_average_variance()
134 const int frame_width = src->y_width; in residual_frame_average_variance()
237 dst->y_stride, source->y_width, source->y_height, in unsharp()
242 source->y_width, source->y_height, amount); in unsharp()
256 const int num_cols = (source->y_width + block_w - 1) / block_w; in gaussian_blur()
337 const int width = source->y_width; in find_best_frame_unsharp_amount()
380 const int width = source->y_width; in av1_vmaf_neg_preprocessing()
407 const int width = source->y_width; in av1_vmaf_frame_preprocessing()
445 const int width = source->y_width; in av1_vmaf_blk_preprocessing()
481 const int num_cols = (source->y_width + block_w - 1) / block_w; in av1_vmaf_blk_preprocessing()
[all …]
Dav1_temporal_denoiser.c351 cpi->source->y_width, cpi->ppi->rtc_ref.ref_idx[0], in av1_denoiser_denoise()
379 assert(dest->y_width == src->y_width); in copy_frame()
383 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
392 assert(dest->y_width == src->y_width); in swap_frame_buffer()
785 fwrite(src, s->y_width, 1, yuv_file); in aom_write_yuv_frame()
Dav1_noise_estimate.c87 assert(dest->y_width == src->y_width); in copy_frame()
91 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
Dglobal_motion_facade.c92 int src_width = cpi->source->y_width; in compute_global_motion_for_ref_frame()
163 ref_buf[frame]->y_buffer, ref_buf[frame]->y_width, in compute_global_motion_for_ref_frame()
426 (source->y_width + WARP_ERROR_BLOCK) >> WARP_ERROR_BLOCK_LOG; in setup_global_motion_info_params()
453 gm_info->src_buffer, source->y_width, source->y_height, in setup_global_motion_info_params()
/external/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c106 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
114 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
116 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
121 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
/external/libvpx/vp9/encoder/
Dvp9_extend.c122 VPXMAX(src->y_width + 16, ALIGN_POWER_OF_TWO(src->y_width, 6)) - in vp9_copy_and_extend_frame()
127 const int uv_width_subsampling = (src->uv_width != src->y_width); in vp9_copy_and_extend_frame()
175 const int er_y = srcx + srcw != src->y_width in vp9_copy_and_extend_frame_with_rect()
177 : dst->border + dst->y_width - src->y_width; in vp9_copy_and_extend_frame_with_rect()
Dvp9_noise_estimate.c83 assert(dest->y_width == src->y_width); in copy_frame()
87 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
/external/libvpx/test/
Dnon_greedy_mv_test.cc95 &(ref_frame_ptr->y_width)); in load_frame_info()
98 (ref_frame_ptr->y_width) * (ref_frame_ptr->y_height) * sizeof(data_type)); in load_frame_info()
100 for (idx = 0; idx < (ref_frame_ptr->y_width) * (ref_frame_ptr->y_height); in load_frame_info()
107 ref_frame_ptr->y_stride = ref_frame_ptr->y_width; in load_frame_info()
Dvp9_scale_test.cc123 assert(ref_img_.y_width == dst_img_.y_width); in PrintDiff()
132 ref_img_.y_stride, ref_img_.y_width, ref_img_.y_height, in PrintDiff()
/external/libvpx/vp9/
Dvp9_iface_common.c88 yv12->y_width = img->d_w; in image2yuvconfig()
92 ? (1 + yv12->y_width) / 2 in image2yuvconfig()
93 : yv12->y_width; in image2yuvconfig()
/external/libvpx/vp8/decoder/
Donyxd_if.c142 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference()
173 cm->yv12_fb[*ref_fb_ptr].y_width != sd->y_width || in vp8dx_set_reference()
398 sd->y_width = pbi->common.Width; in vp8dx_get_raw_frame()
/external/libaom/av1/
Dav1_iface_common.h49 img->w = yv12->y_width; in yuvconfig2image()
96 yv12->y_width = img->w; in image2yuvconfig()
99 yv12->uv_width = (yv12->y_width + img->x_chroma_shift) >> img->x_chroma_shift; in image2yuvconfig()
/external/webrtc/media/base/
Dfake_video_renderer.cc34 int y_width = frame.width(); in CheckFrameColorYuv() local
40 for (int j = 0; j < y_width; ++j) { in CheckFrameColorYuv()
/external/libaom/av1/decoder/
Ddecoder.c251 return a->y_height == b->y_height && a->y_width == b->y_width && in equal_dimensions()
276 return a->y_height == b->y_height && a->y_width == b->y_width && in equal_dimensions_and_border()
/external/libvpx/vpx_util/
Dvpx_write_yuv_frame.c22 fwrite(src, s->y_width, 1, yuv_file); in vpx_write_yuv_frame()

123