Home
last modified time | relevance | path

Searched refs:C2Handle (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/codec2/vndk/internal/
DC2HandleIonInternal.h24 struct C2HandleIon : public C2Handle {
27 : C2Handle(cHeader), in C2HandleIon()
31 static bool IsValid(const C2Handle * const o);
34 static bool isValid(const C2Handle * const o) { return IsValid(o); } in isValid()
58 version = sizeof(C2Handle)
61 const static C2Handle cHeader;
DC2BlockInternal.h125 const C2Handle *handle);
137 const C2Handle *handle);
149 const C2Handle *handle,
162 const C2Handle *handle,
/frameworks/av/media/codec2/vndk/include/
DC2AllocatorGralloc.h34 native_handle_t *UnwrapNativeCodec2GrallocHandle(const C2Handle *const handle);
43 C2Handle *WrapNativeCodec2GrallocHandle(
62 const C2Handle *const handle,
79 const C2Handle *handle,
88 virtual bool checkHandle(const C2Handle* const o) const override { return CheckHandle(o); } in checkHandle()
90 static bool CheckHandle(const C2Handle* const o);
93 static bool isValid(const C2Handle* const o) { return CheckHandle(o); } in isValid()
DC2AllocatorBlob.h40 const C2Handle *handle,
47 virtual bool checkHandle(const C2Handle* const o) const override { return CheckHandle(o); } in checkHandle()
49 static bool CheckHandle(const C2Handle* const o);
52 static bool isValid(const C2Handle* const o) { return CheckHandle(o); } in isValid()
DC2AllocatorIon.h51 const C2Handle *handle,
60 virtual bool checkHandle(const C2Handle* const o) const override { return CheckHandle(o); } in checkHandle()
62 static bool CheckHandle(const C2Handle* const o);
65 static bool isValid(const C2Handle* const o) { return CheckHandle(o); } in isValid()
DC2DmaBufAllocator.h39 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) override;
45 virtual bool checkHandle(const C2Handle* const o) const override { return CheckHandle(o); } in checkHandle()
47 static bool CheckHandle(const C2Handle* const o);
/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp55 struct C2HandleBuf : public C2Handle {
57 : C2Handle(cHeader), in C2HandleBuf()
61 static bool IsValid(const C2Handle* const o);
84 version = sizeof(C2Handle)
87 const static C2Handle cHeader;
90 const C2Handle C2HandleBuf::cHeader = {
94 bool C2HandleBuf::IsValid(const C2Handle* const o) { in IsValid()
110 virtual const C2Handle* handle() const override;
253 const C2Handle* C2DmaBufAllocation::handle() const { in handle()
415 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) { in priorLinearAllocation()
[all …]
DC2AllocatorBlob.cpp37 c2_status_t GetCapacityFromHandle(const C2Handle* const grallocHandle, size_t* capacity) { in GetCapacityFromHandle()
64 const C2Handle* handle() const override { return mGraphicAllocation->handle(); } in handle()
197 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) { in priorLinearAllocation()
215 const C2Handle* const grallocHandle = graphicAllocation->handle(); in priorLinearAllocation()
240 bool C2AllocatorBlob::CheckHandle(const C2Handle* const o) { in CheckHandle()
DC2AllocatorGralloc.cpp90 class C2HandleGralloc : public C2Handle {
112 const ExtraData* GetExtraData(const C2Handle *const handle) { in GetExtraData()
123 ExtraData *GetExtraData(C2Handle *const handle) { in GetExtraData()
124 return const_cast<ExtraData *>(GetExtraData(const_cast<const C2Handle *const>(handle))); in GetExtraData()
135 static bool IsValid(const C2Handle *const o) { in IsValid()
203 const C2Handle *const handle) { in UnwrapNativeHandle()
216 const C2Handle *const handle, in Import()
320 native_handle_t *UnwrapNativeCodec2GrallocHandle(const C2Handle *const handle) { in UnwrapNativeCodec2GrallocHandle()
324 C2Handle *WrapNativeCodec2GrallocHandle( in WrapNativeCodec2GrallocHandle()
349 virtual const C2Handle *handle() const override { return mLockedHandle ? : mHandle; } in handle()
[all …]
DC2AllocatorIon.cpp74 const C2Handle C2HandleIon::cHeader = {
82 bool C2HandleIon::IsValid(const C2Handle * const o) { in IsValid()
101 virtual const C2Handle *handle() const override;
271 const C2Handle *handle() const { in handle()
463 const C2Handle *C2AllocationIon::handle() const { in handle()
606 const C2Handle *handle, std::shared_ptr<C2LinearAllocation> *allocation) { in priorLinearAllocation()
629 bool C2AllocatorIon::CheckHandle(const C2Handle* const o) { in CheckHandle()
DC2Buffer.cpp142 const C2Handle *handle() const { in handle()
202 const C2Handle *C2Block1D::handle() const { in handle()
398 const C2Handle *handle) { in CreateLinearBlock()
425 const C2Handle *cHandle, const std::shared_ptr<BufferPoolData> &data) { in CreateLinearBlock()
503 const C2Handle *handle,
511 const C2Handle *handle,
654 const C2Handle *handle, in priorLinearAllocation()
660 const C2Handle *handle, in priorGraphicAllocation()
830 const C2Handle *handle() const { in handle()
992 const C2Handle *C2Block2D::handle() const { in handle()
[all …]
/frameworks/av/media/codec2/core/include/
Dandroid-C2Buffer.h24 typedef ::native_handle_t C2Handle; typedef
DC2Buffer.h31 typedef void* C2Handle; typedef
674 const C2Handle *handle __unused, in priorLinearAllocation()
734 const C2Handle *handle __unused, in priorGraphicAllocation()
755 virtual bool checkHandle(const C2Handle *const handle) const = 0;
832 virtual const C2Handle *handle() const = 0;
1136 const C2Handle *handle() const;
1923 virtual const C2Handle *handle() const = 0;
1954 const C2Handle *handle() const;
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.h408 const C2Handle *const handle,
425 const C2Handle *const handle);
DCodec2Buffer.cpp754 C2Handle *handle = WrapNativeCodec2GrallocHandle( in asC2Buffer()
1024 Gralloc4Buffer(const C2Handle *const handle) : mBuffer(nullptr) { in Gralloc4Buffer()
1068 const C2Handle *const handle, in GetHdrMetadataFromGralloc4Handle()
1165 const C2Handle *const handle) { in SetMetadataToGralloc4Handle()
DC2OMXNode.cpp403 C2Handle *handle = nullptr; in emptyBuffer()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp650 const C2Handle* handle, in _addBaseBlock()
716 const C2Handle* handle, in addBaseBlock()
1460 const C2Handle *sC2Handle = in objcpy()
1461 reinterpret_cast<const C2Handle*>(sHandle); in objcpy()
DInputSurfaceConnection.cpp196 C2Handle* handle = WrapNativeCodec2GrallocHandle( in submitBuffer()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp126 const C2Handle *handle) { in CreateGraphicBlock()
528 C2Handle *c2Handle = android::WrapNativeCodec2GrallocHandle( in fetchFromIgbp_l()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp465 const C2Handle *handle() const override { return nullptr; } in handle()
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp656 const C2Handle *c2Handle = in processLoop()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp748 const C2Handle *c2Handle = c2Buffer->data().graphicBlocks().front().handle(); in getOutputFrame()
2489 C2Handle *handle = WrapNativeCodec2GrallocHandle( in android_media_MediaCodec_native_queueHardwareBuffer()