Home
last modified time | relevance | path

Searched refs:coeff0 (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/enc/
Ddsp_sse2.c692 __m128i coeff0, coeff8; in QuantizeBlockSSE2() local
717 coeff0 = _mm_xor_si128(in0, sign0); in QuantizeBlockSSE2()
719 coeff0 = _mm_sub_epi16(coeff0, sign0); in QuantizeBlockSSE2()
723 coeff0 = _mm_add_epi16(coeff0, sharpen0); in QuantizeBlockSSE2()
727 coeff0 = _mm_min_epi16(coeff0, max_coeff_2047); in QuantizeBlockSSE2()
734 __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in QuantizeBlockSSE2()
735 __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in QuantizeBlockSSE2()
774 __m128i cmp0 = _mm_cmpgt_epi16(coeff0, zthresh0); in QuantizeBlockSSE2()
Dquant.c474 int coeff0 = (sign ? -in[j] : in[j]) + mtx->sharpen_[j]; in TrellisQuantizeBlock() local
476 if (coeff0 > 2047) coeff0 = 2047; in TrellisQuantizeBlock()
478 level0 = QUANTDIV(coeff0, iQ, B); in TrellisQuantizeBlock()
498 new_error = coeff0 - level * Q; in TrellisQuantizeBlock()
500 kWeightTrellis[j] * (coeff0 * coeff0 - new_error * new_error); in TrellisQuantizeBlock()