Searched refs:AVSharedMemoryExt (Results 1 – 4 of 4) sorted by relevance
75 AVSharedMemoryExt::AVSharedMemoryExt() : fd_(-1), isFirstFlag_(true), memFlag_(MemoryFlag::MEMORY_R… in AVSharedMemoryExt() function in OHOS::Media::AVSharedMemoryExt77 AVSharedMemoryExt::~AVSharedMemoryExt() in ~AVSharedMemoryExt()91 Status AVSharedMemoryExt::Init() in Init()105 Status AVSharedMemoryExt::Init(MessageParcel &parcel) in Init()117 bool AVSharedMemoryExt::WriteToMessageParcel(MessageParcel &parcel) in WriteToMessageParcel()143 uint8_t *AVSharedMemoryExt::GetAddr() in GetAddr()153 MemoryType AVSharedMemoryExt::GetMemoryType() in GetMemoryType()158 MemoryFlag AVSharedMemoryExt::GetMemoryFlag() in GetMemoryFlag()163 int32_t AVSharedMemoryExt::GetFileDescriptor() in GetFileDescriptor()168 void AVSharedMemoryExt::UnMapMemoryAddr() noexcept in UnMapMemoryAddr()[all …]
76 mem = std::shared_ptr<AVMemory>(new AVSharedMemoryExt()); in CreateAVMemory()127 mem = std::shared_ptr<AVMemory>(new AVSharedMemoryExt()); in CreateAVMemory()
25 class AVSharedMemoryExt : public AVMemory {27 AVSharedMemoryExt();28 ~AVSharedMemoryExt() override;
344 …EXPECT_EQ(std::static_pointer_cast<AVSharedMemoryExt>(buffer_->memory_)->allocator_->GetMemoryType…384 …EXPECT_EQ(std::static_pointer_cast<AVSharedMemoryExt>(buffer_->memory_)->allocator_->GetMemoryType…432 EXPECT_GT(std::static_pointer_cast<AVSharedMemoryExt>(buffer_->memory_)->fd_, 0);