Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp298 C2MemoryUsage minUsage = {0, 0}; in C2DmaBufAllocator() local
300 Traits traits = {"android.allocator.dmabuf", id, LINEAR, minUsage, maxUsage}; in C2DmaBufAllocator()
319 void C2DmaBufAllocator::setUsageMapper(const UsageMapperFn& mapper __unused, uint64_t minUsage, in setUsageMapper() argument
325 Traits traits = {mTraits->name, mTraits->id, LINEAR, C2MemoryUsage(minUsage), in setUsageMapper()
DC2AllocatorIon.cpp491 C2MemoryUsage minUsage = { 0, 0 }; 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()
DC2AllocatorBlob.cpp155 C2MemoryUsage minUsage = {0, 0}; in C2AllocatorBlob() local
158 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob()
DC2Store.cpp197 uint64_t minUsage = 0; in UseComponentStoreForIonAllocator() local
212 minUsage = fsv.values[0].u64; in UseComponentStoreForIonAllocator()
243 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator()
250 uint64_t minUsage = 0; in UseComponentStoreForDmaBufAllocator() local
268 minUsage = fsv.values[0].u64; in UseComponentStoreForDmaBufAllocator()
302 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForDmaBufAllocator()
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/sfplugin/
DCCodec.cpp3276 const std::vector<std::string> &names, uint64_t *minUsage, uint64_t *maxUsage) { in CalculateMinMaxUsage() argument
3278 *minUsage = 0; in CalculateMinMaxUsage()
3299 *minUsage |= supported.values[1].u64; in CalculateMinMaxUsage()
3301 *minUsage |= supported.values[0].u64; in CalculateMinMaxUsage()
3333 uint64_t minUsage = 0; in CanFetchLinearBlock() local
3335 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in CanFetchLinearBlock()
3336 minUsage |= usage.expected; in CanFetchLinearBlock()
3337 *isCompatible = ((maxUsage & minUsage) == minUsage); in CanFetchLinearBlock()
3369 uint64_t minUsage = 0; in FetchLinearBlock() local
3371 CalculateMinMaxUsage(names, &minUsage, &maxUsage); in FetchLinearBlock()
[all …]
/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);