Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_dsp/
Dquantize.c24 const int coeff_sign = (coeff >> 31); in vpx_quantize_dc() local
25 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_quantize_dc()
34 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign; in vpx_quantize_dc()
54 const int coeff_sign = (coeff >> 31); in vpx_highbd_quantize_dc() local
55 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_highbd_quantize_dc()
58 qcoeff_ptr[0] = (tran_low_t)((abs_qcoeff ^ coeff_sign) - coeff_sign); in vpx_highbd_quantize_dc()
73 const int coeff_sign = (coeff >> 31); in vpx_quantize_dc_32x32() local
74 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_quantize_dc_32x32()
84 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/libaom/libaom/aom_dsp/
Dquantize.c57 const int coeff_sign = (coeff >> 31); in quantize_b_adaptive_helper_c() local
58 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in quantize_b_adaptive_helper_c()
70 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in quantize_b_adaptive_helper_c()
76 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in quantize_b_adaptive_helper_c()
142 const int coeff_sign = (coeff >> 31); in quantize_b_helper_c() local
143 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in quantize_b_helper_c()
155 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in quantize_b_helper_c()
161 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in quantize_b_helper_c()
214 const int coeff_sign = (coeff >> 31); in highbd_quantize_b_adaptive_helper_c() local
217 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in highbd_quantize_b_adaptive_helper_c()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_sse2.c64 int coeff_sign[4]; in aom_highbd_quantize_b_sse2() local
74 _mm_storeu_si128((__m128i *)coeff_sign, coeffs_sign); in aom_highbd_quantize_b_sse2()
83 qcoeff_ptr[k] = (int)(abs_qcoeff ^ coeff_sign[j]) - coeff_sign[j]; in aom_highbd_quantize_b_sse2()
137 const int coeff_sign = (coeff >> 31); in aom_highbd_quantize_b_32x32_sse2() local
138 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_32x32_sse2()
143 qcoeff_ptr[rc] = (int)(abs_qcoeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_32x32_sse2()
195 const int coeff_sign = (coeff >> 31); in aom_highbd_quantize_b_64x64_sse2() local
196 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_64x64_sse2()
201 qcoeff_ptr[rc] = (int)(abs_qcoeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_64x64_sse2()
Dadaptive_quantize_sse2.c50 const int coeff_sign = (coeff >> 31); in aom_quantize_b_adaptive_sse2() local
51 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_sse2()
201 const int coeff_sign = (coeff >> 31); in aom_quantize_b_adaptive_sse2() local
202 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_sse2()
250 const int coeff_sign = (coeff >> 31); in aom_quantize_b_32x32_adaptive_sse2() local
251 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_32x32_adaptive_sse2()
408 const int coeff_sign = (coeff >> 31); in aom_quantize_b_32x32_adaptive_sse2() local
409 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_32x32_adaptive_sse2()
Dquantize_x86.h75 __m128i coeff_sign = _mm_srai_epi16(qcoeff, 15); in calculate_dqcoeff_and_store_log_scale() local
76 __m128i coeff = invert_sign_sse2(qcoeff, coeff_sign); in calculate_dqcoeff_and_store_log_scale()
78 const __m128i sign_0 = _mm_unpacklo_epi16(coeff_sign, zero); in calculate_dqcoeff_and_store_log_scale()
79 const __m128i sign_1 = _mm_unpackhi_epi16(coeff_sign, zero); in calculate_dqcoeff_and_store_log_scale()
/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/libaom/libaom/av1/encoder/
Dav1_quantize.c60 const int coeff_sign = (coeff >> 31); in quantize_fp_helper_c() local
61 int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in quantize_fp_helper_c()
68 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in quantize_fp_helper_c()
71 dqcoeff_ptr[rc] = (abs_dqcoeff ^ coeff_sign) - coeff_sign; in quantize_fp_helper_c()
87 const int coeff_sign = (coeff >> 31); in quantize_fp_helper_c() local
88 int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in quantize_fp_helper_c()
96 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in quantize_fp_helper_c()
98 dqcoeff_ptr[rc] = (abs_dqcoeff ^ coeff_sign) - coeff_sign; in quantize_fp_helper_c()
134 const int coeff_sign = (coeff >> 31); in highbd_quantize_fp_helper_c() local
135 const int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in highbd_quantize_fp_helper_c()
[all …]
Dencodetxb.c1506 const int coeff_sign = (coeff >> 31); local
1507 int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_sse2.c68 int coeff_sign[4]; in vpx_highbd_quantize_b_sse2() local
78 _mm_storeu_si128((__m128i *)coeff_sign, coeffs_sign); in vpx_highbd_quantize_b_sse2()
87 qcoeff_ptr[k] = (int)(abs_qcoeff ^ coeff_sign[j]) - coeff_sign[j]; in vpx_highbd_quantize_b_sse2()
144 const int coeff_sign = (coeff >> 31); in vpx_highbd_quantize_b_32x32_sse2() local
145 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in vpx_highbd_quantize_b_32x32_sse2()
150 qcoeff_ptr[rc] = (int)(abs_qcoeff ^ coeff_sign) - coeff_sign; in vpx_highbd_quantize_b_32x32_sse2()
/external/libvpx/libvpx/vpx_dsp/arm/
Dquantize_neon.c61 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_neon() local
78 qcoeff = veorq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
79 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
111 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_neon() local
128 qcoeff = veorq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
129 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vpx_quantize_b_neon()
221 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_32x32_neon() local
238 qcoeff = veorq_s16(qcoeff, coeff_sign); in vpx_quantize_b_32x32_neon()
239 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vpx_quantize_b_32x32_neon()
269 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vpx_quantize_b_32x32_neon() local
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dav1_highbd_quantize_sse4.c121 __m128i coeff[2], qcoeff[3], dequant[2], qparam[4], coeff_sign; in av1_highbd_quantize_fp_sse4_1() local
148 &coeff_sign); in av1_highbd_quantize_fp_sse4_1()
155 quantize_coeff_phase2(qcoeff, dequant, &coeff_sign, qparam, shift, log_scale, in av1_highbd_quantize_fp_sse4_1()
161 &coeff_sign); in av1_highbd_quantize_fp_sse4_1()
162 quantize_coeff_phase2(qcoeff, dequant, &coeff_sign, qparam, shift, log_scale, in av1_highbd_quantize_fp_sse4_1()
180 &coeff_sign); in av1_highbd_quantize_fp_sse4_1()
181 quantize_coeff_phase2(qcoeff, dequant, &coeff_sign, qparam, shift, in av1_highbd_quantize_fp_sse4_1()
185 &coeff_sign); in av1_highbd_quantize_fp_sse4_1()
186 quantize_coeff_phase2(qcoeff, dequant, &coeff_sign, qparam, shift, in av1_highbd_quantize_fp_sse4_1()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c144 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vp9_quantize_fp_32x32_neon() local
162 qcoeff = veorq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
163 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
198 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vp9_quantize_fp_32x32_neon() local
208 qcoeff = veorq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
209 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc182 int coeff_sign[16]; in quant_fp_nz() local
188 coeff_sign[y] = (coeff >> 31); in quant_fp_nz()
189 abs_coeff[y] = (coeff ^ coeff_sign[y]) - coeff_sign[y]; in quant_fp_nz()
211 qcoeff_ptr[rc] = (tmp ^ coeff_sign[y]) - coeff_sign[y]; in quant_fp_nz()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp856 Signedness coeff_sign = Visit(node->GetCoefficient()); in Visit() local
859 switch (coeff_sign) { in Visit()
863 coeff_sign = Signedness::kNegative; in Visit()
866 coeff_sign = Signedness::kPositive; in Visit()
869 return GetAddCombiner()(coeff_sign, Visit(node->GetOffset())); in Visit()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp856 Signedness coeff_sign = Visit(node->GetCoefficient()); in Visit() local
859 switch (coeff_sign) { in Visit()
863 coeff_sign = Signedness::kNegative; in Visit()
866 coeff_sign = Signedness::kPositive; in Visit()
869 return GetAddCombiner()(coeff_sign, Visit(node->GetOffset())); in Visit()