/external/libvpx/libvpx/vp8/common/ |
D | swapyv12buffer.c | 22 temp = last_frame->y_buffer; in vp8_swap_yv12_buffer() 23 last_frame->y_buffer = new_frame->y_buffer; in vp8_swap_yv12_buffer() 24 new_frame->y_buffer = temp; in vp8_swap_yv12_buffer()
|
D | postproc.c | 317 vp8_mbpost_proc_across_ip(post->y_buffer, post->y_stride, post->y_height, in vp8_de_mblock() 319 vp8_mbpost_proc_down(post->y_buffer, post->y_stride, post->y_height, in vp8_de_mblock() 368 source->y_buffer + 16 * mbr * source->y_stride, in vp8_deblock() 369 post->y_buffer + 16 * mbr * post->y_stride, source->y_stride, in vp8_deblock() 412 source->y_buffer + 16 * mbr * source->y_stride, in vp8_de_noise() 413 source->y_buffer + 16 * mbr * source->y_stride, in vp8_de_noise() 832 (oci->post_proc_buffer.y_buffer, in vp8_post_proc_frame() 852 vp8_blit_text(message, oci->post_proc_buffer.y_buffer, oci->post_proc_buffer.y_stride); in vp8_post_proc_frame() 865 y_ptr = post->y_buffer + 4 * post->y_stride + 4; in vp8_post_proc_frame() 897 y_ptr = post->y_buffer + 4 * post->y_stride + 4; in vp8_post_proc_frame() [all …]
|
D | setupintrarecon.c | 20 memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon() 22 ybf->y_buffer[ybf->y_stride *i - 1] = (unsigned char) 129; 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()
|
D | setupintrarecon.h | 23 static INLINE void setup_intra_recon_left(unsigned char *y_buffer, in setup_intra_recon_left() argument 32 y_buffer[y_stride *i] = (unsigned char) 129; in setup_intra_recon_left()
|
D | extend.c | 83 copy_and_extend_plane(src->y_buffer, src->y_stride, in vp8_copy_and_extend_frame() 84 dst->y_buffer, dst->y_stride, in vp8_copy_and_extend_frame() 129 copy_and_extend_plane(src->y_buffer + src_y_offset, in vp8_copy_and_extend_frame_with_rect() 131 dst->y_buffer + dst_y_offset, in vp8_copy_and_extend_frame_with_rect()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | temporal_filter.c | 162 unsigned char *base_pre = x->e_mbd.pre.y_buffer; in vp8_temporal_filter_find_matching_mb_c() 173 b->base_src = &arf_frame->y_buffer; in vp8_temporal_filter_find_matching_mb_c() 177 x->e_mbd.pre.y_buffer = frame_ptr->y_buffer; in vp8_temporal_filter_find_matching_mb_c() 217 x->e_mbd.pre.y_buffer = base_pre; in vp8_temporal_filter_find_matching_mb_c() 249 unsigned char *y_buffer = mbd->pre.y_buffer; in vp8_temporal_filter_iterate_c() local 325 cpi->frames[frame]->y_buffer + mb_y_offset, in vp8_temporal_filter_iterate_c() 335 (f->y_buffer + mb_y_offset, in vp8_temporal_filter_iterate_c() 367 dst1 = cpi->alt_ref_buffer.y_buffer; in vp8_temporal_filter_iterate_c() 425 mbd->pre.y_buffer = y_buffer; in vp8_temporal_filter_iterate_c()
|
D | encodeintra.c | 59 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in vp8_encode_intra4x4block() 88 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); in vp8_encode_intra4x4mby() 101 xd->dst.y_buffer - xd->dst.y_stride, in vp8_encode_intra16x16mby() 102 xd->dst.y_buffer - 1, in vp8_encode_intra16x16mby() 104 xd->dst.y_buffer, in vp8_encode_intra16x16mby() 108 b->src_stride, xd->dst.y_buffer, xd->dst.y_stride); in vp8_encode_intra16x16mby()
|
D | denoising.c | 573 filter_xd->pre.y_buffer = src->y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb() 577 filter_xd->dst.y_buffer = dst->y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb() 588 filter_xd->dst.y_buffer, in vp8_denoiser_denoise_mb() 626 denoiser->yv12_mc_running_avg.y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb() 629 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset; in vp8_denoiser_denoise_mb() 674 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() 733 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb() 741 denoiser->yv12_running_avg[INTRA_FRAME].y_buffer + recon_yoffset, in vp8_denoiser_denoise_mb()
|
D | encodeframe.c | 94 act = vpx_variance16x16(x->src.y_buffer, in tt_activity_measure() 292 xd->dst.y_buffer = new_yv12->y_buffer + recon_yoffset; in build_activity_map() 297 vp8_copy_mem16x16(x->src.y_buffer, x->src.y_stride, x->thismb, 16); in build_activity_map() 312 x->src.y_buffer += 16; in build_activity_map() 317 x->src.y_buffer += 16 * x->src.y_stride - 16 * cm->mb_cols; in build_activity_map() 321 vp8_extend_mb_row(new_yv12, xd->dst.y_buffer + 16, in build_activity_map() 452 xd->dst.y_buffer = cm->yv12_fb[dst_fb_idx].y_buffer + recon_yoffset; in encode_mb_row() 461 vp8_copy_mem16x16(x->src.y_buffer, x->src.y_stride, x->thismb, 16); in encode_mb_row() 595 x->src.y_buffer += 16; in encode_mb_row() 613 xd->dst.y_buffer + 16, in encode_mb_row() [all …]
|
D | pickinter.c | 203 unsigned char *in_what = mb->e_mbd.pre.y_buffer + d->offset ; in vp8_get_inter_mbpred_error() 245 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in pick_intra4x4block() 295 intra_prediction_down_copy(xd, xd->dst.y_buffer - xd->dst.y_stride + 16); in pick_intra4x4mby_modes() 733 unsigned char* target_y = x->src.y_buffer; in vp8_pick_inter_mode() 742 cpi->denoiser.yv12_running_avg[LAST_FRAME].y_buffer + recon_yoffset; in vp8_pick_inter_mode() 818 const int y = (x->src.y_buffer[7 * x->src.y_stride + 7] + in vp8_pick_inter_mode() 819 x->src.y_buffer[7 * x->src.y_stride + 8] + in vp8_pick_inter_mode() 820 x->src.y_buffer[8 * x->src.y_stride + 7] + in vp8_pick_inter_mode() 821 x->src.y_buffer[8 * x->src.y_stride + 8]) >> 2; in vp8_pick_inter_mode() 929 x->e_mbd.pre.y_buffer = plane[this_ref_frame][0]; in vp8_pick_inter_mode() [all …]
|
D | picklpf.c | 50 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() 62 unsigned char *src = source->y_buffer; in calc_partial_ssl_err() 63 unsigned char *dst = dest->y_buffer; in calc_partial_ssl_err()
|
D | ethreading.c | 148 xd->dst.y_buffer = cm->yv12_fb[dst_fb_idx].y_buffer + recon_yoffset; in thread_encoding_proc() 157 vp8_copy_mem16x16(x->src.y_buffer, x->src.y_stride, x->thismb, 16); in thread_encoding_proc() 278 x->src.y_buffer += 16; in thread_encoding_proc() 295 xd->dst.y_buffer + 16, in thread_encoding_proc() 305 … x->src.y_buffer += 16 * x->src.y_stride * (cpi->encoding_thread_count + 1) - 16 * cm->mb_cols; in thread_encoding_proc() 485 mb->src.y_buffer += 16 * x->src.y_stride * (i + 1); in vp8cx_init_mbrthread_data()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_postproc.c | 392 vp9_highbd_post_proc_down_and_across(CONVERT_TO_SHORTPTR(source->y_buffer), in deblock_and_de_macro_block() 393 CONVERT_TO_SHORTPTR(post->y_buffer), in deblock_and_de_macro_block() 398 vp9_highbd_mbpost_proc_across_ip(CONVERT_TO_SHORTPTR(post->y_buffer), in deblock_and_de_macro_block() 402 vp9_highbd_mbpost_proc_down(CONVERT_TO_SHORTPTR(post->y_buffer), in deblock_and_de_macro_block() 417 vp9_post_proc_down_and_across(source->y_buffer, post->y_buffer, in deblock_and_de_macro_block() 421 vp9_mbpost_proc_across_ip(post->y_buffer, post->y_stride, post->y_height, in deblock_and_de_macro_block() 424 vp9_mbpost_proc_down(post->y_buffer, post->y_stride, post->y_height, in deblock_and_de_macro_block() 435 vp9_post_proc_down_and_across(source->y_buffer, post->y_buffer, in deblock_and_de_macro_block() 439 vp9_mbpost_proc_across_ip(post->y_buffer, post->y_stride, post->y_height, in deblock_and_de_macro_block() 442 vp9_mbpost_proc_down(post->y_buffer, post->y_stride, post->y_height, in deblock_and_de_macro_block() [all …]
|
/external/libvpx/libvpx/vp8/decoder/ |
D | threading.c | 173 xd->dst.y_buffer, in mt_decode_macroblock() 190 unsigned char *dst = xd->dst.y_buffer + b->offset; in mt_decode_macroblock() 288 xd->dst.y_buffer, in mt_decode_macroblock() 327 ref_buffer[i][0] = this_fb->y_buffer; in mt_decode_mb_rows() 334 dst_buffer[0] = yv12_fb_new->y_buffer; in mt_decode_mb_rows() 459 xd->dst.y_buffer = dst_buffer[0] + recon_yoffset; in mt_decode_mb_rows() 463 xd->pre.y_buffer = ref_buffer[xd->mode_info_context->mbmi.ref_frame][0] + recon_yoffset; in mt_decode_mb_rows() 503 …memcpy((pbi->mt_yabove_row[mb_row + 1] + 32 + mb_col*16), (xd->dst.y_buffer + 15 * recon_y_stride)… in mt_decode_mb_rows() 516 pbi->mt_yleft_col[mb_row][i] = xd->dst.y_buffer [i* recon_y_stride + 15]; 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() [all …]
|
D | decodeframe.c | 178 xd->dst.y_buffer, in decode_macroblock() 195 unsigned char *dst = xd->dst.y_buffer + b->offset; in decode_macroblock() 273 xd->dst.y_buffer, in decode_macroblock() 322 src_ptr1 = ybf->y_buffer - Border; in yv12_extend_frame_top_c() 377 src_ptr1 = ybf->y_buffer - Border; in yv12_extend_frame_bottom_c() 535 ref_buffer[i][0] = this_fb->y_buffer; in decode_mb_rows() 543 eb_dst[0] = lf_dst[0] = dst_buffer[0] = yv12_fb_new->y_buffer; in decode_mb_rows() 634 xd->dst.y_buffer = dst_buffer[0] + recon_yoffset; in decode_mb_rows() 640 xd->pre.y_buffer = ref_buffer[ref][0] + recon_yoffset; in decode_mb_rows() 645 xd->pre.y_buffer = 0; in decode_mb_rows() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.h | 50 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/libvpx/libvpx/vp9/encoder/ |
D | vp9_denoiser.c | 262 block_start(denoiser->running_avg_y[frame].y_buffer, in perform_motion_compensation() 281 block_start(denoiser->mc_running_avg_y.y_buffer, in perform_motion_compensation() 320 uint8_t *avg_start = block_start(avg.y_buffer, avg.y_stride, mi_row, mi_col); in vp9_denoiser_denoise() 321 uint8_t *mc_avg_start = block_start(mc_avg.y_buffer, mc_avg.y_stride, in vp9_denoiser_denoise() 373 const uint8_t *srcbuf = src->y_buffer; in copy_frame() 374 uint8_t *destbuf = dest->y_buffer; in copy_frame() 388 uint8_t *tmp_buf = dest->y_buffer; in swap_frame_buffer() 391 dest->y_buffer = src->y_buffer; in swap_frame_buffer() 392 src->y_buffer = tmp_buf; in swap_frame_buffer() 562 cpi->denoiser.last_source.y_buffer == NULL) { in vp9_denoiser_update_noise_estimate() [all …]
|
D | vp9_extend.c | 130 highbd_copy_and_extend_plane(src->y_buffer, src->y_stride, in vp9_copy_and_extend_frame() 131 dst->y_buffer, dst->y_stride, in vp9_copy_and_extend_frame() 148 copy_and_extend_plane(src->y_buffer, src->y_stride, in vp9_copy_and_extend_frame() 149 dst->y_buffer, dst->y_stride, in vp9_copy_and_extend_frame() 187 copy_and_extend_plane(src->y_buffer + src_y_offset, src->y_stride, in vp9_copy_and_extend_frame_with_rect() 188 dst->y_buffer + dst_y_offset, dst->y_stride, in vp9_copy_and_extend_frame_with_rect()
|
D | vp9_temporal_filter.c | 358 frames[alt_ref_index]->y_buffer + mb_y_offset, in temporal_filter_iterate_c() 359 frames[frame]->y_buffer + mb_y_offset, in temporal_filter_iterate_c() 372 frames[frame]->y_buffer + mb_y_offset, in temporal_filter_iterate_c() 386 vp9_highbd_temporal_filter_apply(f->y_buffer + mb_y_offset, in temporal_filter_iterate_c() 404 vp9_temporal_filter_apply(f->y_buffer + mb_y_offset, f->y_stride, in temporal_filter_iterate_c() 421 vp9_temporal_filter_apply(f->y_buffer + mb_y_offset, f->y_stride, in temporal_filter_iterate_c() 444 dst1 = cpi->alt_ref_buffer.y_buffer; in temporal_filter_iterate_c() 493 dst1 = cpi->alt_ref_buffer.y_buffer; in temporal_filter_iterate_c() 538 dst1 = cpi->alt_ref_buffer.y_buffer; in temporal_filter_iterate_c()
|
D | vp9_skin_detection.c | 57 const uint8_t *src_y = cpi->Source->y_buffer; in vp9_compute_skin_map() 80 y = skinmap.y_buffer; in vp9_compute_skin_map()
|
D | vp9_mbgraph.c | 189 x->plane[0].src.buf = buf->y_buffer + mb_y_offset; in update_mbgraph_mb_stats() 192 xd->plane[0].dst.buf = get_frame_new_buffer(cm)->y_buffer + mb_y_offset; in update_mbgraph_mb_stats() 205 xd->plane[0].pre[0].buf = golden_ref->y_buffer + mb_y_offset; in update_mbgraph_mb_stats() 221 xd->plane[0].pre[0].buf = alt_ref->y_buffer + mb_y_offset; in update_mbgraph_mb_stats()
|
/external/libvpx/libvpx/vpx_scale/generic/ |
D | yv12extend.c | 119 ybf->y_buffer, ybf->y_stride, in vp8_yv12_extend_frame_borders_c() 141 extend_plane(ybf->y_buffer, ybf->y_stride, in vp8_yv12_extend_frame_borders_c() 178 extend_plane_high(ybf->y_buffer, ybf->y_stride, in extend_frame() 190 extend_plane(ybf->y_buffer, ybf->y_stride, in extend_frame() 228 const uint8_t *src = src_ybc->y_buffer; in vp8_yv12_copy_frame_c() 229 uint8_t *dst = dst_ybc->y_buffer; in vp8_yv12_copy_frame_c() 303 const uint8_t *src = src_ybc->y_buffer; in vpx_yv12_copy_y_c() 304 uint8_t *dst = dst_ybc->y_buffer; in vpx_yv12_copy_y_c()
|
D | vpx_scale.c | 496 Scale2D((unsigned char *) src->y_buffer, src->y_stride, src->y_width, src->y_height, in vpx_scale_frame() 497 (unsigned char *) dst->y_buffer, dst->y_stride, dw, dh, in vpx_scale_frame() 502 …memset(dst->y_buffer + i * dst->y_stride + dw - 1, dst->y_buffer[i * dst->y_stride + dw - 2], dst-… in vpx_scale_frame() 506 …memcpy(dst->y_buffer + i * dst->y_stride, dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width +… in vpx_scale_frame()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | ssim.c | 166 a = vpx_ssim2(source->y_buffer, dest->y_buffer, in vpx_calc_ssim() 191 a = vpx_ssim2(source->y_buffer, dest->y_buffer, in vpx_calc_ssimg() 462 a = vpx_highbd_ssim2(source->y_buffer, dest->y_buffer, in vpx_highbd_calc_ssim() 487 a = vpx_highbd_ssim2(source->y_buffer, dest->y_buffer, in vpx_highbd_calc_ssimg()
|
/external/libvpx/libvpx/test/ |
D | vpx_scale_test.cc | 39 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImage() 115 ExtendPlane(ref_img_.y_buffer, in ReferenceExtendBorder() 138 ref_img_.y_buffer[x + y * ref_img_.y_stride] = in ReferenceCopyFrame() 139 img_.y_buffer[x + y * img_.y_stride]; in ReferenceCopyFrame()
|