Searched refs:frameMemory (Results 1 – 2 of 2) sorted by relevance
383 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option, colorFormat); in android_media_MediaMetadataRetriever_getFrameAtTime() local388 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() local415 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() local449 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 …]
506 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decodeAsync() local511 if (frameMemory == nullptr || frameMemory->unsecurePointer() == nullptr) { in decodeAsync()516 mFrameMemory = frameMemory; in decodeAsync()551 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decode() local554 if (frameMemory == nullptr || frameMemory->unsecurePointer() == nullptr) { in decode()563 VideoFrame* videoFrame = static_cast<VideoFrame*>(frameMemory->unsecurePointer()); in decode()568 mFrameMemory = frameMemory; in decode()