Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp383 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option, colorFormat); in android_media_MediaMetadataRetriever_getFrameAtTime() local
388 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object in android_media_MediaMetadataRetriever_getFrameAtTime()
389 videoFrame = static_cast<VideoFrame *>(frameMemory->unsecurePointer()); in android_media_MediaMetadataRetriever_getFrameAtTime()
414 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex() local
415 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object in android_media_MediaMetadataRetriever_getImageAtIndex()
420 videoFrame = static_cast<VideoFrame *>(frameMemory->unsecurePointer()); in android_media_MediaMetadataRetriever_getImageAtIndex()
447 sp<IMemory> frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
449 if (frameMemory != 0) { in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
454 videoFrame = static_cast<VideoFrame *>(frameMemory->unsecurePointer()); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
465 frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
[all …]
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp506 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decodeAsync() local
511 if (frameMemory == nullptr || frameMemory->unsecurePointer() == nullptr) { in decodeAsync()
516 mFrameMemory = frameMemory; in decodeAsync()
551 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decode() local
554 if (frameMemory == nullptr || frameMemory->unsecurePointer() == nullptr) { in decode()
563 VideoFrame* videoFrame = static_cast<VideoFrame*>(frameMemory->unsecurePointer()); in decode()
568 mFrameMemory = frameMemory; in decode()