Home
last modified time | relevance | path

Searched refs:u_buffer (Results 1 – 25 of 46) sorted by relevance

12

/external/libvpx/libvpx/vp8/common/
Dswapyv12buffer.c26 temp = last_frame->u_buffer; in vp8_swap_yv12_buffer()
27 last_frame->u_buffer = new_frame->u_buffer; in vp8_swap_yv12_buffer()
28 new_frame->u_buffer = temp; in vp8_swap_yv12_buffer()
Dsetupintrarecon.c24 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
26 ybf->u_buffer[ybf->uv_stride *i - 1] = (unsigned char) 129; in vp8_setup_intra_recon()
37 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon_top_line()
Dsetupintrarecon.h24 unsigned char *u_buffer, in setup_intra_recon_left() argument
35 u_buffer[uv_stride *i] = (unsigned char) 129; in setup_intra_recon_left()
Dextend.c93 copy_and_extend_plane(src->u_buffer, src->uv_stride, in vp8_copy_and_extend_frame()
94 dst->u_buffer, dst->uv_stride, in vp8_copy_and_extend_frame()
143 copy_and_extend_plane(src->u_buffer + src_uv_offset, in vp8_copy_and_extend_frame_with_rect()
145 dst->u_buffer + dst_uv_offset, in vp8_copy_and_extend_frame_with_rect()
Dreconinter.c184 uptr = x->pre.u_buffer + offset; in vp8_build_inter16x16_predictors_mbuv()
239 base_pre = x->pre.u_buffer; in vp8_build_inter4x4_predictors_mbuv()
377 uptr = x->pre.u_buffer + offset; in vp8_build_inter16x16_predictors_mb()
451 base_dst = x->dst.u_buffer; in build_inter4x4_predictors_mb()
452 base_pre = x->pre.u_buffer; in build_inter4x4_predictors_mb()
536 xd->dst.u_buffer, xd->dst.v_buffer, in vp8_build_inter_predictors_mb()
/external/libvpx/libvpx/vp8/encoder/
Dencodeintra.c122 vp8_build_intra_predictors_mbuv_s(xd, xd->dst.u_buffer - xd->dst.uv_stride, in vp8_encode_intra16x16mbuv()
124 xd->dst.u_buffer - 1, in vp8_encode_intra16x16mbuv()
127 xd->dst.u_buffer, xd->dst.v_buffer, in vp8_encode_intra16x16mbuv()
130 vp8_subtract_mbuv(x->src_diff, x->src.u_buffer, in vp8_encode_intra16x16mbuv()
131 x->src.v_buffer, x->src.uv_stride, xd->dst.u_buffer, in vp8_encode_intra16x16mbuv()
Dtemporal_filter.c250 unsigned char *u_buffer = mbd->pre.u_buffer; in vp8_temporal_filter_iterate_c() local
326 cpi->frames[frame]->u_buffer + mb_uv_offset, in vp8_temporal_filter_iterate_c()
345 (f->u_buffer + mb_uv_offset, in vp8_temporal_filter_iterate_c()
387 dst1 = cpi->alt_ref_buffer.u_buffer; in vp8_temporal_filter_iterate_c()
426 mbd->pre.u_buffer = u_buffer; in vp8_temporal_filter_iterate_c()
Ddenoising.c574 filter_xd->pre.u_buffer = src->u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
578 filter_xd->dst.u_buffer = dst->u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
589 filter_xd->dst.u_buffer, in vp8_denoiser_denoise_mb()
644 denoiser->yv12_mc_running_avg.u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
646 denoiser->yv12_running_avg[INTRA_FRAME].u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
682 denoiser->yv12_running_avg[INTRA_FRAME].u_buffer + recon_uvoffset, in vp8_denoiser_denoise_mb()
Dencodeframe.c322 xd->dst.u_buffer + 8, xd->dst.v_buffer + 8); in build_activity_map()
453 xd->dst.u_buffer = cm->yv12_fb[dst_fb_idx].u_buffer + recon_uvoffset; in encode_mb_row()
596 x->src.u_buffer += 8; in encode_mb_row()
614 xd->dst.u_buffer + 8, in encode_mb_row()
855 … x->src.u_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in vp8_encode_frame()
948 x->src.u_buffer += 8 * x->src.uv_stride - 8 * cm->mb_cols; in vp8_encode_frame()
1110 this_block->base_src = &x->src.u_buffer; in vp8_build_block_offsets()
1220 xd->dst.u_buffer, xd->dst.v_buffer, in vp8cx_encode_intra_macroblock()
1383 xd->pre.u_buffer = cpi->common.yv12_fb[ref_fb_idx].u_buffer + recon_uvoffset; in vp8cx_encode_inter_macroblock()
1392 xd->dst.u_buffer, xd->dst.v_buffer, in vp8cx_encode_inter_macroblock()
[all …]
Dethreading.c149 xd->dst.u_buffer = cm->yv12_fb[dst_fb_idx].u_buffer + recon_uvoffset; in thread_encoding_proc()
279 x->src.u_buffer += 8; in thread_encoding_proc()
296 xd->dst.u_buffer + 8, in thread_encoding_proc()
306 … x->src.u_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in thread_encoding_proc()
486 mb->src.u_buffer += 8 * x->src.uv_stride * (i + 1); in vp8cx_init_mbrthread_data()
Dpickinter.c349 unsigned char *uabove_row = x->dst.u_buffer - x->dst.uv_stride; in pick_intra_mbuv_mode()
371 uleft_col[i] = x->dst.u_buffer [i* x->dst.uv_stride -1]; in pick_intra_mbuv_mode()
746 cpi->denoiser.yv12_running_avg[LAST_FRAME].u_buffer + in vp8_pick_inter_mode()
822 const int cb = (x->src.u_buffer[3 * x->src.uv_stride + 3] + in vp8_pick_inter_mode()
823 x->src.u_buffer[3 * x->src.uv_stride + 4] + in vp8_pick_inter_mode()
824 x->src.u_buffer[4 * x->src.uv_stride + 3] + in vp8_pick_inter_mode()
825 x->src.u_buffer[4 * x->src.uv_stride + 4]) >> 2; in vp8_pick_inter_mode()
930 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; in vp8_pick_inter_mode()
1463 x->e_mbd.pre.u_buffer = plane[this_ref_frame][1]; in vp8_pick_inter_mode()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h51 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
65 img->planes[VPX_PLANE_U] = (uint8_t*)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image()
84 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
119 yv12->u_buffer = CONVERT_TO_BYTEPTR(yv12->u_buffer); in image2yuvconfig()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c135 highbd_copy_and_extend_plane(src->u_buffer, src->uv_stride, in vp9_copy_and_extend_frame()
136 dst->u_buffer, dst->uv_stride, in vp9_copy_and_extend_frame()
153 copy_and_extend_plane(src->u_buffer, src->uv_stride, in vp9_copy_and_extend_frame()
154 dst->u_buffer, dst->uv_stride, in vp9_copy_and_extend_frame()
192 copy_and_extend_plane(src->u_buffer + src_uv_offset, src->uv_stride, in vp9_copy_and_extend_frame_with_rect()
193 dst->u_buffer + dst_uv_offset, dst->uv_stride, in vp9_copy_and_extend_frame_with_rect()
Dvp9_temporal_filter.c373 frames[frame]->u_buffer + mb_uv_offset, in temporal_filter_iterate_c()
391 vp9_highbd_temporal_filter_apply(f->u_buffer + mb_uv_offset, in temporal_filter_iterate_c()
408 vp9_temporal_filter_apply(f->u_buffer + mb_uv_offset, f->uv_stride, in temporal_filter_iterate_c()
425 vp9_temporal_filter_apply(f->u_buffer + mb_uv_offset, f->uv_stride, in temporal_filter_iterate_c()
463 dst1 = cpi->alt_ref_buffer.u_buffer; in temporal_filter_iterate_c()
510 dst1 = cpi->alt_ref_buffer.u_buffer; in temporal_filter_iterate_c()
555 dst1 = cpi->alt_ref_buffer.u_buffer; in temporal_filter_iterate_c()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12extend.c126 ybf->u_buffer, ybf->uv_stride, in vp8_yv12_extend_frame_borders_c()
147 extend_plane(ybf->u_buffer, ybf->uv_stride, in vp8_yv12_extend_frame_borders_c()
183 extend_plane_high(ybf->u_buffer, ybf->uv_stride, in extend_frame()
196 extend_plane(ybf->u_buffer, ybf->uv_stride, in extend_frame()
248 src = src_ybc->u_buffer; in vp8_yv12_copy_frame_c()
249 dst = dst_ybc->u_buffer; in vp8_yv12_copy_frame_c()
279 src = src_ybc->u_buffer; in vp8_yv12_copy_frame_c()
280 dst = dst_ybc->u_buffer; in vp8_yv12_copy_frame_c()
Dvpx_scale.c508 Scale2D((unsigned char *) src->u_buffer, src->uv_stride, src->uv_width, src->uv_height, in vpx_scale_frame()
509 (unsigned char *) dst->u_buffer, dst->uv_stride, dw / 2, dh / 2, in vpx_scale_frame()
514 …memset(dst->u_buffer + i * dst->uv_stride + dw / 2 - 1, dst->u_buffer[i * dst->uv_stride + dw / 2 … in vpx_scale_frame()
518 …memcpy(dst->u_buffer + i * dst->uv_stride, dst->u_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_wi… in vpx_scale_frame()
Dyv12config.c98 ybf->u_buffer = ybf->buffer_alloc + yplane_size + (border / 2 * uv_stride) + border / 2; in vp8_yv12_realloc_frame_buffer()
264 ybf->u_buffer = (uint8_t *)yv12_align_addr( in vpx_realloc_frame_buffer()
/external/libvpx/libvpx/vpx_dsp/
Dssim.c170 b = vpx_ssim2(source->u_buffer, dest->u_buffer, in vpx_calc_ssim()
195 b = vpx_ssim2(source->u_buffer, dest->u_buffer, in vpx_calc_ssimg()
466 b = vpx_highbd_ssim2(source->u_buffer, dest->u_buffer, in vpx_highbd_calc_ssim()
491 b = vpx_highbd_ssim2(source->u_buffer, dest->u_buffer, in vpx_highbd_calc_ssimg()
Dpsnrhvs.c217 *u_psnrhvs = calc_psnrhvs(source->u_buffer, source->uv_stride, dest->u_buffer, in vpx_psnrhvs()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c164 xd->dst.u_buffer, xd->dst.v_buffer, in mt_decode_macroblock()
294 xd->dst.u_buffer, xd->dst.v_buffer, in mt_decode_macroblock()
328 ref_buffer[i][1] = this_fb->u_buffer; in mt_decode_mb_rows()
335 dst_buffer[1] = yv12_fb_new->u_buffer; in mt_decode_mb_rows()
460 xd->dst.u_buffer = dst_buffer[1] + recon_uvoffset; in mt_decode_mb_rows()
464 xd->pre.u_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][1] + recon_uvoffset; in mt_decode_mb_rows()
504 …memcpy((pbi->mt_uabove_row[mb_row + 1] + 16 + mb_col*8), (xd->dst.u_buffer + 7 * recon_uv_stride),… in mt_decode_mb_rows()
519 pbi->mt_uleft_col[mb_row][i] = xd->dst.u_buffer [i* recon_uv_stride + 7]; in mt_decode_mb_rows()
540 … (xd->dst.y_buffer, xd->dst.u_buffer, xd->dst.v_buffer, recon_y_stride, recon_uv_stride, &lfi); in mt_decode_mb_rows()
544 … (xd->dst.y_buffer, xd->dst.u_buffer, xd->dst.v_buffer, recon_y_stride, recon_uv_stride, &lfi); in mt_decode_mb_rows()
[all …]
Ddecodeframe.c169 xd->dst.u_buffer, xd->dst.v_buffer, in decode_macroblock()
279 xd->dst.u_buffer, xd->dst.v_buffer, in decode_macroblock()
337 src_ptr1 = ybf->u_buffer - Border; in yv12_extend_frame_top_c()
395 src_ptr1 = ybf->u_buffer - Border; in yv12_extend_frame_bottom_c()
536 ref_buffer[i][1] = this_fb->u_buffer; in decode_mb_rows()
544 eb_dst[1] = lf_dst[1] = dst_buffer[1] = yv12_fb_new->u_buffer; in decode_mb_rows()
635 xd->dst.u_buffer = dst_buffer[1] + recon_uvoffset; in decode_mb_rows()
641 xd->pre.u_buffer = ref_buffer[ref][1] + recon_uvoffset; in decode_mb_rows()
646 xd->pre.u_buffer = 0; in decode_mb_rows()
678 xd->dst.u_buffer + 8, xd->dst.v_buffer + 8); in decode_mb_rows()
/external/libvpx/libvpx/test/
Dvpx_scale_test.cc41 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
120 ExtendPlane(ref_img_.u_buffer, in ReferenceExtendBorder()
145 ref_img_.u_buffer[x + y * ref_img_.uv_stride] = in ReferenceCopyFrame()
146 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.c406 vp9_highbd_post_proc_down_and_across(CONVERT_TO_SHORTPTR(source->u_buffer), in deblock_and_de_macro_block()
407 CONVERT_TO_SHORTPTR(post->u_buffer), in deblock_and_de_macro_block()
427 vp9_post_proc_down_and_across(source->u_buffer, post->u_buffer, in deblock_and_de_macro_block()
445 vp9_post_proc_down_and_across(source->u_buffer, post->u_buffer, in deblock_and_de_macro_block()
460 const uint8_t *const srcs[3] = {src->y_buffer, src->u_buffer, src->v_buffer}; in vp9_deblock()
465 uint8_t *const dsts[3] = {dst->y_buffer, dst->u_buffer, dst->v_buffer}; in vp9_deblock()
496 const uint8_t *const srcs[3] = {src->y_buffer, src->u_buffer, src->v_buffer}; in vp9_denoise()
501 uint8_t *const dsts[3] = {dst->y_buffer, dst->u_buffer, dst->v_buffer}; in vp9_denoise()
Dvp9_reconinter.c196 pre_buf->buf = xd->block_refs[ref]->buf->u_buffer; in build_inter_predictors()
286 uint8_t *const buffers[MAX_MB_PLANE] = { src->y_buffer, src->u_buffer, in vp9_setup_dst_planes()
305 uint8_t *const buffers[MAX_MB_PLANE] = { src->y_buffer, src->u_buffer, in vp9_setup_pre_planes()
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h47 uint8_t *u_buffer; member

12