Home
last modified time | relevance | path

Searched refs:coeff_ptr (Results 1 – 25 of 42) sorted by relevance

12

/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c15 int32_t vp8_block_error_msa(int16_t *coeff_ptr, int16_t *dq_coeff_ptr) in vp8_block_error_msa() argument
26 coeff = LD_SH(coeff_ptr); in vp8_block_error_msa()
31 coeff_ptr += 8; in vp8_block_error_msa()
47 int16_t *coeff_ptr, *dq_coeff_ptr; in vp8_mbblock_error_msa() local
66 coeff_ptr = be->coeff; in vp8_mbblock_error_msa()
68 coeff = LD_SH(coeff_ptr); in vp8_mbblock_error_msa()
70 coeff_ptr += 8; in vp8_mbblock_error_msa()
72 coeff2 = LD_SH(coeff_ptr); in vp8_mbblock_error_msa()
76 coeff_ptr = be->coeff; in vp8_mbblock_error_msa()
78 coeff3 = LD_SH(coeff_ptr); in vp8_mbblock_error_msa()
[all …]
Dquantize_msa.c15 static int8_t fast_quantize_b_msa(int16_t *coeff_ptr, int16_t *zbin, in fast_quantize_b_msa() argument
38 LD_SH2(coeff_ptr, 8, coeff0, coeff1); in fast_quantize_b_msa()
88 int16_t *coeff_ptr, in exact_regular_quantize_b_msa() argument
119 LD_SH2(coeff_ptr, 8, coeff0, coeff1); in exact_regular_quantize_b_msa()
216 int16_t *coeff_ptr = b->coeff; in vp8_fast_quantize_b_msa() local
224 *d->eob = fast_quantize_b_msa(coeff_ptr, zbin_ptr, round_ptr, quant_ptr, in vp8_fast_quantize_b_msa()
231 int16_t *coeff_ptr = b->coeff; in vp8_regular_quantize_b_msa() local
241 *d->eob = exact_regular_quantize_b_msa(zbin_boost_ptr, coeff_ptr, in vp8_regular_quantize_b_msa()
/external/libvpx/libvpx/vpx_dsp/x86/
Dquantize_sse2.c17 static INLINE __m128i load_coefficients(const tran_low_t *coeff_ptr) { in load_coefficients() argument
19 return _mm_setr_epi16((int16_t)coeff_ptr[0], (int16_t)coeff_ptr[1], in load_coefficients()
20 (int16_t)coeff_ptr[2], (int16_t)coeff_ptr[3], (int16_t)coeff_ptr[4], in load_coefficients()
21 (int16_t)coeff_ptr[5], (int16_t)coeff_ptr[6], (int16_t)coeff_ptr[7]); in load_coefficients()
23 return _mm_load_si128((const __m128i *)coeff_ptr); in load_coefficients()
28 tran_low_t *coeff_ptr) { in store_coefficients() argument
35 _mm_store_si128((__m128i*)(coeff_ptr), coeff_vals_1); in store_coefficients()
36 _mm_store_si128((__m128i*)(coeff_ptr + 4), coeff_vals_2); in store_coefficients()
38 _mm_store_si128((__m128i*)(coeff_ptr), coeff_vals); in store_coefficients()
42 void vpx_quantize_b_sse2(const tran_low_t* coeff_ptr, intptr_t n_coeffs, in vpx_quantize_b_sse2() argument
[all …]
Dhighbd_quantize_intrin_sse2.c18 void vpx_highbd_quantize_b_sse2(const tran_low_t *coeff_ptr, in vpx_highbd_quantize_b_sse2() argument
56 coeffs = _mm_load_si128((const __m128i *)(coeff_ptr + i * 4)); in vpx_highbd_quantize_b_sse2()
74 coeffs = _mm_load_si128((const __m128i *)(coeff_ptr + i * 4)); in vpx_highbd_quantize_b_sse2()
104 void vpx_highbd_quantize_b_32x32_sse2(const tran_low_t *coeff_ptr, in vpx_highbd_quantize_b_32x32_sse2() argument
144 coeffs = _mm_load_si128((const __m128i *)(coeff_ptr + i * 4)); in vpx_highbd_quantize_b_32x32_sse2()
163 const int coeff = coeff_ptr[rc]; in vpx_highbd_quantize_b_32x32_sse2()
/external/libvpx/libvpx/vpx_dsp/
Dquantize.c14 void vpx_quantize_dc(const tran_low_t *coeff_ptr, in vpx_quantize_dc() argument
20 const int coeff = coeff_ptr[rc]; in vpx_quantize_dc()
40 void vpx_highbd_quantize_dc(const tran_low_t *coeff_ptr, in vpx_highbd_quantize_dc() argument
51 const int coeff = coeff_ptr[0]; in vpx_highbd_quantize_dc()
65 void vpx_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block, in vpx_quantize_dc_32x32() argument
71 const int coeff = coeff_ptr[rc]; in vpx_quantize_dc_32x32()
92 void vpx_highbd_quantize_dc_32x32(const tran_low_t *coeff_ptr, in vpx_highbd_quantize_dc_32x32() argument
107 const int coeff = coeff_ptr[0]; in vpx_highbd_quantize_dc_32x32()
121 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vpx_quantize_b_c() argument
141 const int coeff = coeff_ptr[rc]; in vpx_quantize_b_c()
[all …]
Dquantize.h21 void vpx_quantize_dc(const tran_low_t *coeff_ptr,
26 void vpx_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block,
32 void vpx_highbd_quantize_dc(const tran_low_t *coeff_ptr,
37 void vpx_highbd_quantize_dc_32x32(const tran_low_t *coeff_ptr,
/external/libvpx/libvpx/vp9/encoder/mips/msa/
Dvp9_error_msa.c15 static int64_t block_error_##BSize##size_msa(const int16_t *coeff_ptr, \
25 coeff = LD_SH(coeff_ptr); \
34 coeff = LD_SH(coeff_ptr + 8); \
42 coeff_ptr += 16; \
46 coeff = LD_SH(coeff_ptr); \
54 coeff = LD_SH(coeff_ptr + 8); \
62 coeff_ptr += 16; \
88 int64_t vp9_block_error_msa(const tran_low_t *coeff_ptr, in vp9_block_error_msa() argument
92 const int16_t *coeff = (const int16_t *)coeff_ptr; in vp9_block_error_msa()
109 err = vp9_block_error_c(coeff_ptr, dq_coeff_ptr, blk_size, ssz); in vp9_block_error_msa()
/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc85 DECLARE_ALIGNED(16, tran_low_t, coeff_ptr[256]); in TEST_P()
109 coeff_ptr[j] = rnd.Rand16()&mask_; in TEST_P()
118 ref_quantize_op_(coeff_ptr, count, skip_block, zbin_ptr, round_ptr, in TEST_P()
122 ASM_REGISTER_STATE_CHECK(quantize_op_(coeff_ptr, count, skip_block, in TEST_P()
144 DECLARE_ALIGNED(16, tran_low_t, coeff_ptr[1024]); in TEST_P()
168 coeff_ptr[j] = rnd.Rand16()&mask_; in TEST_P()
177 ref_quantize_op_(coeff_ptr, count, skip_block, zbin_ptr, round_ptr, in TEST_P()
181 ASM_REGISTER_STATE_CHECK(quantize_op_(coeff_ptr, count, skip_block, in TEST_P()
203 DECLARE_ALIGNED(16, tran_low_t, coeff_ptr[256]); in TEST_P()
228 coeff_ptr[j] = 0; in TEST_P()
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Dvp8_enc_stubs_mmx.c24 int vp8_fast_quantize_b_impl_mmx(short *coeff_ptr, short *zbin_ptr,
31 short *coeff_ptr = b->coeff; in vp8_fast_quantize_b_mmx() local
40 coeff_ptr, in vp8_fast_quantize_b_mmx()
52 int vp8_mbblock_error_mmx_impl(short *coeff_ptr, short *dcoef_ptr, int dc);
55 short *coeff_ptr = mb->block[0].coeff; in vp8_mbblock_error_mmx() local
57 return vp8_mbblock_error_mmx_impl(coeff_ptr, dcoef_ptr, dc); in vp8_mbblock_error_mmx()
Dvp8_enc_stubs_sse2.c17 int vp8_mbblock_error_xmm_impl(short *coeff_ptr, short *dcoef_ptr, int dc);
20 short *coeff_ptr = mb->block[0].coeff; in vp8_mbblock_error_xmm() local
22 return vp8_mbblock_error_xmm_impl(coeff_ptr, dcoef_ptr, dc); in vp8_mbblock_error_xmm()
Dencodeopt.asm14 ;int vp8_block_error_xmm(short *coeff_ptr, short *dcoef_ptr)
24 mov rsi, arg(0) ;coeff_ptr
62 ;int vp8_block_error_mmx(short *coeff_ptr, short *dcoef_ptr)
73 mov rsi, arg(0) ;coeff_ptr
128 ;int vp8_mbblock_error_mmx_impl(short *coeff_ptr, short *dcoef_ptr, int dc);
139 mov rsi, arg(0) ;coeff_ptr
205 ;int vp8_mbblock_error_xmm_impl(short *coeff_ptr, short *dcoef_ptr, int dc);
217 mov rsi, arg(0) ;coeff_ptr
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl253 …add_proto qw/void vp9_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc…
256 …add_proto qw/void vp9_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski…
259 …add_proto qw/void vp9_fdct8x8_quant/, "const int16_t *input, int stride, tran_low_t *coeff_ptr, in…
268 …add_proto qw/void vp9_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc…
271 …add_proto qw/void vp9_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski…
274 …add_proto qw/void vp9_fdct8x8_quant/, "const int16_t *input, int stride, tran_low_t *coeff_ptr, in…
327 …add_proto qw/void vp9_highbd_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk…
330 …add_proto qw/void vp9_highbd_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, …
/external/libvpx/config/x86_64/
Dvp9_rtcd.h51 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
52 void vp9_fdct8x8_quant_sse2(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coe…
53 void vp9_fdct8x8_quant_ssse3(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_co…
112 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
113 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int…
114 void vp9_quantize_fp_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const in…
117 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
118 void vp9_quantize_fp_32x32_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, co…
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_quantize_sse2.c17 void vp9_quantize_fp_sse2(const int16_t* coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_sse2() argument
32 coeff_ptr += n_coeffs; in vp9_quantize_fp_sse2()
57 coeff0 = _mm_load_si128((const __m128i*)(coeff_ptr + n_coeffs)); in vp9_quantize_fp_sse2()
58 coeff1 = _mm_load_si128((const __m128i*)(coeff_ptr + n_coeffs) + 1); in vp9_quantize_fp_sse2()
124 coeff0 = _mm_load_si128((const __m128i*)(coeff_ptr + n_coeffs)); in vp9_quantize_fp_sse2()
125 coeff1 = _mm_load_si128((const __m128i*)(coeff_ptr + n_coeffs) + 1); in vp9_quantize_fp_sse2()
/external/libvpx/config/arm64/
Dvp9_rtcd.h49 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
50 void vp9_fdct8x8_quant_neon(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coe…
99 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
100 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int…
103 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/config/arm-neon/
Dvp9_rtcd.h49 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
50 void vp9_fdct8x8_quant_neon(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coe…
99 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
100 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int…
103 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/config/x86/
Dvp9_rtcd.h51 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
52 void vp9_fdct8x8_quant_sse2(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coe…
53 void vp9_fdct8x8_quant_ssse3(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_co…
111 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
112 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int…
115 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_dct_neon.c21 int16_t* coeff_ptr, intptr_t n_coeffs, in vp9_fdct8x8_quant_neon() argument
30 (void)coeff_ptr; in vp9_fdct8x8_quant_neon()
Dvp9_quantize_neon.c24 void vp9_quantize_fp_neon(const int16_t *coeff_ptr, intptr_t count, in vp9_quantize_fp_neon() argument
54 const int16x8_t v_coeff = vld1q_s16(&coeff_ptr[0]); in vp9_quantize_fp_neon()
79 const int16x8_t v_coeff = vld1q_s16(&coeff_ptr[i]); in vp9_quantize_fp_neon()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c23 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_c() argument
46 const int coeff = coeff_ptr[rc]; in vp9_quantize_fp_c()
64 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, in vp9_highbd_quantize_fp_c() argument
93 const int coeff = coeff_ptr[rc]; in vp9_highbd_quantize_fp_c()
110 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_32x32_c() argument
130 const int coeff = coeff_ptr[rc]; in vp9_quantize_fp_32x32_c()
151 void vp9_highbd_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, in vp9_highbd_quantize_fp_32x32_c() argument
174 const int coeff = coeff_ptr[rc]; in vp9_highbd_quantize_fp_32x32_c()
/external/libvpx/config/mips32/
Dvp9_rtcd.h47 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
92 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
95 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/config/generic/
Dvp9_rtcd.h47 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
92 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
95 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/config/mips64/
Dvp9_rtcd.h47 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
92 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
95 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/config/arm/
Dvp9_rtcd.h47 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
92 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
95 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
/external/libvpx/config/mips32-dspr2/
Dvp9_rtcd.h47 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs…
95 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
98 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …

12