/external/libvpx/libvpx/vpx_dsp/ |
D | quantize.c | 24 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/ |
D | quantize.c | 57 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/ |
D | highbd_quantize_intrin_sse2.c | 64 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()
|
D | adaptive_quantize_sse2.c | 50 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()
|
D | quantize_x86.h | 75 __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/ |
D | vp9_quantize.c | 43 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 …]
|
D | vp9_dct.c | 645 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/ |
D | av1_quantize.c | 60 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 …]
|
D | encodetxb.c | 1506 const int coeff_sign = (coeff >> 31); local 1507 int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | highbd_quantize_intrin_sse2.c | 68 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/ |
D | quantize_neon.c | 61 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/ |
D | av1_highbd_quantize_sse4.c | 121 __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/ |
D | vp9_quantize_neon.c | 144 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/ |
D | vp9_quantize_test.cc | 182 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/ |
D | scalar_analysis.cpp | 856 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/ |
D | scalar_analysis.cpp | 856 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()
|