/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/av1/encoder/ |
D | av1_quantize.c | 60 const int coeff_sign = AOMSIGN(coeff); 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 = AOMSIGN(coeff); 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() 135 const int coeff_sign = AOMSIGN(coeff); in highbd_quantize_fp_helper_c() local 136 const int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in highbd_quantize_fp_helper_c() [all …]
|
D | encodetxb.c | 741 const int coeff_sign = AOMSIGN(coeff); local 742 int64_t abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
|
/external/libaom/libaom/aom_dsp/ |
D | quantize.c | 57 const int coeff_sign = AOMSIGN(coeff); in aom_quantize_b_adaptive_helper_c() local 58 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_helper_c() 70 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_helper_c() 76 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in aom_quantize_b_adaptive_helper_c() 143 const int coeff_sign = AOMSIGN(coeff); in aom_quantize_b_helper_c() local 144 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_helper_c() 156 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in aom_quantize_b_helper_c() 162 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in aom_quantize_b_helper_c() 212 const int coeff_sign = AOMSIGN(coeff); in aom_highbd_quantize_b_adaptive_helper_c() local 214 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_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 = AOMSIGN(coeff); 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 = AOMSIGN(coeff); 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_avx2.c | 89 __m256i coeff_sign = _mm256_srai_epi16(coeff_vals, 15); in store_coefficients_avx2() local 90 __m256i coeff_vals_lo = _mm256_unpacklo_epi16(coeff_vals, coeff_sign); in store_coefficients_avx2() 91 __m256i coeff_vals_hi = _mm256_unpackhi_epi16(coeff_vals, coeff_sign); in store_coefficients_avx2() 230 const int coeff_sign = AOMSIGN(coeff0); in aom_quantize_b_adaptive_avx2() local 231 const int abs_coeff = (coeff0 ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_avx2()
|
D | highbd_adaptive_quantize_sse2.c | 88 __m128i coeff_sign = _mm_srai_epi32(qcoeff, 31); in highbd_calculate_dqcoeff() local 89 __m128i abs_coeff = invert_sign_32_sse2(qcoeff, coeff_sign); in highbd_calculate_dqcoeff() 91 return invert_sign_32_sse2(abs_coeff, coeff_sign); in highbd_calculate_dqcoeff() 286 const int coeff_sign = AOMSIGN(coeff); in aom_highbd_quantize_b_adaptive_sse2() local 287 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_adaptive_sse2() 503 const int coeff_sign = AOMSIGN(coeff); in aom_highbd_quantize_b_32x32_adaptive_sse2() local 504 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_32x32_adaptive_sse2() 719 const int coeff_sign = AOMSIGN(coeff); in aom_highbd_quantize_b_64x64_adaptive_sse2() local 720 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_64x64_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()
|
D | adaptive_quantize_sse2.c | 203 const int coeff_sign = AOMSIGN(coeff); in aom_quantize_b_adaptive_sse2() local 204 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_sse2() 412 const int coeff_sign = AOMSIGN(coeff); in aom_quantize_b_32x32_adaptive_sse2() local 413 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_32x32_adaptive_sse2() 620 const int coeff_sign = AOMSIGN(coeff); in aom_quantize_b_64x64_adaptive_sse2() local 621 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_64x64_adaptive_sse2()
|
D | highbd_adaptive_quantize_avx2.c | 258 const int coeff_sign = AOMSIGN(coeff); in aom_highbd_quantize_b_adaptive_avx2() local 259 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_adaptive_avx2() 444 const int coeff_sign = AOMSIGN(coeff); in aom_highbd_quantize_b_32x32_adaptive_avx2() local 445 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_32x32_adaptive_avx2()
|
/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 …]
|
/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 | 160 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vp9_quantize_fp_32x32_neon() local 177 qcoeff = veorq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon() 178 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon() 217 const int16x8_t coeff_sign = vshrq_n_s16(coeff, 15); in vp9_quantize_fp_32x32_neon() local 226 qcoeff = veorq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon() 227 qcoeff = vsubq_s16(qcoeff, coeff_sign); in vp9_quantize_fp_32x32_neon()
|
/external/libvpx/libvpx/test/ |
D | vp9_quantize_test.cc | 187 int coeff_sign[16]; in quant_fp_nz() local 193 coeff_sign[y] = (coeff >> 31); in quant_fp_nz() 194 abs_coeff[y] = (coeff ^ coeff_sign[y]) - coeff_sign[y]; in quant_fp_nz() 216 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()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
|