Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp2122 const std::vector<std::string> &names, uint64_t *minUsage, uint64_t *maxUsage) { in CalculateMinMaxUsage() argument
2124 *minUsage = 0; in CalculateMinMaxUsage()
2144 *minUsage |= supported.values[0].u64; in CalculateMinMaxUsage()
2168 uint64_t minUsage = usage.expected; in CanFetchLinearBlock() local
2176 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchLinearBlock()
2177 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchLinearBlock()
2203 uint64_t minUsage = usage.expected; in FetchLinearBlock() local
2210 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchLinearBlock()
2211 if ((maxUsage & minUsage) != minUsage) { in FetchLinearBlock()
2221 c2_status_t err = pool->fetchLinearBlock(capacity, C2MemoryUsage{minUsage}, &block); in FetchLinearBlock()
[all …]
/frameworks/av/media/codec2/vndk/
DC2AllocatorBlob.cpp95 C2MemoryUsage minUsage = {0, 0}; in C2AllocatorBlob() local
98 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob()
DC2AllocatorIon.cpp460 C2MemoryUsage minUsage = { 0, 0 }; in C2AllocatorIon() local
462 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon()
490 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
497 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage) in setUsageMapper()
DC2Store.cpp151 uint64_t minUsage = 0; in UseComponentStoreForIonAllocator() local
166 minUsage = fsv.values[0].u64; in UseComponentStoreForIonAllocator()
197 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator()
DC2AllocatorGralloc.cpp687 C2MemoryUsage minUsage = { 0, 0 }, maxUsage = { ~(uint64_t)0, ~(uint64_t)0 }; in Impl() local
688 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl()
/frameworks/av/media/codec2/vndk/include/
DC2AllocatorIon.h76 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);