Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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()
329 const int16_t *src_diff; in vp9_xform_quant() local
331 src_diff = &p->src_diff[4 * (j * diff_stride + i)]; in vp9_xform_quant()
335 fdct32x32(x->use_lp32x32fdct, src_diff, coeff, diff_stride); in vp9_xform_quant()
342 vp9_fdct16x16(src_diff, coeff, diff_stride); in vp9_xform_quant()
349 vp9_fdct8x8(src_diff, coeff, diff_stride); in vp9_xform_quant()
356 x->fwd_txm4x4(src_diff, coeff, diff_stride); in vp9_xform_quant()
492 int16_t *src_diff; in encode_block_intra() local
500 src_diff = &p->src_diff[4 * (j * diff_stride + i)]; in encode_block_intra()
511 vp9_subtract_block(32, 32, src_diff, diff_stride, in encode_block_intra()
[all …]
Dvp9_block.h67 DECLARE_ALIGNED(16, int16_t, src_diff[64 * 64]);
Dvp9_rdopt.c1099 int16_t *const src_diff = raster_block_offset_int16(BLOCK_8X8, block, in rd_pick_intra4x4block() local
1100 p->src_diff); in rd_pick_intra4x4block()
1108 vp9_subtract_block(4, 4, src_diff, 8, src, src_stride, dst, dst_stride); in rd_pick_intra4x4block()
1112 vp9_fwht4x4(src_diff, coeff, 8); in rd_pick_intra4x4block()
1125 vp9_fht4x4(src_diff, coeff, 8, tx_type); in rd_pick_intra4x4block()
1577 raster_block_offset_int16(BLOCK_8X8, i, p->src_diff), 8, in encode_inter_mb_segment()
1589 x->fwd_txm4x4(raster_block_offset_int16(BLOCK_8X8, k, p->src_diff), in encode_inter_mb_segment()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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.c1032 x->block[r*4+c].src_diff = x->src_diff + r * 4 * 16 + c * 4; in vp8_setup_block_ptrs()
1040 x->block[16 + r*2+c].src_diff = x->src_diff + 256 + r * 4 * 8 + c * 4; in vp8_setup_block_ptrs()
1049 x->block[20 + r*2+c].src_diff = x->src_diff + 320 + r * 4 * 8 + c * 4; in vp8_setup_block_ptrs()
1053 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.c583 short *Y2DCPtr = mb_y2->src_diff; in macro_block_yrd()
587 vp8_subtract_mby( mb->src_diff, *(mb->block[0].base_src), in macro_block_yrd()
593 mb->short_fdct8x4(beptr->src_diff, beptr->coeff, 32); in macro_block_yrd()
599 mb->short_walsh4x4(mb_y2->src_diff, mb_y2->coeff, 8); in macro_block_yrd()
673 x->short_fdct4x4(be->src_diff, be->coeff, 32); in rd_pick_intra4x4block()
845 vp8_subtract_mbuv(x->src_diff, in rd_inter16x16_uv()
864 vp8_subtract_mbuv(x->src_diff, in rd_inter4x4_uv()
905 vp8_subtract_mbuv(x->src_diff, in rd_pick_intra_mbuv_mode()
1067 x->short_fdct4x4(be->src_diff, be->coeff, 32); in vp8_encode_inter_mb_segment()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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()