Home
last modified time | relevance | path

Searched refs:AVHardwareAllocator (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_hardware_memory.cpp29 #define HARDWARE_ALLOCATOR std::static_pointer_cast<AVHardwareAllocator>(allocator_)
41 auto allocator = std::shared_ptr<AVHardwareAllocator>(new AVHardwareAllocator()); in CreateHardwareAllocator()
49 AVHardwareAllocator::AVHardwareAllocator() in AVHardwareAllocator() function in OHOS::Media::AVHardwareAllocator
60 AVHardwareAllocator::~AVHardwareAllocator() in ~AVHardwareAllocator()
68 void *AVHardwareAllocator::Alloc(int32_t capacity) in Alloc()
78 bool AVHardwareAllocator::Free(void *ptr) in Free()
97 MemoryType AVHardwareAllocator::GetMemoryType() in GetMemoryType()
102 MemoryFlag AVHardwareAllocator::GetMemFlag() in GetMemFlag()
107 int32_t AVHardwareAllocator::GetFileDescriptor() in GetFileDescriptor()
112 bool AVHardwareAllocator::GetIsSecure() in GetIsSecure()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/include/
H A Dav_hardware_allocator.h24 class AVHardwareAllocator : public AVAllocator {
27 ~AVHardwareAllocator() override;
38 AVHardwareAllocator();
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davbuffer_func_unit_test.cpp1425 EXPECT_EQ(std::static_pointer_cast<AVHardwareAllocator>(allocator_)->memFlag_, memFlag_);
1485 EXPECT_EQ(std::static_pointer_cast<AVHardwareAllocator>(allocator_)->memFlag_, memFlag_);