Home
last modified time | relevance | path

Searched refs:y_buffer (Results 1 – 25 of 86) sorted by relevance

1234

/external/libvpx/libvpx/vp8/encoder/
Dtemporal_filter.c131 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_temporal_filter_find_matching_mb_c()
142 b->base_src = &arf_frame->y_buffer; in vp8_temporal_filter_find_matching_mb_c()
146 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; in vp8_temporal_filter_find_matching_mb_c()
180 x->e_mbd.pre.y_buffer = base_pre; in vp8_temporal_filter_find_matching_mb_c()
206 unsigned char *y_buffer = mbd->pre.y_buffer; in vp8_temporal_filter_iterate_c() local
267 mbd, cpi->frames[frame]->y_buffer + mb_y_offset, in vp8_temporal_filter_iterate_c()
274 vp8_temporal_filter_apply(f->y_buffer + mb_y_offset, f->y_stride, in vp8_temporal_filter_iterate_c()
289 dst1 = cpi->alt_ref_buffer.y_buffer; in vp8_temporal_filter_iterate_c()
343 mbd->pre.y_buffer = y_buffer; in vp8_temporal_filter_iterate_c()
Dencodeintra.c50 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in vp8_encode_intra4x4block()
75 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); in vp8_encode_intra4x4mby()
85 vp8_build_intra_predictors_mby_s(xd, xd->dst.y_buffer - xd->dst.y_stride, in vp8_encode_intra16x16mby()
86 xd->dst.y_buffer - 1, xd->dst.y_stride, in vp8_encode_intra16x16mby()
87 xd->dst.y_buffer, xd->dst.y_stride); in vp8_encode_intra16x16mby()
89 vp8_subtract_mby(x->src_diff, *(b->base_src), b->src_stride, xd->dst.y_buffer, in vp8_encode_intra16x16mby()
Ddenoising.c580 filter_xd->pre.y_buffer = src->y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb()
584 filter_xd->dst.y_buffer = dst->y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb()
592 filter_xd, filter_xd->dst.y_buffer, filter_xd->dst.u_buffer, in vp8_denoiser_denoise_mb()
609 denoiser->yv12_mc_running_avg.y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb()
612 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb()
652 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb()
700 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb()
713 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb()
721 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb()
Dencodeframe.c83 act = vpx_variance16x16(x->src.y_buffer, x->src.y_stride, VP8_VAR_OFFS, 0, in tt_activity_measure()
259 xd->dst.y_buffer = new_yv12->y_buffer + recon_yoffset; in build_activity_map()
264 vp8_copy_mem16x16(x->src.y_buffer, x->src.y_stride, x->thismb, 16); in build_activity_map()
279 x->src.y_buffer += 16; in build_activity_map()
283 x->src.y_buffer += 16 * x->src.y_stride - 16 * cm->mb_cols; in build_activity_map()
287 vp8_extend_mb_row(new_yv12, xd->dst.y_buffer + 16, xd->dst.u_buffer + 8, in build_activity_map()
406 xd->dst.y_buffer = cm->yv12_fb[dst_fb_idx].y_buffer + recon_yoffset; in encode_mb_row()
415 vp8_copy_mem16x16(x->src.y_buffer, x->src.y_stride, x->thismb, 16); in encode_mb_row()
543 x->src.y_buffer += 16; in encode_mb_row()
560 vp8_extend_mb_row(&cm->yv12_fb[dst_fb_idx], xd->dst.y_buffer + 16, in encode_mb_row()
[all …]
Dpicklpf.c50 src_y = src_ybc->y_buffer + yoffset; in yv12_copy_partial_frame()
51 dst_y = dst_ybc->y_buffer + yoffset; in yv12_copy_partial_frame()
61 unsigned char *src = source->y_buffer; in calc_partial_ssl_err()
62 unsigned char *dst = dest->y_buffer; in calc_partial_ssl_err()
/external/libvpx/libvpx/vp8/common/
Dswapyv12buffer.c21 temp = last_frame->y_buffer; in vp8_swap_yv12_buffer()
22 last_frame->y_buffer = new_frame->y_buffer; in vp8_swap_yv12_buffer()
23 new_frame->y_buffer = temp; in vp8_swap_yv12_buffer()
Dpostproc.c56 vpx_mbpost_proc_across_ip(post->y_buffer, post->y_stride, post->y_height, in vp8_de_mblock()
58 vpx_mbpost_proc_down(post->y_buffer, post->y_stride, post->y_height, in vp8_de_mblock()
101 source->y_buffer + 16 * mbr * source->y_stride, in vp8_deblock()
102 post->y_buffer + 16 * mbr * post->y_stride, source->y_stride, in vp8_deblock()
137 source->y_buffer + 16 * mbr * source->y_stride, in vp8_de_noise()
138 source->y_buffer + 16 * mbr * source->y_stride, source->y_stride, in vp8_de_noise()
258 oci->post_proc_buffer.y_buffer, oci->postproc_state.generated_noise, 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()
20 ybf->y_buffer[ybf->y_stride * i - 1] = (unsigned char)129; 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()
Dextend.c72 copy_and_extend_plane(src->y_buffer, src->y_stride, dst->y_buffer, in vp8_copy_and_extend_frame()
108 copy_and_extend_plane(src->y_buffer + src_y_offset, src->y_stride, in vp8_copy_and_extend_frame_with_rect()
109 dst->y_buffer + dst_y_offset, dst->y_stride, srch, srcw, in vp8_copy_and_extend_frame_with_rect()
Dsetupintrarecon.h23 static INLINE void setup_intra_recon_left(unsigned char *y_buffer, in setup_intra_recon_left() argument
29 for (i = 0; i < 16; ++i) y_buffer[y_stride * i] = (unsigned char)129; in setup_intra_recon_left()
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.c197 CONVERT_TO_SHORTPTR(source->y_buffer), in deblock_and_de_macro_block()
198 CONVERT_TO_SHORTPTR(post->y_buffer), source->y_stride, post->y_stride, in deblock_and_de_macro_block()
201 vp9_highbd_mbpost_proc_across_ip(CONVERT_TO_SHORTPTR(post->y_buffer), in deblock_and_de_macro_block()
205 vp9_highbd_mbpost_proc_down(CONVERT_TO_SHORTPTR(post->y_buffer), in deblock_and_de_macro_block()
220 vpx_mbpost_proc_across_ip(post->y_buffer, post->y_stride, post->y_height, in deblock_and_de_macro_block()
222 vpx_mbpost_proc_down(post->y_buffer, post->y_stride, post->y_height, in deblock_and_de_macro_block()
236 const uint8_t *const srcs[3] = { src->y_buffer, src->u_buffer, in vp9_deblock()
244 uint8_t *const dsts[3] = { dst->y_buffer, dst->u_buffer, dst->v_buffer }; in vp9_deblock()
262 src->y_buffer + 16 * mbr * src->y_stride, in vp9_deblock()
263 dst->y_buffer + 16 * mbr * dst->y_stride, src->y_stride, in vp9_deblock()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c148 xd->dst.y_buffer, xd->dst.y_stride); in mt_decode_macroblock()
160 unsigned char *dst = xd->dst.y_buffer + b->offset; in mt_decode_macroblock()
239 vp8_dequant_idct_add_y_block(xd->qcoeff, DQC, xd->dst.y_buffer, in mt_decode_macroblock()
277 ref_buffer[i][0] = this_fb->y_buffer; in mt_decode_mb_rows()
284 dst_buffer[0] = yv12_fb_new->y_buffer; in mt_decode_mb_rows()
399 xd->dst.y_buffer = dst_buffer[0] + recon_yoffset; in mt_decode_mb_rows()
420 xd->pre.y_buffer = ref_buffer[ref][0] + recon_yoffset; in mt_decode_mb_rows()
425 xd->pre.y_buffer = 0; in mt_decode_mb_rows()
461 (xd->dst.y_buffer + 15 * recon_y_stride), 16); in mt_decode_mb_rows()
475 xd->dst.y_buffer[i * recon_y_stride + 15]; in mt_decode_mb_rows()
[all …]
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12extend.c114 extend_plane(ybf->y_buffer, ybf->y_stride, ybf->y_crop_width, in vp8_yv12_extend_frame_borders_c()
148 extend_plane_high(ybf->y_buffer, ybf->y_stride, ybf->y_crop_width, in extend_frame()
159 extend_plane(ybf->y_buffer, ybf->y_stride, ybf->y_crop_width, in extend_frame()
196 const uint8_t *src = src_ybc->y_buffer; in vp8_yv12_copy_frame_c()
197 uint8_t *dst = dst_ybc->y_buffer; in vp8_yv12_copy_frame_c()
238 const uint8_t *src = src_ybc->y_buffer; in vpx_yv12_copy_frame_c()
239 uint8_t *dst = dst_ybc->y_buffer; in vpx_yv12_copy_frame_c()
314 const uint8_t *src = src_ybc->y_buffer; in vpx_yv12_copy_y_c()
315 uint8_t *dst = dst_ybc->y_buffer; in vpx_yv12_copy_y_c()
Dvpx_scale.c484 Scale2D((unsigned char *)src->y_buffer, src->y_stride, src->y_width, in vpx_scale_frame()
485 src->y_height, (unsigned char *)dst->y_buffer, dst->y_stride, dw, dh, in vpx_scale_frame()
490 memset(dst->y_buffer + i * dst->y_stride + dw - 1, in vpx_scale_frame()
491 dst->y_buffer[i * dst->y_stride + dw - 2], dst->y_width - dw + 1); in vpx_scale_frame()
495 memcpy(dst->y_buffer + i * dst->y_stride, in vpx_scale_frame()
496 dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width + 1); in vpx_scale_frame()
/external/libvpx/libvpx/vpx_dsp/
Dpsnr.c183 return get_sse(a->y_buffer, a->y_stride, b->y_buffer, b->y_stride, in vpx_get_y_sse()
195 return highbd_get_sse(a->y_buffer, a->y_stride, b->y_buffer, b->y_stride, in vpx_highbd_get_y_sse()
207 const uint8_t *a_planes[3] = { a->y_buffer, a->u_buffer, a->v_buffer }; in vpx_calc_highbd_psnr()
209 const uint8_t *b_planes[3] = { b->y_buffer, b->u_buffer, b->v_buffer }; in vpx_calc_highbd_psnr()
255 const uint8_t *a_planes[3] = { a->y_buffer, a->u_buffer, a->v_buffer }; in vpx_calc_psnr()
257 const uint8_t *b_planes[3] = { b->y_buffer, b->u_buffer, b->v_buffer }; in vpx_calc_psnr()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h50 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
64 img->planes[VPX_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image()
83 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
118 yv12->y_buffer = CONVERT_TO_BYTEPTR(yv12->y_buffer); in image2yuvconfig()
/external/libaom/libaom/av1/
Dav1_iface_common.h52 img->planes[AOM_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
63 img->planes[AOM_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image()
80 yv12->y_buffer = img->planes[AOM_PLANE_Y]; in image2yuvconfig()
118 yv12->y_buffer = CONVERT_TO_BYTEPTR(yv12->y_buffer); in image2yuvconfig()
/external/libaom/libaom/av1/encoder/
Dextend.c126 highbd_copy_and_extend_plane(src->y_buffer, src->y_stride, dst->y_buffer, in av1_copy_and_extend_frame()
140 copy_and_extend_plane(src->y_buffer, src->y_stride, dst->y_buffer, in av1_copy_and_extend_frame()
177 copy_and_extend_plane(src->y_buffer + src_y_offset, src->y_stride, in av1_copy_and_extend_frame_with_rect()
178 dst->y_buffer + dst_y_offset, dst->y_stride, srcw, srch, in av1_copy_and_extend_frame_with_rect()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c128 highbd_copy_and_extend_plane(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_copy_and_extend_frame()
143 copy_and_extend_plane(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_copy_and_extend_frame()
180 copy_and_extend_plane(src->y_buffer + src_y_offset, src->y_stride, in vp9_copy_and_extend_frame_with_rect()
181 dst->y_buffer + dst_y_offset, dst->y_stride, srcw, srch, in vp9_copy_and_extend_frame_with_rect()
Dvp9_denoiser.c295 block_start(denoiser->running_avg_y[frame].y_buffer, in perform_motion_compensation()
308 denoiser->mc_running_avg_y[denoise_layer_idx].y_buffer, in perform_motion_compensation()
355 uint8_t *avg_start = block_start(avg.y_buffer, avg.y_stride, mi_row, mi_col); in vp9_denoiser_denoise()
358 block_start(mc_avg.y_buffer, mc_avg.y_stride, mi_row, mi_col); in vp9_denoiser_denoise()
443 const uint8_t *srcbuf = src->y_buffer; in copy_frame()
444 uint8_t *destbuf = dest->y_buffer; in copy_frame()
458 uint8_t *tmp_buf = dest->y_buffer; in swap_frame_buffer()
461 dest->y_buffer = src->y_buffer; in swap_frame_buffer()
462 src->y_buffer = tmp_buf; in swap_frame_buffer()
Dvp9_noise_estimate.c79 const uint8_t *srcbuf = src->y_buffer; in copy_frame()
80 uint8_t *destbuf = dest->y_buffer; in copy_frame()
176 const uint8_t *src_y = cpi->Source->y_buffer; in vp9_update_noise_estimate()
178 const uint8_t *last_src_y = last_source->y_buffer; in vp9_update_noise_estimate()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_frame_scale_ssse3.c769 scale_plane_2_to_1_phase_0(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_ssse3()
779 scale_plane_2_to_1_bilinear(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_ssse3()
792 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, dst_w, in vp9_scale_and_extend_frame_ssse3()
811 scale_plane_4_to_1_phase_0(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_ssse3()
821 scale_plane_4_to_1_bilinear(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_ssse3()
836 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, dst_w, in vp9_scale_and_extend_frame_ssse3()
869 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, dst_w, in vp9_scale_and_extend_frame_ssse3()
887 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, src_w, in vp9_scale_and_extend_frame_ssse3()
/external/libvpx/libvpx/test/
Dvpx_scale_test.h46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages()
72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages()
154 ExtendPlane(ref_img_.y_buffer, ref_img_.y_crop_width, in ReferenceExtendBorder()
171 ref_img_.y_buffer[x + y * ref_img_.y_stride] = in ReferenceCopyFrame()
172 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_frame_scale_neon.c724 scale_plane_2_to_1_phase_0(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_neon()
733 scale_plane_2_to_1_bilinear(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_neon()
746 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, dst_w, in vp9_scale_and_extend_frame_neon()
765 scale_plane_4_to_1_phase_0(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_neon()
774 scale_plane_4_to_1_bilinear(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_neon()
787 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, dst_w, in vp9_scale_and_extend_frame_neon()
811 scale_plane_4_to_3_bilinear(src->y_buffer, src->y_stride, dst->y_buffer, in vp9_scale_and_extend_frame_neon()
822 src->y_buffer, src->y_stride, dst->y_buffer, dst->y_stride, dst_w, in vp9_scale_and_extend_frame_neon()
/external/libaom/libaom/aom_dsp/
Dpsnr.c181 return get_sse(a->y_buffer + vstart * a->y_stride + hstart, a->y_stride, in aom_get_y_sse_part()
182 b->y_buffer + vstart * b->y_stride + hstart, b->y_stride, in aom_get_y_sse_part()
191 return get_sse(a->y_buffer, a->y_stride, b->y_buffer, b->y_stride, in aom_get_y_sse()
233 a->y_buffer + vstart * a->y_stride + hstart, a->y_stride, in aom_highbd_get_y_sse_part()
234 b->y_buffer + vstart * b->y_stride + hstart, b->y_stride, width, height); in aom_highbd_get_y_sse_part()
244 return highbd_get_sse(a->y_buffer, a->y_stride, b->y_buffer, b->y_stride, in aom_highbd_get_y_sse()

1234