Searched refs:frameMem (Results 1 – 2 of 2) sorted by relevance
115 sp<IMemory> frameMem = new MemoryBase(heap, 0, size); in allocVideoFrame() local116 if (frameMem == NULL || frameMem->unsecurePointer() == NULL) { in allocVideoFrame()123 return frameMem; in allocVideoFrame()639 sp<IMemory> frameMem = allocVideoFrame( in onOutputReceived() local647 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() local911 if (frameMem == nullptr) { in onOutputReceived()915 mFrame = static_cast<VideoFrame*>(frameMem->unsecurePointer()); in onOutputReceived()[all …]
82 void setFrame(const sp<IMemory> &frameMem) { mFrameMemory = frameMem; } in setFrame()