Home
last modified time | relevance | path

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

/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp422 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decodeAsync() local
427 if (frameMemory == nullptr || frameMemory->pointer() == nullptr) { in decodeAsync()
432 mFrameMemory = frameMemory; in decodeAsync()
457 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decode() local
460 if (frameMemory == nullptr || frameMemory->pointer() == nullptr) { in decode()
465 VideoFrame* videoFrame = static_cast<VideoFrame*>(frameMemory->pointer()); in decode()
477 mFrameMemory = frameMemory; in decode()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp397 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option); in android_media_MediaMetadataRetriever_getFrameAtTime() local
398 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object in android_media_MediaMetadataRetriever_getFrameAtTime()
399 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); in android_media_MediaMetadataRetriever_getFrameAtTime()
423 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex() local
424 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object in android_media_MediaMetadataRetriever_getImageAtIndex()
425 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); in android_media_MediaMetadataRetriever_getImageAtIndex()
453 sp<IMemory> frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
455 if (frameMemory != 0) { in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
456 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
467 frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
[all …]