/frameworks/av/media/codec2/vndk/ |
D | C2DmaBufAllocator.cpp | 299 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()
|
D | C2AllocatorIon.cpp | 492 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()
|
D | C2Store.cpp | 198 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()
|
D | C2AllocatorBlob.cpp | 156 C2MemoryUsage maxUsage = {C2MemoryUsage::CPU_READ | C2MemoryUsage::READ_PROTECTED, in C2AllocatorBlob() local 158 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob()
|
D | C2AllocatorGralloc.cpp | 1205 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/ |
D | C2DmaBufAllocator.h | 84 void setUsageMapper(const UsageMapperFn& mapper, uint64_t minUsage, uint64_t maxUsage,
|
D | C2AllocatorIon.h | 81 const UsageMapperFn &mapper, uint64_t minUsage, uint64_t maxUsage, uint64_t blockSize);
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 3276 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 …]
|