Home
last modified time | relevance | path

Searched refs:HARDWARE_ALLOCATOR (Results 1 - 1 of 1) sorted by relevance

/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_hardware_memory.cpp29 #define HARDWARE_ALLOCATOR std::static_pointer_cast<AVHardwareAllocator>(allocator_) macro
169 fd_ = HARDWARE_ALLOCATOR->GetFileDescriptor(); in Init()
170 memFlag_ = HARDWARE_ALLOCATOR->GetMemFlag(); in Init()
173 FALSE_RETURN_V_MSG_E(base_ != nullptr || HARDWARE_ALLOCATOR->GetIsSecure(), Status::ERROR_NO_MEMORY, in Init()
192 fd_ = HARDWARE_ALLOCATOR->GetFileDescriptor(); in Init()
205 FALSE_RETURN_V_MSG_E(!HARDWARE_ALLOCATOR->GetIsSecure(), false, "AVHardwareAllocator is secure"); in WriteToMessageParcel()

Completed in 1 milliseconds