Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/vndk/include/
DC2AllocatorGralloc.h31 uint32_t ExtractFormatFromCodec2GrallocHandle(const C2Handle *const handle);
39 const C2Handle *const handle,
51 native_handle_t *UnwrapNativeCodec2GrallocHandle(const C2Handle *const handle);
60 C2Handle *WrapNativeCodec2GrallocHandle(
79 const C2Handle *const handle,
90 C2Handle *WrapNativeCodec2AhwbHandle(
108 const C2Handle *handle,
117 virtual bool checkHandle(const C2Handle* const o) const override { return CheckHandle(o); } in checkHandle()
119 static bool CheckHandle(const C2Handle* const o);
122 static bool isValid(const C2Handle* const o) { return CheckHandle(o); } in isValid()
[all …]
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/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.h144 const C2Handle *handle);
156 const C2Handle *handle);
169 const C2Handle *handle,
182 const C2Handle *handle,
221 const C2Handle *handle,
234 const C2Handle *handle,
/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;
254 const C2Handle* C2DmaBufAllocation::handle() const { in handle()
416 const C2Handle* handle, std::shared_ptr<C2LinearAllocation>* allocation) { in priorLinearAllocation()
[all …]
DC2AllocatorGralloc.cpp95 class C2HandleGralloc : public C2Handle {
117 const ExtraData* GetExtraData(const C2Handle *const handle) { in GetExtraData()
128 ExtraData *GetExtraData(C2Handle *const handle) { in GetExtraData()
129 return const_cast<ExtraData *>(GetExtraData(const_cast<const C2Handle *const>(handle))); in GetExtraData()
140 static bool IsValid(const C2Handle *const o) { in IsValid()
191 static uint32_t getPixelFormat(const C2Handle *const handle) { in getPixelFormat()
216 const C2Handle *const handle) { in UnwrapNativeHandle()
229 const C2Handle *const handle, in Import()
249 class C2HandleAhwb : public C2Handle {
270 const ExtraData* GetExtraData(const C2Handle *const handle) { in GetExtraData()
[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()
DC2AllocatorIon.cpp74 const C2Handle C2HandleIon::cHeader = {
82 bool C2HandleIon::IsValid(const C2Handle * const o) { in IsValid()
101 virtual const C2Handle *handle() const override;
272 const C2Handle *handle() const { in handle()
464 const C2Handle *C2AllocationIon::handle() const { in handle()
607 const C2Handle *handle, std::shared_ptr<C2LinearAllocation> *allocation) { in priorLinearAllocation()
630 bool C2AllocatorIon::CheckHandle(const C2Handle* const o) { in CheckHandle()
DC2Buffer.cpp174 const C2Handle *handle() const { in handle()
234 const C2Handle *C2Block1D::handle() const { in handle()
461 const C2Handle *handle) { in CreateLinearBlock()
488 const C2Handle *cHandle, const std::shared_ptr<bufferpool::BufferPoolData> &data) { in CreateLinearBlock()
519 const C2Handle *cHandle, const std::shared_ptr<bufferpool2::BufferPoolData> &data) { in CreateLinearBlock()
598 const C2Handle *handle,
606 const C2Handle *handle,
751 const C2Handle *handle, in priorLinearAllocation()
757 const C2Handle *handle, in priorGraphicAllocation()
909 const C2Handle *handle,
[all …]
/frameworks/av/media/codec2/core/include/
Dandroid-C2Buffer.h24 typedef ::native_handle_t C2Handle; typedef
DC2Buffer.h31 typedef void* C2Handle; typedef
677 const C2Handle *handle __unused, in priorLinearAllocation()
737 const C2Handle *handle __unused, in priorGraphicAllocation()
758 virtual bool checkHandle(const C2Handle *const handle) const = 0;
835 virtual const C2Handle *handle() const = 0;
1131 const C2Handle *handle() const;
1918 virtual const C2Handle *handle() const = 0;
1949 const C2Handle *handle() const;
/frameworks/av/media/codec2/hal/aidl/
DBufferTypes.cpp78 const C2Handle *sC2Handle = in objcpy()
79 reinterpret_cast<const C2Handle*>(sHandle); in objcpy()
203 void SetHandle(BaseBlock *block, const C2Handle *handle) { in SetHandle()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.h419 const C2Handle *const handle,
436 const C2Handle *const handle);
DCodec2Buffer.cpp796 C2Handle *handle = WrapNativeCodec2GrallocHandle( in asC2Buffer()
1084 GrallocBuffer(const C2Handle *const handle) : mBuffer(nullptr) { in GrallocBuffer()
1128 const C2Handle *const handle, in GetHdrMetadataFromGralloc4Handle()
1205 const C2Handle *const handle) { in SetMetadataToGralloc4Handle()
DC2NodeImpl.cpp296 C2Handle *handle = nullptr; in submitBuffer()
DCCodecBuffers.cpp1525 const C2Handle *const handle = data.graphicBlocks().front().handle(); in extractPixelFormatFromC2Buffer()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
Dtypes.cpp134 const C2Handle *sC2Handle = in objcpy()
135 reinterpret_cast<const C2Handle*>(sHandle); in objcpy()
208 void SetHandle(BaseBlock *block, const C2Handle *handle) { in SetHandle()
DInputSurfaceConnection.cpp196 C2Handle* handle = WrapNativeCodec2GrallocHandle( in submitBuffer()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h64 void SetHandle(BaseBlock *baseBlock, const C2Handle *handle);
85 const C2Handle* handle, in _addBaseBlock()
174 const C2Handle* handle, in addBaseBlock()
/frameworks/av/media/codec2/vndk/platform/
DC2IgbaBuffer.cpp51 C2Handle *c2Handle = android::WrapNativeCodec2AhwbHandle( in CreateGraphicBlockFromAhwb()
DC2BqBuffer.cpp130 const C2Handle *handle) { in CreateGraphicBlock()
544 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/hal/plugin/samples/
DSampleFilterPlugin.cpp688 const C2Handle *c2Handle = in processLoop()

12