• Home
  • Raw
  • Download

Lines Matching refs:retriever

82 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte…  in getRetriever()  local
83 return retriever; in getRetriever()
86 static void setRetriever(JNIEnv* env, jobject thiz, const sp<MediaMetadataRetriever> &retriever) in setRetriever() argument
90 if (retriever != NULL) { in setRetriever()
91 retriever->incStrong(thiz); in setRetriever()
98 env->SetLongField(thiz, fields.context, (jlong) retriever.get()); in setRetriever()
107 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() local
108 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
154 retriever->setDataSource( in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
166 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceFD() local
167 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceFD()
189 …process_media_retriever_call(env, retriever->setDataSource(fd, offset, length), "java/lang/Runtime… in android_media_MediaMetadataRetriever_setDataSourceFD()
195 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceCallback() local
196 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceCallback()
206 …process_media_retriever_call(env, retriever->setDataSource(callbackDataSource), "java/lang/Runtime… in android_media_MediaMetadataRetriever_setDataSourceCallback()
390 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getFrameAtTime() local
391 if (retriever == 0) { in android_media_MediaMetadataRetriever_getFrameAtTime()
398 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option); in android_media_MediaMetadataRetriever_getFrameAtTime()
414 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getImageAtIndex() local
415 if (retriever == 0) { in android_media_MediaMetadataRetriever_getImageAtIndex()
424 sp<IMemory> frameMemory = retriever->getImageAtIndex(index, colorFormat); in android_media_MediaMetadataRetriever_getImageAtIndex()
443 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() local
444 if (retriever == 0) { in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
454 sp<IMemory> frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
468 frameMemory = retriever->getImageAtIndex( in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
497 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getFrameAtIndex() local
498 if (retriever == 0) { in android_media_MediaMetadataRetriever_getFrameAtIndex()
507 status_t err = retriever->getFrameAtIndex(&frames, frameIndex, numFrames, colorFormat); in android_media_MediaMetadataRetriever_getFrameAtIndex()
539 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getEmbeddedPicture() local
540 if (retriever == 0) { in android_media_MediaMetadataRetriever_getEmbeddedPicture()
549 sp<IMemory> albumArtMemory = retriever->extractAlbumArt(); in android_media_MediaMetadataRetriever_getEmbeddedPicture()
574 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_extractMetadata() local
575 if (retriever == 0) { in android_media_MediaMetadataRetriever_extractMetadata()
579 const char* value = retriever->extractMetadata(keyCode); in android_media_MediaMetadataRetriever_extractMetadata()
695 sp<MediaMetadataRetriever> retriever = new MediaMetadataRetriever(); in android_media_MediaMetadataRetriever_native_setup() local
696 if (retriever == 0) { in android_media_MediaMetadataRetriever_native_setup()
700 setRetriever(env, thiz, retriever); in android_media_MediaMetadataRetriever_native_setup()