Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_dsp/x86/
Dquantize_sse2.c61 __m128i zbin; in vpx_quantize_b_sse2() local
69 zbin = _mm_load_si128((const __m128i*)zbin_ptr); in vpx_quantize_b_sse2()
73 zbin = _mm_sub_epi16(zbin, pw_1); in vpx_quantize_b_sse2()
95 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); in vpx_quantize_b_sse2()
96 zbin = _mm_unpackhi_epi64(zbin, zbin); // Switch DC to AC in vpx_quantize_b_sse2()
97 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); in vpx_quantize_b_sse2()
173 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); in vpx_quantize_b_sse2()
174 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); in vpx_quantize_b_sse2()
Dquantize_avx_x86_64.asm16 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
41 mova m0, [zbinq] ; m0 = zbin
62 paddw m0, m4 ; m0 = zbin - 1
66 pcmpgtw m7, m6, m0 ; m7 = c[i] >= zbin
68 pcmpgtw m12, m11, m0 ; m12 = c[i] >= zbin
70 ; Check if all coeffs are less than zbin. If yes, we just write zeros
194 DEFINE_ARGS coeff, ncoeff, skip, zbin, round, quant, shift, \
204 mova m0, [zbinq] ; m0 = zbin
255 pcmpgtw m7, m6, m0 ; m7 = c[i] >= zbin
257 pcmpgtw m12, m11, m0 ; m12 = c[i] >= zbin
[all …]
Dquantize_ssse3_x86_64.asm20 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
33 mova m0, [zbinq] ; m0 = zbin
81 pcmpgtw m7, m6, m0 ; m7 = c[i] >= zbin
83 pcmpgtw m12, m11, m0 ; m12 = c[i] >= zbin
181 pcmpgtw m7, m6, m0 ; m7 = c[i] >= zbin
182 pcmpgtw m12, m11, m0 ; m12 = c[i] >= zbin
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c204 p->zbin, p->round, p->quant, p->quant_shift, in vp9_regular_quantize_b_4x4()
214 p->zbin, p->round, p->quant, p->quant_shift, in vp9_regular_quantize_b_4x4()
321 x->plane[0].zbin = quants->y_zbin[qindex]; in vp9_init_plane_quantizers()
325 x->plane[0].quant_thred[0] = x->plane[0].zbin[0] * x->plane[0].zbin[0]; in vp9_init_plane_quantizers()
326 x->plane[0].quant_thred[1] = x->plane[0].zbin[1] * x->plane[0].zbin[1]; in vp9_init_plane_quantizers()
334 x->plane[i].zbin = quants->uv_zbin[qindex]; in vp9_init_plane_quantizers()
338 x->plane[i].quant_thred[0] = x->plane[i].zbin[0] * x->plane[i].zbin[0]; in vp9_init_plane_quantizers()
339 x->plane[i].quant_thred[1] = x->plane[i].zbin[1] * x->plane[i].zbin[1]; in vp9_init_plane_quantizers()
Dvp9_encodemb.c346 vp9_highbd_quantize_fp_32x32(coeff, 1024, x->skip_block, p->zbin, in vp9_xform_quant_fp()
354 vp9_highbd_quantize_fp(coeff, 256, x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
361 vp9_highbd_quantize_fp(coeff, 64, x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
368 vp9_highbd_quantize_fp(coeff, 16, x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
383 vp9_quantize_fp_32x32(coeff, 1024, x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
390 vp9_quantize_fp(coeff, 256, x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
397 x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
404 vp9_quantize_fp(coeff, 16, x->skip_block, p->zbin, p->round_fp, in vp9_xform_quant_fp()
517 vpx_highbd_quantize_b_32x32(coeff, 1024, x->skip_block, p->zbin, in vp9_xform_quant()
524 vpx_highbd_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, in vp9_xform_quant()
[all …]
Dvp9_block.h39 int16_t *zbin; member
Dvp9_pickmode.c616 vp9_quantize_fp_32x32(coeff, 1024, x->skip_block, p->zbin, in block_yrd()
623 vp9_quantize_fp(coeff, 256, x->skip_block, p->zbin, p->round_fp, in block_yrd()
630 vp9_quantize_fp(coeff, 64, x->skip_block, p->zbin, p->round_fp, in block_yrd()
637 vp9_quantize_fp(coeff, 16, x->skip_block, p->zbin, p->round_fp, in block_yrd()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dquantize_msa.c15 static int8_t fast_quantize_b_msa(int16_t *coeff_ptr, int16_t *zbin, in fast_quantize_b_msa() argument
89 int16_t *zbin, in exact_regular_quantize_b_msa()
128 LD_SH2(zbin, 8, coeff0, coeff1); in exact_regular_quantize_b_msa()
217 int16_t *zbin_ptr = b->zbin; in vp8_fast_quantize_b_msa()
232 int16_t *zbin_ptr = b->zbin; in vp8_regular_quantize_b_msa()
/external/libvpx/libvpx/vp8/encoder/
Dvp8_quantize.c55 int zbin; in vp8_regular_quantize_b_c() local
59 short *zbin_ptr = b->zbin; in vp8_regular_quantize_b_c()
78 zbin = zbin_ptr[rc] + *zbin_boost_ptr + zbin_oq_value; in vp8_regular_quantize_b_c()
84 if (x >= zbin) in vp8_regular_quantize_b_c()
429 x->block[i].zbin = cpi->Y1zbin[QIndex]; in vp8cx_mb_init_quantizer()
443 x->block[i].zbin = cpi->UVzbin[QIndex]; in vp8cx_mb_init_quantizer()
455 x->block[24].zbin = cpi->Y2zbin[QIndex]; in vp8cx_mb_init_quantizer()
Dblock.h45 short *zbin; member
Dethreading.c376 z->block[i].zbin = x->block[i].zbin; in setup_mbby_copy()
/external/libvpx/libvpx/vp8/encoder/x86/
Dquantize_sse4.c43 __m128i zbin0 = _mm_load_si128((__m128i *)(b->zbin)); in vp8_regular_quantize_b_sse4_1()
44 __m128i zbin1 = _mm_load_si128((__m128i *)(b->zbin + 8)); in vp8_regular_quantize_b_sse4_1()
Dvp8_enc_stubs_mmx.c32 short *zbin_ptr = b->zbin; in vp8_fast_quantize_b_mmx()
Dvp8_quantize_sse2.c49 __m128i zbin0 = _mm_load_si128((__m128i *)(b->zbin)); in vp8_regular_quantize_b_sse2()
50 __m128i zbin1 = _mm_load_si128((__m128i *)(b->zbin + 8)); in vp8_regular_quantize_b_sse2()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_quantize_ssse3_x86_64.asm21 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc35 int skip_block, const int16_t *zbin,