• Home
  • Raw
  • Download

Lines Matching refs:rate

84   const int rate = (count >> 4) + 4 + static_cast<int>(symbol_count > 3);  in UpdateCdf()  local
110 cdf[i] += (kCdfMaxProbability - cdf[i]) >> rate; in UpdateCdf()
112 cdf[i] -= cdf[i] >> rate; in UpdateCdf()
175 const int rate = (count >> 4) + 5; in UpdateCdf5() local
186 const int16x4_t negative_rate = vdup_n_s16(-rate); in UpdateCdf5()
203 const int rate = (count >> 4) + 5; in UpdateCdf7To9() local
212 const int16x8_t negative_rate = vdupq_n_s16(-rate); in UpdateCdf7To9()
237 const int rate = (count >> 4) + 5; in UpdateCdf11() local
239 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in UpdateCdf11()
240 cdf[1] += (kCdfMaxProbability - cdf[1]) >> rate; in UpdateCdf11()
243 const int16x8_t negative_rate = vdupq_n_s16(-rate); in UpdateCdf11()
256 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in UpdateCdf11()
257 cdf[1] -= cdf[1] >> rate; in UpdateCdf11()
259 cdf[0] -= cdf[0] >> rate; in UpdateCdf11()
260 cdf[1] -= cdf[1] >> rate; in UpdateCdf11()
262 const int16x8_t negative_rate = vdupq_n_s16(-rate); in UpdateCdf11()
274 const int rate = (count >> 4) + 5; in UpdateCdf13() local
277 const int16x8_t negative_rate = vdupq_n_s16(-rate); in UpdateCdf13()
306 const int rate = (count >> 4) + 5; in UpdateCdf16() local
309 const int16x8_t negative_rate = vdupq_n_s16(-rate); in UpdateCdf16()
358 const int rate = (count >> 4) + 5; in UpdateCdf5() local
372 const __m128i delta = _mm_sra_epi16(diff, _mm_cvtsi32_si128(rate)); in UpdateCdf5()
387 const int rate = (count >> 4) + 5; in UpdateCdf7To9() local
397 const __m128i delta = _mm_sra_epi16(diff, _mm_cvtsi32_si128(rate)); in UpdateCdf7To9()
420 const int rate = (count >> 4) + 5; in UpdateCdf11() local
422 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in UpdateCdf11()
423 cdf[1] += (kCdfMaxProbability - cdf[1]) >> rate; in UpdateCdf11()
433 const __m128i delta = _mm_sra_epi16(diff, _mm_cvtsi32_si128(rate)); in UpdateCdf11()
438 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in UpdateCdf11()
439 cdf[1] -= cdf[1] >> rate; in UpdateCdf11()
441 cdf[0] -= cdf[0] >> rate; in UpdateCdf11()
442 cdf[1] -= cdf[1] >> rate; in UpdateCdf11()
444 const __m128i delta = _mm_sra_epi16(cdf_vec, _mm_cvtsi32_si128(rate)); in UpdateCdf11()
455 const int rate = (count >> 4) + 5; in UpdateCdf13() local
465 const __m128i delta = _mm_sra_epi16(diff, _mm_cvtsi32_si128(rate)); in UpdateCdf13()
475 const __m128i delta1 = _mm_sra_epi16(diff1, _mm_cvtsi32_si128(rate)); in UpdateCdf13()
485 const int rate = (count >> 4) + 5; in UpdateCdf16() local
496 const __m128i delta = _mm_sra_epi16(diff, _mm_cvtsi32_si128(rate)); in UpdateCdf16()
507 const __m128i delta1 = _mm_sra_epi16(diff1, _mm_cvtsi32_si128(rate)); in UpdateCdf16()
675 const int rate = 4 | (count >> 4); in ReadSymbol() local
677 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in ReadSymbol()
679 cdf[0] -= cdf[0] >> rate; in ReadSymbol()
850 const int rate = (count >> 4) + 4 + static_cast<int>(symbol_count == 4); in ReadSymbol3Or4() local
859 const int16x4_t negative_rate = vdup_n_s16(-rate); in ReadSymbol3Or4()
865 const __m128i delta = _mm_sra_epi16(cdf_vec, _mm_cvtsi32_si128(rate)); in ReadSymbol3Or4()
869 cdf[0] -= cdf[0] >> rate; in ReadSymbol3Or4()
870 cdf[1] -= cdf[1] >> rate; in ReadSymbol3Or4()
871 cdf[2] -= cdf[2] >> rate; in ReadSymbol3Or4()
874 cdf[0] -= cdf[0] >> rate; in ReadSymbol3Or4()
875 cdf[1] -= cdf[1] >> rate; in ReadSymbol3Or4()
892 const int rate = (count >> 4) + 4 + static_cast<int>(symbol_count == 4); in ReadSymbol3Or4() local
893 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in ReadSymbol3Or4()
894 cdf[1] -= cdf[1] >> rate; in ReadSymbol3Or4()
895 if (symbol_count == 4) cdf[2] -= cdf[2] >> rate; in ReadSymbol3Or4()
912 const int rate = (count >> 4) + 5; in ReadSymbol3Or4() local
913 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in ReadSymbol3Or4()
914 cdf[1] += (kCdfMaxProbability - cdf[1]) >> rate; in ReadSymbol3Or4()
915 cdf[2] -= cdf[2] >> rate; in ReadSymbol3Or4()
931 const int rate = (4 | (count >> 4)) + static_cast<int>(symbol_count == 4); in ReadSymbol3Or4() local
941 const int16x4_t negative_rate = vdup_n_s16(-rate); in ReadSymbol3Or4()
952 const __m128i delta = _mm_sra_epi16(diff, _mm_cvtsi32_si128(rate)); in ReadSymbol3Or4()
957 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in ReadSymbol3Or4()
958 cdf[1] += (kCdfMaxProbability - cdf[1]) >> rate; in ReadSymbol3Or4()
959 cdf[2] += (kCdfMaxProbability - cdf[2]) >> rate; in ReadSymbol3Or4()
962 cdf[0] += (kCdfMaxProbability - cdf[0]) >> rate; in ReadSymbol3Or4()
963 cdf[1] += (kCdfMaxProbability - cdf[1]) >> rate; in ReadSymbol3Or4()