Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Drate_hist.c33 struct hist_bucket bucket[RATE_BINS]; member
57 hist->bucket[i].low = INT_MAX; in init_rate_histogram()
58 hist->bucket[i].high = 0; in init_rate_histogram()
59 hist->bucket[i].count = 0; in init_rate_histogram()
112 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram()
113 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram()
114 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram()
115 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram()
116 hist->bucket[idx].count++; in update_rate_histogram()
120 static int merge_hist_buckets(struct hist_bucket *bucket, in merge_hist_buckets() argument
[all …]
/hardware/intel/img/libdrm/libdrm/
Dxf86drmHash.c177 HashBucketPtr bucket; in drmHashDestroy() local
184 for (bucket = table->buckets[i]; bucket;) { in drmHashDestroy()
185 next = bucket->next; in drmHashDestroy()
186 HASH_FREE(bucket); in drmHashDestroy()
187 bucket = next; in drmHashDestroy()
202 HashBucketPtr bucket; in HashFind() local
206 for (bucket = table->buckets[hash]; bucket; bucket = bucket->next) { in HashFind()
207 if (bucket->key == key) { in HashFind()
210 prev->next = bucket->next; in HashFind()
211 bucket->next = table->buckets[hash]; in HashFind()
[all …]
/hardware/intel/img/libdrm/libdrm/intel/
Dintel_bufmgr_gem.c201 struct drm_intel_gem_bo_bucket *bucket = &bufmgr_gem->cache_bucket[i]; in drm_intel_gem_bo_bucket_for_size() local
202 if (bucket->size >= size) { in drm_intel_gem_bo_bucket_for_size()
203 return bucket; in drm_intel_gem_bo_bucket_for_size()
327 struct drm_intel_gem_bo_bucket *bucket; in drm_intel_gem_bo_alloc_internal() local
332 bucket = drm_intel_gem_bo_bucket_for_size(bufmgr_gem, size); in drm_intel_gem_bo_alloc_internal()
337 if (bucket == NULL) { in drm_intel_gem_bo_alloc_internal()
342 bo_size = bucket->size; in drm_intel_gem_bo_alloc_internal()
347 if (bucket != NULL && !DRMLISTEMPTY(&bucket->head)) { in drm_intel_gem_bo_alloc_internal()
353 bo_gem = DRMLISTENTRY(drm_intel_bo_gem, bucket->head.prev, head); in drm_intel_gem_bo_alloc_internal()
363 bo_gem = DRMLISTENTRY(drm_intel_bo_gem, bucket->head.next, head); in drm_intel_gem_bo_alloc_internal()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
Dgscan.h96 int bucket; // bucket index, 0 based member
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp435 nlattr * bucket = request.attr_start(i); // next bucket in createSetupRequest() local
436 result = request.put_u32(GSCAN_ATTRIBUTE_BUCKET_ID, mParams->buckets[i].bucket); in createSetupRequest()
473 request.attr_end(bucket); in createSetupRequest()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dgscan.cpp313 bucketSpec.bucket) || in wifi_start_gscan()