Searched refs:coeff0 (Results 1 – 2 of 2) sorted by relevance
/external/webp/src/dsp/ |
D | enc_sse2.c | 695 __m128i coeff0, coeff8; in QuantizeBlockSSE2() local 720 coeff0 = _mm_xor_si128(in0, sign0); in QuantizeBlockSSE2() 722 coeff0 = _mm_sub_epi16(coeff0, sign0); in QuantizeBlockSSE2() 726 coeff0 = _mm_add_epi16(coeff0, sharpen0); in QuantizeBlockSSE2() 730 coeff0 = _mm_min_epi16(coeff0, max_coeff_2047); in QuantizeBlockSSE2() 737 __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in QuantizeBlockSSE2() 738 __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in QuantizeBlockSSE2() 777 __m128i cmp0 = _mm_cmpgt_epi16(coeff0, zthresh0); in QuantizeBlockSSE2()
|
/external/webp/src/enc/ |
D | quant.c | 474 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()
|