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.c112 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c()
114 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c()
123 ybf->border + ybf->y_width - ybf->y_crop_width); in vp8_yv12_extend_frame_borders_c()
145 ybf->border + ybf->y_width - ybf->y_crop_width); in vp8_yv12_extend_frame_borders_c()
164 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
172 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
174 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
182 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
194 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
235 assert(src_ybc->y_width == dst_ybc->y_width); in vp8_yv12_copy_frame_c()
[all …]
Dvpx_scale.c492 int dw = (hscale - 1 + src->y_width * hratio) / hscale; in vpx_scale_frame()
496 Scale2D((unsigned char *) src->y_buffer, src->y_stride, src->y_width, src->y_height, in vpx_scale_frame()
500 if (dw < (int)dst->y_width) in vpx_scale_frame()
502 …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()
506 …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()
236 ybf->y_width = aligned_width; in vpx_realloc_frame_buffer()
/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 memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon()
36 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()
742 dest->y_width = oci->Width; in vp8_post_proc_frame()
837 oci->post_proc_buffer.y_width, oci->post_proc_buffer.y_height, in vp8_post_proc_frame()
861 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame()
882 y_ptr += post->y_stride * 16 - post->y_width; in vp8_post_proc_frame()
893 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame()
920 y_ptr += post->y_stride * 16 - post->y_width; in vp8_post_proc_frame()
[all …]
Dvp8_loopfilter.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/encoder/
Dvp9_extend.c116 VPXMAX(src->y_width + 16, ALIGN_POWER_OF_TWO(src->y_width, 6)) - in vp9_copy_and_extend_frame()
121 const int uv_width_subsampling = (src->uv_width != src->y_width); in vp9_copy_and_extend_frame()
173 const int er_y = srcx + srcw != src->y_width ? 0 : in vp9_copy_and_extend_frame_with_rect()
174 dst->border + dst->y_width - src->y_width; in vp9_copy_and_extend_frame_with_rect()
Dvp9_lookahead.c102 int mb_cols = (src->y_width + 15) >> 4; in vp9_lookahead_push()
121 larger_dimensions = width > buf->img.y_width || in vp9_lookahead_push()
Dvp9_denoiser.c376 assert(dest->y_width == src->y_width); in copy_frame()
380 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
389 assert(dest->y_width == src->y_width); in swap_frame_buffer()
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.c395 source->y_height, source->y_width, in deblock_and_de_macro_block()
400 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
404 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
419 source->y_height, source->y_width, ppl); in deblock_and_de_macro_block()
422 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
425 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
437 source->y_height, source->y_width, ppl); in deblock_and_de_macro_block()
440 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
443 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
462 const int src_widths[3] = {src->y_width, src->uv_width, src->uv_width}; in vp9_deblock()
[all …]
Dvp9_reconintra.c145 frame_width = xd->cur_buf->y_width; in build_intra_predictors_high()
268 frame_width = xd->cur_buf->y_width; in build_intra_predictors()
/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.h91 yv12->y_width = img->d_w; in image2yuvconfig()
94 yv12->uv_width = img->x_chroma_shift == 1 ? (1 + yv12->y_width) / 2 in image2yuvconfig()
95 : yv12->y_width; in image2yuvconfig()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c145 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference()
177 cm->yv12_fb[*ref_fb_ptr].y_width != sd->y_width || in vp8dx_set_reference()
434 sd->y_width = pbi->common.Width; in vp8dx_get_raw_frame()
Dthreading.c591 int lasty = yv12_fb_lst->y_width + VP8BORDERINPIXELS; in mt_decode_mb_rows()
592 int lastuv = (yv12_fb_lst->y_width>>1) + (VP8BORDERINPIXELS>>1); in mt_decode_mb_rows()
880 memset(pbi->mt_yabove_row[0] + VP8BORDERINPIXELS-1, 127, yv12_fb_new->y_width + 5); in vp8mt_decode_mb_rows()
881 memset(pbi->mt_uabove_row[0] + (VP8BORDERINPIXELS>>1)-1, 127, (yv12_fb_new->y_width>>1) +5); in vp8mt_decode_mb_rows()
882 memset(pbi->mt_vabove_row[0] + (VP8BORDERINPIXELS>>1)-1, 127, (yv12_fb_new->y_width>>1) +5); in vp8mt_decode_mb_rows()
/external/webrtc/talk/media/base/
Dfakevideorenderer.h120 size_t y_width = frame->GetWidth(); in CheckFrameColorYuv() local
126 for (size_t j = 0; j < y_width; ++j) { in CheckFrameColorYuv()
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h30 int y_width; member
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DSurfaceTextureHelper.java233 int y_width = (width+3) / 4;
266 GLES20.glViewport(0, 0, y_width, height);
/external/libvpx/libvpx/vp8/encoder/
Dlookahead.c114 int mb_cols = (src->y_width + 15) >> 4; in vp8_lookahead_push()
Donyx_if.c1763 cm->yv12_fb[cm->lst_fb_idx].y_width || in vp8_change_config()
1766 cm->yv12_fb[cm->lst_fb_idx].y_width == 0) in vp8_change_config()
2695 fwrite(src, s->y_width, 1, yuv_file); in vp8_write_yuv_frame()
3089 fwrite(frame->y_buffer + i * frame->y_stride, frame->y_width, 1, yframe);
3330 int tot_num_blocks = (source->y_height * source->y_width) >> 8; in measure_square_diff_partial()
3341 for (j = 0; j < source->y_width; j += 16 * skip) in measure_square_diff_partial()
5223 if (sd->y_width != cpi->oxcf.Width || sd->y_height != cpi->oxcf.Height) in vp8_receive_raw_frame()
5644 unsigned int y_width = cpi->common.Width; in vp8_get_compressed_data() local
5646 unsigned int uv_width = (y_width + 1) / 2; in vp8_get_compressed_data()
5648 int y_samples = y_height * y_width; in vp8_get_compressed_data()
[all …]
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()
3091 if ((lst_yv12->y_width * lst_yv12->y_height) > (320 * 240)) in find_next_key_frame()
3092 kf_boost += 2 * (lst_yv12->y_width * lst_yv12->y_height) / (320 * 240); in find_next_key_frame()
3093 else if ((lst_yv12->y_width * lst_yv12->y_height) < (320 * 240)) in find_next_key_frame()
3094 kf_boost -= 4 * (320 * 240) / (lst_yv12->y_width * lst_yv12->y_height); in find_next_key_frame()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c151 return a->y_height == b->y_height && a->y_width == b->y_width && in equal_dimensions()
/external/libvpx/libvpx/test/
Dvpx_scale_test.cc117 ref_img_.y_width, ref_img_.y_height, in ReferenceExtendBorder()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c249 img->d_w = img->r_w = yv12->y_width; in yuvconfig2image()
569 yv12->y_width = y_w; in image2yuvconfig()

12