Searched refs:maxUsage (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 96 C2MemoryUsage maxUsage = {C2MemoryUsage::CPU_READ | C2MemoryUsage::READ_PROTECTED, in C2AllocatorBlob() local 98 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob()
|
D | C2AllocatorIon.cpp | 461 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; 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()
|
D | C2Store.cpp | 152 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForIonAllocator() local 167 maxUsage = 0; in UseComponentStoreForIonAllocator() 169 maxUsage |= v.u64; in UseComponentStoreForIonAllocator() 197 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator()
|
D | C2AllocatorGralloc.cpp | 687 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/sfplugin/ |
D | CCodec.cpp | 2125 const std::vector<std::string> &names, uint64_t *minUsage, uint64_t *maxUsage) { in CalculateMinMaxUsage() argument 2128 *maxUsage = ~0ull; in CalculateMinMaxUsage() 2144 *maxUsage = 0; in CalculateMinMaxUsage() 2152 *maxUsage &= currentMaxUsage; in CalculateMinMaxUsage() 2172 uint64_t maxUsage = ~0ull; in CanFetchLinearBlock() local 2179 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchLinearBlock() 2180 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchLinearBlock() 2207 uint64_t maxUsage = ~0ull; in FetchLinearBlock() local 2213 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchLinearBlock() 2214 if ((maxUsage & minUsage) != minUsage) { in FetchLinearBlock() [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2AllocatorIon.h | 76 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);
|