/hardware/google/av/codec2/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; 1130 C2Fence fence() const { return mFence; } in fence() [all …]
|
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 127 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, 129 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override; 231 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 291 c2_status_t unmap(void *addr, size_t size, C2Fence *fence) { in unmap() 307 *fence = C2Fence(); // not using fences in unmap() 369 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 373 c2_status_t C2AllocationIon::unmap(void *addr, size_t size, C2Fence *fence) { in unmap()
|
D | C2Buffer.cpp | 270 …k::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range, C2Fence fence) in C2ConstLinearBlock() 286 return AcquirableReadViewBuddy(error, C2Fence(), ReadViewBuddy(rvi, 0, len)); in map() 288 return AcquirableReadViewBuddy(error, C2Fence(), ReadViewBuddy(error)); in map() 316 return AcquirableWriteViewBuddy(error, C2Fence(), WriteViewBuddy(rvi)); in map() 318 return AcquirableWriteViewBuddy(error, C2Fence(), WriteViewBuddy(error)); in map() 322 C2ConstLinearBlock C2LinearBlock::share(size_t offset_, size_t size_, C2Fence fence) { in share() 846 Mapped(const std::shared_ptr<_C2Block2DImpl> &impl, bool writable, C2Fence *fence __unused) in Mapped() 928 std::shared_ptr<Mapped> map(bool writable, C2Fence *fence) { in map() 940 *fence = C2Fence(); in map() 1032 std::shared_ptr<Impl> impl, const _C2PlanarSectionAspect §ion, C2Fence fence) in C2ConstGraphicBlock() [all …]
|
D | C2AllocatorGralloc.cpp | 278 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, 281 uint8_t **addr /* nonnull */, C2Rect rect, C2Fence *fence /* nullable */) override; 347 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map() 559 uint8_t **addr, C2Rect rect, C2Fence *fence /* nullable */) { in unmap()
|
/hardware/google/av/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 …]
|
/hardware/google/av/media/sfplugin/ |
D | Codec2Buffer.cpp | 148 return C2Buffer::CreateLinearBuffer(mBlock->share(offset(), size(), C2Fence())); in asC2Buffer() 558 mBlock->share(C2Rect(width, height), C2Fence())); in asC2Buffer() 598 block->share(C2Rect(buffer->width, buffer->height), C2Fence())); in asC2Buffer() 771 return C2Buffer::CreateLinearBuffer(mBlock->share(offset(), size(), C2Fence())); in asC2Buffer()
|
D | C2OMXNode.cpp | 277 C2Rect(block->width(), block->height()), ::C2Fence())), in emptyBuffer()
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | types.cpp | 672 Status objcpy(hidl_handle* d, const C2Fence& s) { in objcpy() 1060 c2_status_t objcpy(C2Fence* d, const hidl_handle& s) { in objcpy() 1063 *d = C2Fence(); in objcpy() 1072 const C2Fence& fence) { in createLinearBuffer() 1102 const C2Fence& fence) { in createGraphicBuffer() 1159 C2Fence dFence; in objcpy()
|
D | InputSurfaceConnection.cpp | 192 C2Rect(block->width(), block->height()), ::C2Fence())), in submitBuffer()
|
/hardware/google/av/media/codecs/base/ |
D | SimpleC2Component.cpp | 556 return C2Buffer::CreateLinearBuffer(block->share(offset, size, ::C2Fence())); in createLinearBuffer() 566 return C2Buffer::CreateGraphicBuffer(block->share(crop, ::C2Fence())); in createGraphicBuffer()
|
/hardware/google/av/media/codecs/cmds/ |
D | codec2.cpp | 69 : C2Buffer({ block->share(block->offset(), block->size(), ::C2Fence()) }) {} in LinearBuffer()
|
/hardware/google/av/codec2/hidl/1.0/mts/audio/ |
D | MtsHidlC2V1_0TargetAudioEncTest.cpp | 43 {block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer()
|
D | MtsHidlC2V1_0TargetAudioDecTest.cpp | 49 {block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer()
|
/hardware/google/av/codec2/hidl/1.0/mts/video/ |
D | MtsHidlC2V1_0TargetVideoEncTest.cpp | 42 ::C2Fence())}) {} in GraphicBuffer()
|
D | MtsHidlC2V1_0TargetVideoDecTest.cpp | 48 {block->share(block->offset(), block->size(), ::C2Fence())}) {} in LinearBuffer()
|