Home
last modified time | relevance | path

Searched refs:src_diff (Results 1 – 13 of 13) sorted by relevance

/external/libvpx/libvpx/test/
Dsubtract_test.cc47 be.src_diff = reinterpret_cast<int16_t*>( in TEST_P()
48 vpx_memalign(16, kBlockHeight * kDiffPredStride * sizeof(*be.src_diff))); in TEST_P()
59 int16_t *src_diff = be.src_diff; in TEST_P() local
62 src_diff[c] = static_cast<int16_t>(0xa5a5u); in TEST_P()
64 src_diff += kDiffPredStride; in TEST_P()
88 src_diff = be.src_diff; in TEST_P()
92 EXPECT_EQ(base_src[c], (src_diff[c] + predictor[c])) << "r = " << r in TEST_P()
95 src_diff += kDiffPredStride; in TEST_P()
100 vpx_free(be.src_diff); in TEST_P()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c61 vp9_subtract_block(bh, bw, p->src_diff, bw, p->src.buf, p->src.stride, in vp9_subtract_plane()
316 const int16_t *src_diff; in vp9_xform_quant_fp() local
318 src_diff = &p->src_diff[4 * (j * diff_stride + i)]; in vp9_xform_quant_fp()
322 fdct32x32(x->use_lp32x32fdct, src_diff, coeff, diff_stride); in vp9_xform_quant_fp()
329 vp9_fdct16x16(src_diff, coeff, diff_stride); in vp9_xform_quant_fp()
336 vp9_fdct8x8(src_diff, coeff, diff_stride); in vp9_xform_quant_fp()
343 x->fwd_txm4x4(src_diff, coeff, diff_stride); in vp9_xform_quant_fp()
366 const int16_t *src_diff; in vp9_xform_quant_dc() local
369 src_diff = &p->src_diff[4 * (j * diff_stride + i)]; in vp9_xform_quant_dc()
373 vp9_fdct32x32_1(src_diff, coeff, diff_stride); in vp9_xform_quant_dc()
[all …]
Dvp9_block.h30 DECLARE_ALIGNED(16, int16_t, src_diff[64 * 64]);
Dvp9_rdopt.c679 int16_t *const src_diff = raster_block_offset_int16(BLOCK_8X8, block, in rd_pick_intra4x4block() local
680 p->src_diff); in rd_pick_intra4x4block()
688 vp9_subtract_block(4, 4, src_diff, 8, src, src_stride, dst, dst_stride); in rd_pick_intra4x4block()
692 vp9_fwht4x4(src_diff, coeff, 8); in rd_pick_intra4x4block()
705 vp9_fht4x4(src_diff, coeff, 8, tx_type); in rd_pick_intra4x4block()
1120 raster_block_offset_int16(BLOCK_8X8, i, p->src_diff), 8, in encode_inter_mb_segment()
1132 x->fwd_txm4x4(raster_block_offset_int16(BLOCK_8X8, k, p->src_diff), in encode_inter_mb_segment()
Dvp9_firstpass.c562 this_error = vp9_get_mb_ss(x->plane[0].src_diff); in vp9_first_pass()
/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c25 short *diff_ptr = be->src_diff; in vp8_subtract_b_c()
100 vp8_subtract_mby(x->src_diff, *(b->base_src), in vp8_subtract_mb()
102 vp8_subtract_mbuv(x->src_diff, x->src.u_buffer, in vp8_subtract_mb()
109 short *src_diff_ptr = &x->src_diff[384]; in build_dcblock()
124 x->short_fdct8x4(&x->block[i].src_diff[0], in vp8_transform_mbuv()
136 x->short_fdct8x4(&x->block[i].src_diff[0], in vp8_transform_intra_mby()
144 x->short_walsh4x4(&x->block[24].src_diff[0], in vp8_transform_intra_mby()
156 x->short_fdct8x4(&x->block[i].src_diff[0], in transform_mb()
166 x->short_fdct8x4(&x->block[i].src_diff[0], in transform_mb()
172 x->short_walsh4x4(&x->block[24].src_diff[0], in transform_mb()
[all …]
Dencodeintra.c47 intra_pred_var = vp8_get_mb_ss(x->src_diff); in vp8_encode_intra()
67 x->short_fdct4x4(be->src_diff, be->coeff, 32); in vp8_encode_intra4x4block()
105 vp8_subtract_mby(x->src_diff, *(b->base_src), in vp8_encode_intra16x16mby()
128 vp8_subtract_mbuv(x->src_diff, x->src.u_buffer, in vp8_encode_intra16x16mbuv()
Dblock.h38 short *src_diff; member
69 DECLARE_ALIGNED(16, short, src_diff[400]); /* 25 blocks Y,U,V,Y2 */
Dencodeframe.c1044 x->block[r*4+c].src_diff = x->src_diff + r * 4 * 16 + c * 4; in vp8_setup_block_ptrs()
1052 x->block[16 + r*2+c].src_diff = x->src_diff + 256 + r * 4 * 8 + c * 4; in vp8_setup_block_ptrs()
1061 x->block[20 + r*2+c].src_diff = x->src_diff + 320 + r * 4 * 8 + c * 4; in vp8_setup_block_ptrs()
1065 x->block[24].src_diff = x->src_diff + 384; in vp8_setup_block_ptrs()
Dvp8_asm_enc_offsets.c40 DEFINE(vp8_block_src_diff, offsetof(BLOCK, src_diff));
Drdopt.c582 short *Y2DCPtr = mb_y2->src_diff; in macro_block_yrd()
586 vp8_subtract_mby( mb->src_diff, *(mb->block[0].base_src), in macro_block_yrd()
592 mb->short_fdct8x4(beptr->src_diff, beptr->coeff, 32); in macro_block_yrd()
598 mb->short_walsh4x4(mb_y2->src_diff, mb_y2->coeff, 8); in macro_block_yrd()
672 x->short_fdct4x4(be->src_diff, be->coeff, 32); in rd_pick_intra4x4block()
841 vp8_subtract_mbuv(x->src_diff, in rd_inter16x16_uv()
858 vp8_subtract_mbuv(x->src_diff, in rd_inter4x4_uv()
899 vp8_subtract_mbuv(x->src_diff, in rd_pick_intra_mbuv_mode()
1061 x->short_fdct4x4(be->src_diff, be->coeff, 32); in vp8_encode_inter_mb_segment()
/external/libvpx/libvpx/vp8/encoder/x86/
Dvp8_enc_stubs_sse2.c40 short *diff = &be->src_diff[0]; in vp8_subtract_b_sse2()
Dvp8_enc_stubs_mmx.c75 short *diff = &be->src_diff[0]; in vp8_subtract_b_mmx()