Lines Matching refs:retriever
73 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever() local
74 return retriever; in getRetriever()
77 static void setRetriever(JNIEnv* env, jobject thiz, MediaMetadataRetriever* retriever) in setRetriever() argument
81 env->SetLongField(thiz, fields.context, (jlong) retriever); in setRetriever()
90 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() local
91 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
137 retriever->setDataSource( in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
149 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceFD() local
150 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceFD()
172 …process_media_retriever_call(env, retriever->setDataSource(fd, offset, length), "java/lang/Runtime… in android_media_MediaMetadataRetriever_setDataSourceFD()
233 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getFrameAtTime() local
234 if (retriever == 0) { in android_media_MediaMetadataRetriever_getFrameAtTime()
241 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option); in android_media_MediaMetadataRetriever_getFrameAtTime()
322 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_getEmbeddedPicture() local
323 if (retriever == 0) { in android_media_MediaMetadataRetriever_getEmbeddedPicture()
332 sp<IMemory> albumArtMemory = retriever->extractAlbumArt(); in android_media_MediaMetadataRetriever_getEmbeddedPicture()
357 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_extractMetadata() local
358 if (retriever == 0) { in android_media_MediaMetadataRetriever_extractMetadata()
362 const char* value = retriever->extractMetadata(keyCode); in android_media_MediaMetadataRetriever_extractMetadata()
375 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_release() local
376 delete retriever; in android_media_MediaMetadataRetriever_release()
448 MediaMetadataRetriever* retriever = new MediaMetadataRetriever(); in android_media_MediaMetadataRetriever_native_setup() local
449 if (retriever == 0) { in android_media_MediaMetadataRetriever_native_setup()
453 setRetriever(env, thiz, retriever); in android_media_MediaMetadataRetriever_native_setup()