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

/hardware/google/av/codec2/vndk/include/
H A DC2AllocatorIon.h69 * \param maxUsage maximum buffer usage supported by the ion allocator (defaults to SW_READ
76 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);
/hardware/google/av/codec2/vndk/
H A DC2AllocatorIon.cpp421 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; local
422 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage };
450 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) {
457 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage)
449 setUsageMapper( const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) argument
H A DC2Store.cpp131 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; local
146 maxUsage = 0;
148 maxUsage |= v.u64;
176 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize);
H A DC2AllocatorGralloc.cpp584 C2MemoryUsage minUsage = { 0, 0 }, maxUsage = { ~(uint64_t)0, ~(uint64_t)0 }; local
585 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage };

Completed in 77 milliseconds