Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dyv12extend.c60 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c()
62 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c()
68 ybf->border + ybf->y_width - ybf->y_crop_width); in vp8_yv12_extend_frame_borders_c()
74 (ybf->border + ybf->y_width - ybf->y_crop_width + 1) / 2); in vp8_yv12_extend_frame_borders_c()
80 (ybf->border + ybf->y_width - ybf->y_crop_width + 1) / 2); in vp8_yv12_extend_frame_borders_c()
94 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
96 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
102 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
135 assert(src_ybc->y_width == dst_ybc->y_width); in vp8_yv12_copy_frame_c()
140 vpx_memcpy(dst, src, src_ybc->y_width); in vp8_yv12_copy_frame_c()
[all …]
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.c82 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer()
245 ybf->y_width = aligned_width; in vp9_realloc_frame_buffer()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_iface_common.h21 if (yv12->uv_width == yv12->y_width) { in yuvconfig2image()
35 img->x_chroma_shift = yv12->uv_width < yv12->y_width; in yuvconfig2image()
62 yv12->y_width = img->d_w; in image2yuvconfig()
65 yv12->uv_width = img->x_chroma_shift == 1 ? (1 + yv12->y_width) / 2 in image2yuvconfig()
66 : yv12->y_width; in image2yuvconfig()
81 yv12->alpha_width = yv12->y_width; in image2yuvconfig()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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 const int el_a = dst->border >> (dst->alpha_width != dst->y_width); in vp9_copy_and_extend_frame()
92 src->y_width, src->y_height, in vp9_copy_and_extend_frame()
115 const int er_y = srcx + srcw != src->y_width ? 0 : in vp9_copy_and_extend_frame_with_rect()
116 dst->border + dst->y_width - src->y_width; in vp9_copy_and_extend_frame_with_rect()
Dvp9_lookahead.c99 int mb_cols = (src->y_width + 15) >> 4; in vp9_lookahead_push()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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.c317 post->y_width, q2mbl(q)); in vp8_de_mblock()
319 post->y_width, q2mbl(q)); in vp8_de_mblock()
369 post->y_stride, source->y_width, ylimits, 16); in vp8_deblock()
396 int mb_rows = source->y_width >> 4; in vp8_de_noise()
412 source->y_stride, source->y_stride, source->y_width, limits, 16); in vp8_de_noise()
735 dest->y_width = oci->Width; in vp8_post_proc_frame()
830 oci->post_proc_buffer.y_width, oci->post_proc_buffer.y_height, in vp8_post_proc_frame()
854 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame()
875 y_ptr += post->y_stride * 16 - post->y_width; in vp8_post_proc_frame()
886 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame()
[all …]
Dloopfilter.c386 y_ptr += post_y_stride * 16 - post->y_width; in vp8_loop_filter_frame()
438 y_ptr += post_y_stride * 16 - post->y_width; in vp8_loop_filter_frame()
549 y_ptr += post->y_stride * 16 - post->y_width; in vp8_loop_filter_frame_yonly()
567 int mb_cols = post->y_width >> 4; in vp8_loop_filter_partial_frame()
660 y_ptr += post->y_stride * 16 - post->y_width; in vp8_loop_filter_partial_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c119 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
121 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
127 ext_size + ybf->y_width - ybf->y_crop_width); in extend_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_postproc.c298 source->y_height, source->y_width, ppl); in deblock_and_de_macro_block()
301 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
304 post->y_width, q2mbl(q)); in deblock_and_de_macro_block()
324 const int src_widths[4] = {src->y_width, src->uv_width, src->uv_width, in vp9_deblock()
350 const int src_widths[4] = {src->y_width, src->uv_width, src->uv_width, in vp9_denoise()
643 ppbuf->y_width, ppbuf->y_height, ppbuf->y_stride); in vp9_post_proc_frame()
664 int mb_cols = ppbuf->y_width >> 4; in vp9_post_proc_frame()
683 y_ptr += post->y_stride * 16 - post->y_width; in vp9_post_proc_frame()
691 int mb_cols = ppbuf->y_width >> 4; in vp9_post_proc_frame()
716 y_ptr += post->y_stride * 16 - post->y_width; in vp9_post_proc_frame()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decoder.c81 frame->y_width, 1, yframe); in write_dx_frame_to_file()
181 return a->y_height == b->y_height && a->y_width == b->y_width && in equal_dimensions()
429 sd->y_width = pbi->common.width; in vp9_get_raw_frame()
431 sd->uv_width = sd->y_width >> pbi->common.subsampling_x; in vp9_get_raw_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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()
442 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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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()
Dpicklpf.c83 for (j = 0; j < source->y_width; j += 16) in calc_partial_ssl_err()
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()
3093 if ((lst_yv12->y_width * lst_yv12->y_height) > (320 * 240)) in find_next_key_frame()
3094 kf_boost += 2 * (lst_yv12->y_width * lst_yv12->y_height) / (320 * 240); in find_next_key_frame()
3095 else if ((lst_yv12->y_width * lst_yv12->y_height) < (320 * 240)) in find_next_key_frame()
3096 kf_boost -= 4 * (320 * 240) / (lst_yv12->y_width * lst_yv12->y_height); in find_next_key_frame()
Donyx_if.c1714 (uint32_t)(cm->yv12_fb[cm->lst_fb_idx].y_width) || in vp8_change_config()
1717 cm->yv12_fb[cm->lst_fb_idx].y_width == 0) in vp8_change_config()
2174 lst_yv12->y_width * lst_yv12->y_height; in vp8_remove_compressor()
2196 lst_yv12->y_width * lst_yv12->y_height; in vp8_remove_compressor()
2620 fwrite(src, s->y_width, 1, yuv_file); in vp8_write_yuv_frame()
3017 fwrite(frame->y_buffer + i * frame->y_stride, frame->y_width, 1, yframe);
4851 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()
5310 pp->y_buffer, pp->y_stride, orig->y_width, orig->y_height); in vp8_get_compressed_data()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_cx_iface.c688 yv12->y_width = img->d_w; in image2yuvconfig()
690 yv12->uv_width = (1 + yv12->y_width) / 2; in image2yuvconfig()
1081 ctx->preview_img.d_w = sd.y_width; in vp8e_get_preview()
1086 ctx->preview_img.w = sd.y_width; in vp8e_get_preview()
Dvp8_dx_iface.c296 img->d_w = yv12->y_width; in yuvconfig2image()
716 yv12->y_width = img->d_w; in image2yuvconfig()
718 yv12->uv_width = yv12->y_width / 2; in image2yuvconfig()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/arm/neon/
Dvp8_vpxyv12_copyframe_func_neon.asm57 ble extra_cp_needed ; y_width < 128

12