/frameworks/av/media/codec2/core/include/ |
D | C2BufferBase.h | 63 CPU_WRITE = 1 << 2, enumerator 78 PLATFORM_MASK = ~(CPU_READ | CPU_WRITE | READ_PROTECTED | WRITE_PROTECTED),
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 248 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in allocateLinear() 261 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in mapLinear() 294 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in allocateGraphic() 306 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in mapGraphic() 381 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 522 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 611 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 615 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 623 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() 629 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in TEST_F() [all …]
|
/frameworks/av/media/codec2/hidl/services/ |
D | vendor.cpp | 117 {C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}), in Interface() 130 … C2F(mDmaBufUsageInfo, usage).flags({C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}), in Interface()
|
/frameworks/av/media/codec2/vndk/ |
D | C2DmaBufAllocator.cpp | 190 if (usage.expected & C2MemoryUsage::CPU_WRITE) { in map() 295 C2MemoryUsage maxUsage = {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}; in C2DmaBufAllocator() 344 !(usage.expected & (C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE))) in mapUsage()
|
D | C2AllocatorIon.cpp | 199 if (usage.expected & C2MemoryUsage::CPU_WRITE) { in map() 487 C2MemoryUsage maxUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in C2AllocatorIon() 547 if (usage.expected & (C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE)) { in mapUsage()
|
D | C2Store.cpp | 187 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForIonAllocator() 240 uint64_t maxUsage = C2MemoryUsage(C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE).expected; in UseComponentStoreForDmaBufAllocator() 866 !(usage & (C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE))) { in Interface() 880 … C2F(mIonUsageInfo, usage).flags({C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}), in Interface() 893 … C2F(mDmaBufUsageInfo, m.usage).flags({C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}), in Interface()
|
D | C2AllocatorBlob.cpp | 157 C2MemoryUsage::CPU_WRITE}; in C2AllocatorBlob()
|
D | C2AllocatorGralloc.cpp | 58 ((usage & GRALLOC_USAGE_SW_WRITE_MASK) ? C2MemoryUsage::CPU_WRITE : 0) | in FromGrallocUsage() 66 ((expected & C2MemoryUsage::CPU_WRITE) ? GRALLOC_USAGE_SW_WRITE_OFTEN : 0) | in asGrallocUsage()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 183 frameSize, {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block); in encodeFrames() 200 {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block); in encodeFrames()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | FrameReassembler_test.cpp | 135 const C2MemoryUsage FrameReassemblerTest::kUsage{C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE};
|
D | CCodecBuffers_test.cpp | 57 C2MemoryUsage{C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block)); in TEST() 181 C2MemoryUsage{C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block)); in TEST() 315 C2MemoryUsage{C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block); in TEST()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 113 alignedSize, {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block); in decodeFrames()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 370 C2MemoryUsage usage = {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}; in process() 566 C2MemoryUsage usage = {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}; in drainInternal()
|
D | C2SoftOpusDec.cpp | 378 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.cpp | 179 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 507 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process() 572 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 796 C2MemoryUsage usage{usageValue | C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}; in Alloc() 829 mUsage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; 1030 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in toArrayMode() 1044 C2MemoryUsage usage{usageValue | C2MemoryUsage::CPU_READ | C2MemoryUsage::CPU_WRITE}; in createNewBuffer()
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 210 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 215 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
D | C2SoftAmrDec.cpp | 297 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
D | C2SoftAmrWbEnc.cpp | 297 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/frameworks/av/media/codec2/fuzzer/ |
D | C2Fuzzer.cpp | 276 alignedSize, {C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE}, &block); in decodeFrames()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.cpp | 285 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 346 { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }, in play()
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.cpp | 389 C2MemoryUsage usage = { C2MemoryUsage::CPU_READ, C2MemoryUsage::CPU_WRITE }; in process()
|