Searched refs:coeff0 (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | enc_sse41.c | 217 __m128i coeff0 = _mm_abs_epi16(in0); in DoQuantizeBlock_SSE41() local 224 coeff0 = _mm_add_epi16(coeff0, sharpen0); in DoQuantizeBlock_SSE41() 232 const __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in DoQuantizeBlock_SSE41() 233 const __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in DoQuantizeBlock_SSE41()
|
A D | enc_msa.c | 235 v8i16 coeff0, coeff1; in CollectHistogram_MSA() local 238 LD_SH2(&out[0], 8, coeff0, coeff1); in CollectHistogram_MSA() 239 coeff0 = __msa_add_a_h(coeff0, zero); in CollectHistogram_MSA() 241 SRAI_H2_SH(coeff0, coeff1, 3); in CollectHistogram_MSA() 242 coeff0 = __msa_min_s_h(coeff0, max_coeff_thr); in CollectHistogram_MSA() 244 ST_SH2(coeff0, coeff1, &out[0], 8); in CollectHistogram_MSA()
|
A D | enc_sse2.c | 1225 __m128i coeff0, coeff8; in DoQuantizeBlock_SSE2() local 1242 coeff0 = _mm_xor_si128(in0, sign0); in DoQuantizeBlock_SSE2() 1244 coeff0 = _mm_sub_epi16(coeff0, sign0); in DoQuantizeBlock_SSE2() 1251 coeff0 = _mm_add_epi16(coeff0, sharpen0); in DoQuantizeBlock_SSE2() 1259 const __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in DoQuantizeBlock_SSE2() 1260 const __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in DoQuantizeBlock_SSE2()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | quant_enc.c | 645 const uint32_t coeff0 = (sign ? -in[j] : in[j]) + mtx->sharpen_[j]; in TrellisQuantizeBlock() local 646 int level0 = QUANTDIV(coeff0, iQ, B); in TrellisQuantizeBlock() 647 int thresh_level = QUANTDIV(coeff0, iQ, BIAS(0x80)); in TrellisQuantizeBlock() 678 const int new_error = coeff0 - level * Q; in TrellisQuantizeBlock() 680 kWeightTrellis[j] * (new_error * new_error - coeff0 * coeff0); in TrellisQuantizeBlock()
|
Completed in 16 milliseconds