Searched refs:AVHardwareAllocator (Results 1 – 3 of 3) sorted by relevance
29 #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::AVHardwareAllocator60 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 …]
24 class AVHardwareAllocator : public AVAllocator {27 ~AVHardwareAllocator() override;38 AVHardwareAllocator();
1425 EXPECT_EQ(std::static_pointer_cast<AVHardwareAllocator>(allocator_)->memFlag_, memFlag_);1485 EXPECT_EQ(std::static_pointer_cast<AVHardwareAllocator>(allocator_)->memFlag_, memFlag_);