Home
last modified time | relevance | path

Searched refs:mRetriever (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp74 mRetriever = retriever; in MediaMetadataRetriever()
90 retriever = mRetriever; in disconnect()
91 mRetriever.clear(); in disconnect()
105 if (mRetriever == 0) { in setDataSource()
114 return mRetriever->setDataSource(httpService, srcUrl, headers); in setDataSource()
121 if (mRetriever == 0) { in setDataSource()
129 return mRetriever->setDataSource(fd, offset, length); in setDataSource()
137 if (mRetriever == 0) { in setDataSource()
141 return mRetriever->setDataSource(dataSource, mime); in setDataSource()
150 if (mRetriever == 0) { in getFrameAtTime()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp52 mRetriever = NULL; in MetadataRetrieverClient()
78 mRetriever.clear(); in disconnect()
130 if (ret == NO_ERROR) mRetriever = p; in setDataSource()
172 if (status == NO_ERROR) mRetriever = p; in setDataSource()
189 if (ret == NO_ERROR) mRetriever = p; in setDataSource()
202 if (mRetriever == NULL) { in getFrameAtTime()
206 sp<IMemory> frame = mRetriever->getFrameAtTime(timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
220 if (mRetriever == NULL) { in getImageAtIndex()
224 sp<IMemory> frame = mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
238 if (mRetriever == NULL) { in getImageRectAtIndex()
[all …]
DMetadataRetrieverClient.h75 sp<MediaMetadataRetrieverBase> mRetriever; variable
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp88 sp<MediaMetadataRetriever> mRetriever(new MediaMetadataRetriever); in processFileInternal() local
95 status = mRetriever->setDataSource(nullService, path); in processFileInternal()
97 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL); in processFileInternal()
106 if ((value = mRetriever->extractMetadata( in processFileInternal()
140 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) { in processFileInternal()
160 sp<MediaMetadataRetriever> mRetriever(new MediaMetadataRetriever); in extractAlbumArt() local
161 if (mRetriever->setDataSource(fd, 0, size) == OK) { in extractAlbumArt()
162 sp<IMemory> mem = mRetriever->extractAlbumArt(); in extractAlbumArt()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp323 mRetriever = new MediaMetadataRetriever(); in init()
324 status_t err = mRetriever->setDataSource(mDataSource, "image/heif"); in init()
328 mRetriever.clear(); in init()
334 const char* hasImage = mRetriever->extractMetadata(METADATA_KEY_HAS_IMAGE); in init()
335 const char* hasVideo = mRetriever->extractMetadata(METADATA_KEY_HAS_VIDEO); in init()
342 sharedMem = mRetriever->getImageAtIndex( in init()
345 sharedMem = mRetriever->getFrameAtTime(0, in init()
422 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decodeAsync()
439 mRetriever.clear(); in decodeAsync()
457 sp<IMemory> frameMemory = mRetriever->getImageRectAtIndex( in decode()
[all …]
DHeifDecoderImpl.h57 sp<MediaMetadataRetriever> mRetriever; variable
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
DVideoView2ImplBaseWithMp1.java123 private MediaMetadataRetriever mRetriever; field in VideoView2ImplBaseWithMp1
879 mRetriever = new MediaMetadataRetriever(); in openVideo()
880 mRetriever.setDataSource(context, uri); in openVideo()
1091 if (mRetriever == null) { in extractMetadata()
1096 String title = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in extractMetadata()
1111 if (mRetriever == null || !isMusicMediaType()) { in extractAudioMetadata()
1119 byte[] album = mRetriever.getEmbeddedPicture(); in extractAudioMetadata()
1138 String title = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in extractAudioMetadata()
1145 String artist = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in extractAudioMetadata()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
DVideoView2ImplBase.java127 private MediaMetadataRetriever mRetriever; field in VideoView2ImplBase
938 mRetriever = new MediaMetadataRetriever(); in openVideo()
939 mRetriever.setDataSource(context, uri); in openVideo()
1161 if (mRetriever == null) { in extractMetadata()
1166 String title = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in extractMetadata()
1181 if (mRetriever == null || !mIsMusicMediaType) { in extractAudioMetadata()
1189 byte[] album = mRetriever.getEmbeddedPicture(); in extractAudioMetadata()
1208 String title = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in extractAudioMetadata()
1215 String artist = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in extractAudioMetadata()
/frameworks/av/media/libmedia/include/media/
Dmediametadataretriever.h118 sp<IMediaMetadataRetriever> mRetriever; variable
/frameworks/av/include/media/
Dmediametadataretriever.h118 sp<IMediaMetadataRetriever> mRetriever; variable
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DVideoView2Impl.java130 private MediaMetadataRetriever mRetriever; field in VideoView2Impl
752 mRetriever = new MediaMetadataRetriever(); in openVideo()
753 mRetriever.setDataSource(mInstance.getContext(), uri); in openVideo()
1028 byte[] album = mRetriever.getEmbeddedPicture(); in extractAudioMetadata()
1047 String title = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in extractAudioMetadata()
1054 String artist = mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in extractAudioMetadata()