Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp295 C2MemoryUsage maxUsage = {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}; in C2DmaBufAllocator() local
296 Traits traits = {"android.allocator.dmabuf", id, LINEAR, minUsage, maxUsage}; in C2DmaBufAllocator()
316 uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
322 C2MemoryUsage(maxUsage)}; in setUsageMapper()
DC2AllocatorIon.cpp487 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in C2AllocatorIon() local
488 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon()
516 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize) { in setUsageMapper() argument
523 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage) in setUsageMapper()
DC2Store.cpp187 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForIonAllocator() local
202 maxUsage = 0; in UseComponentStoreForIonAllocator()
204 maxUsage |= v.u64; in UseComponentStoreForIonAllocator()
232 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator()
240 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForDmaBufAllocator() local
258 maxUsage = 0; in UseComponentStoreForDmaBufAllocator()
260 maxUsage |= v.u64; in UseComponentStoreForDmaBufAllocator()
291 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.cpp863 C2MemoryUsage minUsage = { 0, 0 }, maxUsage = { ~(uint64_t)0, ~(uint64_t)0 }; in Impl() local
864 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl()
/frameworks/av/media/codec2/vndk/include/
DC2AllocatorIon.h81 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);
DC2DmaBufAllocator.h84 void setUsageMapper(const UsageMapperFn& mapper, uint64_t minUsage, uint64_t maxUsage,
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp2673 const std::vector<std::string> &names, uint64_t *minUsage, uint64_t *maxUsage) { in CalculateMinMaxUsage() argument
2676 *maxUsage = ~0ull; in CalculateMinMaxUsage()
2692 *maxUsage = 0; in CalculateMinMaxUsage()
2704 *maxUsage &= currentMaxUsage; in CalculateMinMaxUsage()
2731 uint64_t maxUsage = ~0ull; in CanFetchLinearBlock() local
2732 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchLinearBlock()
2734 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchLinearBlock()
2767 uint64_t maxUsage = ~0ull; in FetchLinearBlock() local
2768 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchLinearBlock()
2770 if ((maxUsage & minUsage) != minUsage) { in FetchLinearBlock()
[all …]