Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp299 C2MemoryUsage maxUsage = {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}; in C2DmaBufAllocator() local
300 Traits traits = {"android.allocator.dmabuf", id, LINEAR, minUsage, maxUsage}; in C2DmaBufAllocator()
320 uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
326 C2MemoryUsage(maxUsage)}; in setUsageMapper()
DC2AllocatorIon.cpp492 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in C2AllocatorIon() local
493 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon()
521 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
528 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage) in setUsageMapper()
DC2Store.cpp198 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForIonAllocator() local
213 maxUsage = 0; in UseComponentStoreForIonAllocator()
215 maxUsage |= v.u64; in UseComponentStoreForIonAllocator()
243 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator()
251 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForDmaBufAllocator() local
269 maxUsage = 0; in UseComponentStoreForDmaBufAllocator()
271 maxUsage |= v.u64; in UseComponentStoreForDmaBufAllocator()
302 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForDmaBufAllocator()
DC2AllocatorBlob.cpp156 C2MemoryUsage maxUsage = {C2MemoryUsage::CPU_READ | C2MemoryUsage::READ_PROTECTED, in C2AllocatorBlob() local
158 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob()
DC2AllocatorGralloc.cpp1205 C2MemoryUsage minUsage = { 0, 0 }, maxUsage = { ~(uint64_t)0, ~(uint64_t)0 }; in Impl() local
1206 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl()
1537 C2MemoryUsage minUsage = { 0, 0 }, maxUsage = { ~(uint64_t)0, ~(uint64_t)0 }; in Impl() local
1538 Traits traits = { "android.allocator.ahwb", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl()
/frameworks/av/media/codec2/vndk/include/
DC2DmaBufAllocator.h84 void setUsageMapper(const UsageMapperFn& mapper, uint64_t minUsage, uint64_t maxUsage,
DC2AllocatorIon.h81 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp3276 const std::vector<std::string> &names, uint64_t *minUsage, uint64_t *maxUsage) { in CalculateMinMaxUsage() argument
3279 *maxUsage = ~0ull; in CalculateMinMaxUsage()
3295 *maxUsage = 0; in CalculateMinMaxUsage()
3307 *maxUsage &= currentMaxUsage; in CalculateMinMaxUsage()
3334 uint64_t maxUsage = ~0ull; in CanFetchLinearBlock() local
3335 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchLinearBlock()
3337 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchLinearBlock()
3370 uint64_t maxUsage = ~0ull; in FetchLinearBlock() local
3371 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchLinearBlock()
3373 if ((maxUsage & minUsage) != minUsage) { in FetchLinearBlock()
[all …]