Lines Matching refs:minUsage

3276         const std::vector<std::string> &names, uint64_t *minUsage, uint64_t *maxUsage) {  in CalculateMinMaxUsage()  argument
3278 *minUsage = 0; in CalculateMinMaxUsage()
3299 *minUsage |= supported.values[1].u64; in CalculateMinMaxUsage()
3301 *minUsage |= supported.values[0].u64; in CalculateMinMaxUsage()
3333 uint64_t minUsage = 0; in CanFetchLinearBlock() local
3335 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchLinearBlock()
3336 minUsage |= usage.expected; in CanFetchLinearBlock()
3337 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchLinearBlock()
3369 uint64_t minUsage = 0; in FetchLinearBlock() local
3371 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchLinearBlock()
3372 minUsage |= usage.expected; in FetchLinearBlock()
3373 if ((maxUsage & minUsage) != minUsage) { in FetchLinearBlock()
3383 c2_status_t err = pool->fetchLinearBlock(capacity, C2MemoryUsage{minUsage}, &block); in FetchLinearBlock()
3396 uint64_t minUsage = 0; in CanFetchGraphicBlock() local
3404 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchGraphicBlock()
3405 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchGraphicBlock()
3421 uint64_t minUsage = 0; in FetchGraphicBlock() local
3428 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchGraphicBlock()
3429 minUsage |= usage; in FetchGraphicBlock()
3430 if ((maxUsage & minUsage) != minUsage) { in FetchGraphicBlock()
3442 width, height, halPixelFormat, C2MemoryUsage{minUsage}, &block); in FetchGraphicBlock()