Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_sse2.c27 __m128i zbins[2]; in aom_highbd_quantize_b_sse2() local
30 zbins[0] = _mm_set_epi32((int)zbin_ptr[1], (int)zbin_ptr[1], (int)zbin_ptr[1], in aom_highbd_quantize_b_sse2()
32 zbins[1] = _mm_set1_epi32((int)zbin_ptr[1]); in aom_highbd_quantize_b_sse2()
36 nzbins[0] = _mm_sub_epi32(nzbins[0], zbins[0]); in aom_highbd_quantize_b_sse2()
37 nzbins[1] = _mm_sub_epi32(nzbins[1], zbins[1]); in aom_highbd_quantize_b_sse2()
49 cmp1 = _mm_cmplt_epi32(coeffs, zbins[i != 0]); in aom_highbd_quantize_b_sse2()
69 tmp1 = _mm_cmpgt_epi32(coeffs, zbins[i != 0]); in aom_highbd_quantize_b_sse2()
70 tmp2 = _mm_cmpeq_epi32(coeffs, zbins[i != 0]); in aom_highbd_quantize_b_sse2()
98 __m128i zbins[2]; in aom_highbd_quantize_b_32x32_sse2() local
106 zbins[0] = _mm_set_epi32(zbin1_tmp, zbin1_tmp, zbin1_tmp, zbin0_tmp); in aom_highbd_quantize_b_32x32_sse2()
[all …]
Dadaptive_quantize_sse2.c241 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_quantize_b_32x32_adaptive_sse2() local
248 thresh[i] = (zbins[i] * wt + prescan_add[i]) - 1; in aom_quantize_b_32x32_adaptive_sse2()
417 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_quantize_b_32x32_adaptive_sse2()
449 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_quantize_b_64x64_adaptive_sse2() local
456 thresh[i] = (zbins[i] * wt + prescan_add[i]) - 1; in aom_quantize_b_64x64_adaptive_sse2()
625 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_quantize_b_64x64_adaptive_sse2()
Dhighbd_adaptive_quantize_sse2.c324 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_highbd_quantize_b_32x32_adaptive_sse2() local
331 thresh[i] = (zbins[i] * wt + prescan_add[i]) - 1; in aom_highbd_quantize_b_32x32_adaptive_sse2()
508 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_highbd_quantize_b_32x32_adaptive_sse2()
540 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_highbd_quantize_b_64x64_adaptive_sse2() local
547 thresh[i] = (zbins[i] * wt + prescan_add[i]) - 1; in aom_highbd_quantize_b_64x64_adaptive_sse2()
724 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_highbd_quantize_b_64x64_adaptive_sse2()
Dhighbd_adaptive_quantize_avx2.c295 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_highbd_quantize_b_32x32_adaptive_avx2() local
300 thresh[i] = (zbins[i] * wt + prescan_add[i]) - 1; in aom_highbd_quantize_b_32x32_adaptive_avx2()
449 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_highbd_quantize_b_32x32_adaptive_avx2()
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_sse2.c29 __m128i zbins[2]; in vpx_highbd_quantize_b_sse2() local
32 zbins[0] = _mm_set_epi32((int)zbin_ptr[1], (int)zbin_ptr[1], (int)zbin_ptr[1], in vpx_highbd_quantize_b_sse2()
34 zbins[1] = _mm_set1_epi32((int)zbin_ptr[1]); in vpx_highbd_quantize_b_sse2()
38 nzbins[0] = _mm_sub_epi32(nzbins[0], zbins[0]); in vpx_highbd_quantize_b_sse2()
39 nzbins[1] = _mm_sub_epi32(nzbins[1], zbins[1]); in vpx_highbd_quantize_b_sse2()
53 cmp1 = _mm_cmplt_epi32(coeffs, zbins[i != 0]); in vpx_highbd_quantize_b_sse2()
73 tmp1 = _mm_cmpgt_epi32(coeffs, zbins[i != 0]); in vpx_highbd_quantize_b_sse2()
74 tmp2 = _mm_cmpeq_epi32(coeffs, zbins[i != 0]); in vpx_highbd_quantize_b_sse2()
102 __m128i zbins[2]; in vpx_highbd_quantize_b_32x32_sse2() local
113 zbins[0] = _mm_set_epi32(zbin1_tmp, zbin1_tmp, zbin1_tmp, zbin0_tmp); in vpx_highbd_quantize_b_32x32_sse2()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dquantize.c125 const int zbins[2] = { zbin_ptr[0], zbin_ptr[1] }; in vpx_quantize_b_c() local
126 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in vpx_quantize_b_c()
139 if (coeff < zbins[rc != 0] && coeff > nzbins[rc != 0]) in vpx_quantize_b_c()
153 if (abs_coeff >= zbins[rc != 0]) { in vpx_quantize_b_c()
176 const int zbins[2] = { zbin_ptr[0], zbin_ptr[1] }; in vpx_highbd_quantize_b_c() local
177 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in vpx_highbd_quantize_b_c()
190 if (coeff < zbins[rc != 0] && coeff > nzbins[rc != 0]) in vpx_highbd_quantize_b_c()
204 if (abs_coeff >= zbins[rc != 0]) { in vpx_highbd_quantize_b_c()
224 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], 1), in vpx_quantize_b_32x32_c() local
226 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in vpx_quantize_b_32x32_c()
[all …]
/external/libaom/libaom/aom_dsp/
Dquantize.c23 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_quantize_b_adaptive_helper_c() local
25 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in aom_quantize_b_adaptive_helper_c()
42 if (coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val) && in aom_quantize_b_adaptive_helper_c()
62 if (abs_coeff * wt >= (zbins[rc != 0] << AOM_QM_BITS)) { in aom_quantize_b_adaptive_helper_c()
95 if (coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val) && in aom_quantize_b_adaptive_helper_c()
116 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_quantize_b_helper_c() local
118 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in aom_quantize_b_helper_c()
131 if (coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS)) && in aom_quantize_b_helper_c()
148 if (abs_coeff * wt >= (zbins[rc != 0] << AOM_QM_BITS)) { in aom_quantize_b_helper_c()
178 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_highbd_quantize_b_adaptive_helper_c() local
[all …]