/frameworks/av/media/codec2/vndk/ |
D | C2DmaBufAllocator.cpp | 298 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()
|
D | C2AllocatorIon.cpp | 491 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()
|
D | C2AllocatorBlob.cpp | 155 C2MemoryUsage minUsage = {0, 0}; in C2AllocatorBlob() local 158 Traits traits = {"android.allocator.blob", id, LINEAR, minUsage, maxUsage}; in C2AllocatorBlob()
|
D | C2Store.cpp | 197 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()
|
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/sfplugin/ |
D | CCodec.cpp | 3276 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/ |
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);
|