Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp497 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in C2AllocatorIon() local
498 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon()
526 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
533 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage) in setUsageMapper()
DC2Store.cpp141 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForIonAllocator() local
156 maxUsage = 0; in UseComponentStoreForIonAllocator()
158 maxUsage |= v.u64; in UseComponentStoreForIonAllocator()
186 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator()
DC2AllocatorGralloc.cpp916 C2MemoryUsage minUsage = { 0, 0 }, maxUsage = { ~(uint64_t)0, ~(uint64_t)0 }; in Impl() local
917 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);