Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_noise_estimate.c163 unsigned int hist[MAX_VAR_HIST_BINS] = { 0 }; in vp9_update_noise_estimate()
164 unsigned int hist_avg[MAX_VAR_HIST_BINS]; in vp9_update_noise_estimate()
226 if (hist_index < MAX_VAR_HIST_BINS) in vp9_update_noise_estimate()
228 else if (hist_index < 3 * (MAX_VAR_HIST_BINS >> 1)) in vp9_update_noise_estimate()
229 hist[MAX_VAR_HIST_BINS - 1]++; // Account for the tail in vp9_update_noise_estimate()
247 if (hist[0] > 10 && (hist[MAX_VAR_HIST_BINS - 1] > hist[0] >> 2)) { in vp9_update_noise_estimate()
255 hist[MAX_VAR_HIST_BINS - 1] >>= 1; in vp9_update_noise_estimate()
259 for (bin_cnt = 0; bin_cnt < MAX_VAR_HIST_BINS; bin_cnt++) { in vp9_update_noise_estimate()
262 else if (bin_cnt == MAX_VAR_HIST_BINS - 1) in vp9_update_noise_estimate()
263 hist_avg[bin_cnt] = hist[MAX_VAR_HIST_BINS - 1] >> 2; in vp9_update_noise_estimate()
[all …]
Dvp9_noise_estimate.h26 #define MAX_VAR_HIST_BINS 20 macro