/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 68 class C2Fence { 125 constexpr C2Fence() : mImpl(nullptr) { } in C2Fence() function 130 C2Fence(std::shared_ptr<Impl> impl); 147 C2Fence fence() const; 173 c2_status_t merge(std::vector<C2Fence> fences); 216 class C2Acquirable : public C2Fence { 231 …C2Acquirable(c2_status_t error, C2Fence fence, T t) : C2Fence(fence), mInitialError(error), mT(t) … in C2Acquirable() 779 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence /* nullable */, 802 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fence /* nullable */) = 0; 1133 C2Fence fence() const { return mFence; } in fence() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 57 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence* fence, 59 c2_status_t unmap(void* addr, size_t size, C2Fence* fenceFd) override; 82 C2Fence* fence, void** addr /* nonnull */) { in map() 88 c2_status_t C2AllocationBlob::unmap(void* addr, size_t size, C2Fence* fenceFd) { in unmap()
|
D | C2AllocatorIon.cpp | 91 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, 93 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override; 175 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 210 c2_status_t unmap(void *addr, size_t size, C2Fence *fence) { in unmap() 226 *fence = C2Fence(); // not using fences in unmap() 408 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 412 c2_status_t C2AllocationIon::unmap(void *addr, size_t size, C2Fence *fence) { in unmap()
|
D | C2Buffer.cpp | 273 …k::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range, C2Fence fence) in C2ConstLinearBlock() 289 return AcquirableReadViewBuddy(error, C2Fence(), ReadViewBuddy(rvi, 0, len)); in map() 291 return AcquirableReadViewBuddy(error, C2Fence(), ReadViewBuddy(error)); in map() 319 return AcquirableWriteViewBuddy(error, C2Fence(), WriteViewBuddy(rvi)); in map() 321 return AcquirableWriteViewBuddy(error, C2Fence(), WriteViewBuddy(error)); in map() 325 C2ConstLinearBlock C2LinearBlock::share(size_t offset_, size_t size_, C2Fence fence) { in share() 878 Mapped(const std::shared_ptr<_C2Block2DImpl> &impl, bool writable, C2Fence *fence __unused) in Mapped() 960 std::shared_ptr<Mapped> map(bool writable, C2Fence *fence) { in map() 972 *fence = C2Fence(); in map() 1064 std::shared_ptr<Impl> impl, const _C2PlanarSectionAspect §ion, C2Fence fence) in C2ConstGraphicBlock() [all …]
|
D | C2AllocatorGralloc.cpp | 256 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, 259 uint8_t **addr /* nonnull */, C2Rect rect, C2Fence *fence /* nullable */) override; 339 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map() 621 uint8_t **addr, C2Rect rect, C2Fence *fence /* nullable */) { in unmap()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.h | 42 : C2Buffer({block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer() 45 : C2Buffer({block->share(block->offset(), size, ::C2Fence())}) {} in LinearBuffer() 51 : C2Buffer({block->share(C2Rect(block->width(), block->height()), ::C2Fence())}) {} in GraphicBuffer()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 400 C2Fence fence; in TEST_F() 544 C2Fence fence; in TEST_F() 626 …std::shared_ptr<C2BufferData> data(new BufferData({ linearBlock1->share(0, kCapacity1, C2Fence()) … in TEST_F() 633 linearBlock1->share(0, kCapacity1, C2Fence()), in TEST_F() 634 linearBlock2->share(0, kCapacity2, C2Fence()), in TEST_F() 642 data.reset(new BufferData({ graphicBlock1->share(kCrop1, C2Fence()) })); in TEST_F() 649 graphicBlock1->share(kCrop1, C2Fence()), in TEST_F() 650 graphicBlock2->share(kCrop2, C2Fence()), in TEST_F() 685 std::shared_ptr<C2Buffer> buffer(new Buffer( { block->share(0, kCapacity, C2Fence()) })); in TEST_F() 692 buffer.reset(new Buffer( { block->share(0, kCapacity, C2Fence()) })); in TEST_F() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecLinearBlock.h | 55 return C2Buffer::CreateLinearBuffer(mBlock->share(offset, size, C2Fence{})); in toC2Buffer()
|
D | android_media_MediaCodec.cpp | 2256 block->crop(), C2Fence{})); in android_media_MediaCodec_native_queueHardwareBuffer()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 49 block->crop(), C2Fence{})); in TEST()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 147 return C2Buffer::CreateLinearBuffer(mBlock->share(offset(), size(), C2Fence())); in asC2Buffer() 568 mBlock->share(C2Rect(width, height), C2Fence())); in asC2Buffer() 613 block->share(C2Rect(buffer->width, buffer->height), C2Fence())); in asC2Buffer() 794 return C2Buffer::CreateLinearBuffer(mBlock->share(offset(), size(), C2Fence())); in asC2Buffer()
|
D | C2OMXNode.cpp | 407 C2Rect(block->width(), block->height()), ::C2Fence()))); in emptyBuffer()
|
D | CCodecBufferChannel.cpp | 485 block->share(codecDataOffset, result - codecDataOffset, C2Fence{}))}; in attachEncryptedBuffer()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | types.cpp | 761 bool objcpy(hidl_handle* d, const C2Fence& s) { in objcpy() 1192 bool objcpy(C2Fence* d, const hidl_handle& s) { in objcpy() 1195 *d = C2Fence(); in objcpy() 1204 const C2Fence& fence) { in createLinearBuffer() 1234 const C2Fence& fence) { in createGraphicBuffer() 1291 C2Fence dFence; in objcpy()
|
D | InputSurfaceConnection.cpp | 218 C2Rect(block->width(), block->height()), ::C2Fence())), in submitBuffer()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 598 return C2Buffer::CreateLinearBuffer(block->share(offset, size, ::C2Fence())); in createLinearBuffer() 608 return C2Buffer::CreateGraphicBuffer(block->share(crop, ::C2Fence())); in createGraphicBuffer()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 70 : C2Buffer({ block->share(block->offset(), block->size(), ::C2Fence()) }) {} in LinearBuffer()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 54 : C2Buffer({block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer() 57 : C2Buffer({block->share(block->offset(), size, ::C2Fence())}) {} in LinearBuffer()
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 41 : C2Buffer({block->share(C2Rect(block->width(), block->height()), ::C2Fence())}) {} in GraphicBuffer()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 47 : C2Buffer({block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer()
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 48 : C2Buffer({block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 3532 c2Buffer = C2Buffer::CreateLinearBuffer(block->share(0, csd->size(), C2Fence{})); in queueCSDInputBuffer()
|