Home
last modified time | relevance | path

Searched refs:coeff_sign (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/vpx_dsp/
Dquantize.c23 const int coeff_sign = (coeff >> 31); in vpx_quantize_dc() local
24 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_quantize_dc()
33 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign; in vpx_quantize_dc()
53 const int coeff_sign = (coeff >> 31); in vpx_highbd_quantize_dc() local
54 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_highbd_quantize_dc()
57 qcoeff_ptr[0] = (tran_low_t)((abs_qcoeff ^ coeff_sign) - coeff_sign); in vpx_highbd_quantize_dc()
72 const int coeff_sign = (coeff >> 31); in vpx_quantize_dc_32x32() local
73 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_quantize_dc_32x32()
83 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign; in vpx_quantize_dc_32x32()
105 const int coeff_sign = (coeff >> 31); in vpx_highbd_quantize_dc_32x32() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c43 const int coeff_sign = (coeff >> 31); in vp9_quantize_fp_c() local
44 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vp9_quantize_fp_c()
49 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign; in vp9_quantize_fp_c()
79 const int coeff_sign = (coeff >> 31); in vp9_highbd_quantize_fp_c() local
80 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vp9_highbd_quantize_fp_c()
83 qcoeff_ptr[rc] = (tran_low_t)(abs_qcoeff ^ coeff_sign) - coeff_sign; in vp9_highbd_quantize_fp_c()
110 const int coeff_sign = (coeff >> 31); in vp9_quantize_fp_32x32_c() local
112 int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vp9_quantize_fp_32x32_c()
118 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign; in vp9_quantize_fp_32x32_c()
146 const int coeff_sign = (coeff >> 31); in vp9_highbd_quantize_fp_32x32_c() local
[all …]
Dvp9_dct.c645 const int coeff_sign = (coeff >> 31); in vp9_fdct8x8_quant_c() local
646 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vp9_fdct8x8_quant_c()
651 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign; in vp9_fdct8x8_quant_c()
/external/libvpx/libvpx/vpx_dsp/arm/
Dquantize_neon.c45 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_neon() local
62 qcoeff = veorq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
63 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
97 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_neon() local
114 qcoeff = veorq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
115 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
181 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_32x32_neon() local
200 qcoeff = veorq_s16(qcoeff, coeff_sign); in vpx_quantize_b_32x32_neon()
201 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vpx_quantize_b_32x32_neon()
241 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_32x32_neon() local
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_sse2.c67 int coeff_sign[4]; in vpx_highbd_quantize_b_sse2() local
77 _mm_storeu_si128((__m128i *)coeff_sign, coeffs_sign); in vpx_highbd_quantize_b_sse2()
86 qcoeff_ptr[k] = (int)(abs_qcoeff ^ coeff_sign[j]) - coeff_sign[j]; in vpx_highbd_quantize_b_sse2()
143 const int coeff_sign = (coeff >> 31); in vpx_highbd_quantize_b_32x32_sse2() local
144 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_highbd_quantize_b_32x32_sse2()
149 qcoeff_ptr[rc] = (int)(abs_qcoeff ^ coeff_sign) - coeff_sign; in vpx_highbd_quantize_b_32x32_sse2()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c140 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vp9_quantize_fp_32x32_neon() local
158 qcoeff = veorq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
159 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
194 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vp9_quantize_fp_32x32_neon() local
204 qcoeff = veorq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
205 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc156 int coeff_sign[16]; in quantize_fp_nz_c() local
162 coeff_sign[y] = (coeff >> 31); in quantize_fp_nz_c()
163 abs_coeff[y] = (coeff ^ coeff_sign[y]) - coeff_sign[y]; in quantize_fp_nz_c()
178 qcoeff_ptr[rc] = (tmp ^ coeff_sign[y]) - coeff_sign[y]; in quantize_fp_nz_c()