/hardware/google/av/codec2/include/ |
D | android-C2Buffer.h | 31 struct C2AndroidMemoryUsage : public C2MemoryUsage { 32 inline C2AndroidMemoryUsage(const C2MemoryUsage &usage) : C2MemoryUsage(usage) { } in C2AndroidMemoryUsage() 61 static C2MemoryUsage FromGrallocUsage(uint64_t usage);
|
D | C2BufferBase.h | 41 struct C2MemoryUsage { struct 82 inline C2MemoryUsage(uint64_t consumer, uint64_t producer) in C2MemoryUsage() argument 85 inline explicit C2MemoryUsage(uint64_t expected_) in C2MemoryUsage() argument
|
D | C2Buffer.h | 590 C2MemoryUsage minimumUsage; ///< usage that is minimally required for allocations 591 C2MemoryUsage maximumUsage; ///< usage that is maximally allowed for allocations 648 uint32_t capacity __unused, C2MemoryUsage usage __unused, in newLinearAllocation() 706 C2MemoryUsage usage __unused, in newGraphicAllocation() 779 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence /* nullable */, 897 uint32_t capacity __unused, C2MemoryUsage usage __unused, in fetchLinearBlock() 925 uint32_t capacity __unused, C2MemoryUsage usage __unused, in fetchCircularBlock() 957 C2MemoryUsage usage __unused, in fetchGraphicBlock() 1750 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, 2277 inline const C2MemoryUsage usage() const { return mUsage; } in usage() [all …]
|
/hardware/google/av/codec2/vndk/include/ |
D | C2BufferPriv.h | 41 C2MemoryUsage usage, 68 C2MemoryUsage usage, 91 C2MemoryUsage usage, 98 C2MemoryUsage usage,
|
D | C2AllocatorIon.h | 37 typedef std::function<c2_status_t(C2MemoryUsage, size_t, 47 uint32_t capacity, C2MemoryUsage usage, 79 c2_status_t mapUsage(C2MemoryUsage usage, size_t size,
|
D | C2BqBufferPriv.h | 43 C2MemoryUsage usage,
|
D | C2AllocatorGralloc.h | 64 uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage,
|
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 127 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, 231 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 247 if (usage.expected & C2MemoryUsage::CPU_READ) { in map() 250 if (usage.expected & C2MemoryUsage::CPU_WRITE) { in map() 369 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 421 C2MemoryUsage minUsage = { 0, 0 }; in C2AllocatorIon() 422 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in C2AllocatorIon() 458 C2MemoryUsage(minUsage), C2MemoryUsage(maxUsage) in setUsageMapper() 469 C2MemoryUsage usage, size_t capacity, size_t *align, unsigned *heapMask, unsigned *flags) { in mapUsage() 505 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation> *allocation) { in newLinearAllocation()
|
D | C2AllocatorGralloc.cpp | 42 static_assert((~C2MemoryUsage::PLATFORM_MASK & PASSTHROUGH_USAGE_MASK) == 0, ""); 45 C2MemoryUsage C2AndroidMemoryUsage::FromGrallocUsage(uint64_t usage) { in FromGrallocUsage() 47 return C2MemoryUsage( in FromGrallocUsage() 48 ((usage & GRALLOC_USAGE_SW_READ_MASK) ? C2MemoryUsage::CPU_READ : 0) | in FromGrallocUsage() 49 ((usage & GRALLOC_USAGE_SW_WRITE_MASK) ? C2MemoryUsage::CPU_WRITE : 0) | in FromGrallocUsage() 50 ((usage & GRALLOC_USAGE_PROTECTED) ? C2MemoryUsage::READ_PROTECTED : 0) | in FromGrallocUsage() 56 return (((expected & C2MemoryUsage::CPU_READ) ? GRALLOC_USAGE_SW_READ_OFTEN : 0) | in asGrallocUsage() 57 ((expected & C2MemoryUsage::CPU_WRITE) ? GRALLOC_USAGE_SW_WRITE_OFTEN : 0) | in asGrallocUsage() 58 ((expected & C2MemoryUsage::READ_PROTECTED) ? GRALLOC_USAGE_PROTECTED : 0) | in asGrallocUsage() 278 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, [all …]
|
D | C2Buffer.cpp | 277 offset(), len, { C2MemoryUsage::CPU_READ, 0 }, nullptr, &base); in map() 307 offset(), len, { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, nullptr, &base); in map() 332 C2MemoryUsage usage, in fetchLinearBlock() 459 void getLinearParams(uint32_t capacity, C2MemoryUsage usage, 472 uint32_t format, C2MemoryUsage usage, 504 C2MemoryUsage usage; 510 AllocParams(C2MemoryUsage usage, uint32_t capacity) in AllocParams() 513 C2MemoryUsage usage, in AllocParams() 618 uint32_t capacity, C2MemoryUsage usage, std::vector<uint8_t> *params) { in getLinearParams() 624 uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, in getGraphicParams() [all …]
|
D | C2Store.cpp | 137 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForIonAllocator() 165 mapper = [store](C2MemoryUsage usage, size_t capacity, in UseComponentStoreForIonAllocator() 615 … C2F(mIonUsageInfo, usage).flags({C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}), in Interface()
|
/hardware/google/av/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 247 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in allocateLinear() 260 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in mapLinear() 293 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in allocateGraphic() 305 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in mapGraphic() 375 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 516 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 605 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 609 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 617 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 623 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() [all …]
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacEnc.cpp | 432 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process() 498 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 185 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.cpp | 216 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 222 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
D | C2SoftAmrWbEnc.cpp | 305 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
D | C2SoftAmrDec.cpp | 303 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacDec.cpp | 273 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
D | C2SoftFlacEnc.cpp | 234 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 85 0u, (uint64_t)C2MemoryUsage::CPU_READ)) in IntfImpl() 420 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 185 C2MemoryUsage usage, in fetchFromIgbp_l() 324 C2MemoryUsage usage, in fetchGraphicBlock() 468 C2MemoryUsage usage, in fetchGraphicBlock()
|
/hardware/google/av/media/codecs/opus/ |
D | C2SoftOpusDec.cpp | 438 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/codecs/vorbis/ |
D | C2SoftVorbisDec.cpp | 391 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/hardware/google/av/media/sfplugin/ |
D | CCodecBufferChannel.cpp | 399 const C2MemoryUsage &usage, in AllocateGraphicBuffer() 831 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in alloc() 861 mUsage = { C2MemoryUsage::READ_PROTECTED, 0 }; 863 mUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; 902 C2MemoryUsage mUsage; 990 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in requestNewBuffer() 1027 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in toArrayMode()
|