Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vpx_scale/generic/
Dyv12extend.c63 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c()
65 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c()
71 ybf->border + ybf->y_width - ybf->y_crop_width); in vp8_yv12_extend_frame_borders_c()
90 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
98 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
100 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
106 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
139 assert(src_ybc->y_width == dst_ybc->y_width); in vp8_yv12_copy_frame_c()
144 vpx_memcpy(dst, src, src_ybc->y_width); in vp8_yv12_copy_frame_c()
177 vpx_memcpy(dst, src, src_ybc->y_width); in vpx_yv12_copy_y_c()
Dvpx_scale.c491 int dw = (hscale - 1 + src->y_width * hratio) / hscale; in vpx_scale_frame()
495 Scale2D((unsigned char *) src->y_buffer, src->y_stride, src->y_width, src->y_height, in vpx_scale_frame()
499 if (dw < (int)dst->y_width) in vpx_scale_frame()
501 …er + i * dst->y_stride + dw - 1, dst->y_buffer[i * dst->y_stride + dw - 2], dst->y_width - dw + 1); in vpx_scale_frame()
505 …cpy(dst->y_buffer + i * dst->y_stride, dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width + 1); in vpx_scale_frame()
Dyv12config.c80 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer()
221 ybf->y_width = aligned_width; in vp9_realloc_frame_buffer()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c67 const int eb_y = MAX(ALIGN_POWER_OF_TWO(src->y_width, 6) - src->y_width, in vp9_copy_and_extend_frame()
71 const int uv_width_subsampling = (src->uv_width != src->y_width); in vp9_copy_and_extend_frame()
80 src->y_width, src->y_height, in vp9_copy_and_extend_frame()
103 const int er_y = srcx + srcw != src->y_width ? 0 : in vp9_copy_and_extend_frame_with_rect()
104 dst->border + dst->y_width - src->y_width; in vp9_copy_and_extend_frame_with_rect()
Dvp9_denoiser.c330 assert(dest.y_width == src.y_width); in copy_frame()
334 vpx_memcpy(destbuf, srcbuf, dest.y_width); in copy_frame()
Dvp9_lookahead.c90 int mb_cols = (src->y_width + 15) >> 4; in vp9_lookahead_push()
/external/libvpx/libvpx/vp8/common/
Dextend.c81 int er = dst->border + dst->y_width - src->y_width; in vp8_copy_and_extend_frame()
85 src->y_height, src->y_width, in vp8_copy_and_extend_frame()
113 int er = dst->border + dst->y_width - src->y_width; in vp8_copy_and_extend_frame_with_rect()
126 if (srcx + srcw != src->y_width) in vp8_copy_and_extend_frame_with_rect()
Dsetupintrarecon.c20 vpx_memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon()
36 vpx_memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon_top_line()
Dpostproc.c318 post->y_width, q2mbl(q)); in vp8_de_mblock()
320 post->y_width, q2mbl(q)); in vp8_de_mblock()
370 post->y_stride, source->y_width, ylimits, 16); in vp8_deblock()
414 source->y_stride, source->y_stride, source->y_width, limits, 16); in vp8_de_noise()
737 dest->y_width = oci->Width; in vp8_post_proc_frame()
832 oci->post_proc_buffer.y_width, oci->post_proc_buffer.y_height, in vp8_post_proc_frame()
856 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame()
877 y_ptr += post->y_stride * 16 - post->y_width; in vp8_post_proc_frame()
888 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame()
915 y_ptr += post->y_stride * 16 - post->y_width; in vp8_post_proc_frame()
[all …]
Dloopfilter.c384 y_ptr += post_y_stride * 16 - post->y_width; in vp8_loop_filter_frame()
436 y_ptr += post_y_stride * 16 - post->y_width; in vp8_loop_filter_frame()
547 y_ptr += post->y_stride * 16 - post->y_width; in vp8_loop_filter_frame_yonly()
565 int mb_cols = post->y_width >> 4; in vp8_loop_filter_partial_frame()
658 y_ptr += post->y_stride * 16 - post->y_width; in vp8_loop_filter_partial_frame()
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.c244 source->y_height, source->y_width, ppl); in deblock_and_de_macro_block()
247 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
250 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
268 const int src_widths[3] = {src->y_width, src->uv_width, src->uv_width}; in vp9_deblock()
288 const int src_widths[3] = {src->y_width, src->uv_width, src->uv_width}; in vp9_denoise()
428 ppbuf->y_width, ppbuf->y_height, ppbuf->y_stride); in vp9_post_proc_frame()
434 dest->y_width = cm->width; in vp9_post_proc_frame()
436 dest->uv_width = dest->y_width >> cm->subsampling_x; in vp9_post_proc_frame()
/external/libvpx/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c110 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
118 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
120 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
126 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h64 yv12->y_width = img->d_w; in image2yuvconfig()
67 yv12->uv_width = img->x_chroma_shift == 1 ? (1 + yv12->y_width) / 2 in image2yuvconfig()
68 : yv12->y_width; in image2yuvconfig()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c128 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference()
160 cm->yv12_fb[*ref_fb_ptr].y_width != sd->y_width || in vp8dx_set_reference()
414 sd->y_width = pbi->common.Width; in vp8dx_get_raw_frame()
Dthreading.c588 int lasty = yv12_fb_lst->y_width + VP8BORDERINPIXELS; in mt_decode_mb_rows()
589 int lastuv = (yv12_fb_lst->y_width>>1) + (VP8BORDERINPIXELS>>1); in mt_decode_mb_rows()
877 vpx_memset(pbi->mt_yabove_row[0] + VP8BORDERINPIXELS-1, 127, yv12_fb_new->y_width + 5); in vp8mt_decode_mb_rows()
878 … vpx_memset(pbi->mt_uabove_row[0] + (VP8BORDERINPIXELS>>1)-1, 127, (yv12_fb_new->y_width>>1) +5); in vp8mt_decode_mb_rows()
879 … vpx_memset(pbi->mt_vabove_row[0] + (VP8BORDERINPIXELS>>1)-1, 127, (yv12_fb_new->y_width>>1) +5); in vp8mt_decode_mb_rows()
/external/libvpx/libvpx/vpx_scale/
Dvpx_scale_asm_offsets.c20 DEFINE(yv12_buffer_config_y_width, offsetof(YV12_BUFFER_CONFIG, y_width));
Dyv12config.h28 int y_width; member
/external/libvpx/libvpx/vp8/encoder/
Dssim.c186 source->y_stride, dest->y_stride, source->y_width, in vp8_calc_ssim()
217 source->y_stride, dest->y_stride, source->y_width, in vp8_calc_ssimg()
Dlookahead.c114 int mb_cols = (src->y_width + 15) >> 4; in vp8_lookahead_push()
Dfirstpass.c327 j = source->y_width; in simple_weight()
333 src -= source->y_width; in simple_weight()
337 sum_weights /= (source->y_height * source->y_width); in simple_weight()
3090 if ((lst_yv12->y_width * lst_yv12->y_height) > (320 * 240)) in find_next_key_frame()
3091 kf_boost += 2 * (lst_yv12->y_width * lst_yv12->y_height) / (320 * 240); in find_next_key_frame()
3092 else if ((lst_yv12->y_width * lst_yv12->y_height) < (320 * 240)) in find_next_key_frame()
3093 kf_boost -= 4 * (320 * 240) / (lst_yv12->y_width * lst_yv12->y_height); in find_next_key_frame()
Donyx_if.c1743 cm->yv12_fb[cm->lst_fb_idx].y_width || in vp8_change_config()
1746 cm->yv12_fb[cm->lst_fb_idx].y_width == 0) in vp8_change_config()
2221 lst_yv12->y_width * lst_yv12->y_height; in vp8_remove_compressor()
2243 lst_yv12->y_width * lst_yv12->y_height; in vp8_remove_compressor()
2670 fwrite(src, s->y_width, 1, yuv_file); in vp8_write_yuv_frame()
3064 fwrite(frame->y_buffer + i * frame->y_stride, frame->y_width, 1, yframe);
4879 if (sd->y_width != cpi->oxcf.Width || sd->y_height != cpi->oxcf.Height) in vp8_receive_raw_frame()
5277 int y_samples = orig->y_height * orig->y_width ; in vp8_get_compressed_data()
5283 recon->y_buffer, recon->y_stride, orig->y_width, orig->y_height); in vp8_get_compressed_data()
5311 pp->y_buffer, pp->y_stride, orig->y_width, orig->y_height); in vp8_get_compressed_data()
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c111 return a->y_height == b->y_height && a->y_width == b->y_width && in equal_dimensions()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c262 img->d_w = yv12->y_width; in yuvconfig2image()
576 yv12->y_width = img->d_w; in image2yuvconfig()
578 yv12->uv_width = yv12->y_width / 2; in image2yuvconfig()
Dvp8_cx_iface.c744 yv12->y_width = img->d_w; in image2yuvconfig()
746 yv12->uv_width = (1 + yv12->y_width) / 2; in image2yuvconfig()
1132 ctx->preview_img.d_w = sd.y_width; in vp8e_get_preview()
1137 ctx->preview_img.w = sd.y_width; in vp8e_get_preview()
/external/libvpx/libvpx/test/
Dvpx_scale_test.cc118 ref_img_.y_width, ref_img_.y_height, in ReferenceExtendBorder()

12