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.cpp398 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option); in android_media_MediaMetadataRetriever_getFrameAtTime() local
399 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object in android_media_MediaMetadataRetriever_getFrameAtTime()
400 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); in android_media_MediaMetadataRetriever_getFrameAtTime()
424 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex() local
425 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object in android_media_MediaMetadataRetriever_getImageAtIndex()
426 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); in android_media_MediaMetadataRetriever_getImageAtIndex()
454 sp<IMemory> frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
456 if (frameMemory != 0) { in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
457 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer()); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
468 frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
[all …]