Home
last modified time | relevance | path

Searched refs:frameMem (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/av/media/libstagefright/
H A DFrameDecoder.cpp115 sp<IMemory> frameMem = new MemoryBase(heap, 0, size); in allocVideoFrame() local
116 if (frameMem == NULL || frameMem->unsecurePointer() == NULL) { in allocVideoFrame()
123 return frameMem; in allocVideoFrame()
639 sp<IMemory> frameMem = allocVideoFrame( in onOutputReceived() local
647 if (frameMem == nullptr) { in onOutputReceived()
651 mFrame = static_cast<VideoFrame*>(frameMem->unsecurePointer()); in onOutputReceived()
653 setFrame(frameMem); in onOutputReceived()
908 sp<IMemory> frameMem = allocVideoFrame( in onOutputReceived() local
911 if (frameMem == nullptr) { in onOutputReceived()
915 mFrame = static_cast<VideoFrame*>(frameMem->unsecurePointer()); in onOutputReceived()
[all …]
/aosp12/frameworks/av/media/libstagefright/include/
H A DFrameDecoder.h82 void setFrame(const sp<IMemory> &frameMem) { mFrameMemory = frameMem; } in setFrame()