Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Drate_hist.c122 int small_bucket = 0, merge_bucket = INT_MAX, big_bucket = 0; in merge_hist_buckets() local
143 merge_bucket = 1; in merge_hist_buckets()
145 merge_bucket = last_bucket - 1; in merge_hist_buckets()
147 merge_bucket = small_bucket - 1; in merge_hist_buckets()
149 merge_bucket = small_bucket + 1; in merge_hist_buckets()
151 assert(abs(merge_bucket - small_bucket) <= 1); in merge_hist_buckets()
154 assert(merge_bucket < buckets); in merge_hist_buckets()
156 if (merge_bucket < small_bucket) { in merge_hist_buckets()
157 bucket[merge_bucket].high = bucket[small_bucket].high; in merge_hist_buckets()
158 bucket[merge_bucket].count += bucket[small_bucket].count; in merge_hist_buckets()
[all …]