Home
last modified time | relevance | path

Searched refs:persistentSurface (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp1032 sp<PersistentSurface> persistentSurface; in android_media_MediaCodec_getPersistentInputSurface() local
1037 persistentSurface = reinterpret_cast<PersistentSurface *>( in android_media_MediaCodec_getPersistentInputSurface()
1044 return persistentSurface; in android_media_MediaCodec_getPersistentInputSurface()
1050 sp<PersistentSurface> persistentSurface = in android_media_MediaCodec_createPersistentInputSurface() local
1053 if (persistentSurface == NULL) { in android_media_MediaCodec_createPersistentInputSurface()
1058 persistentSurface->getBufferProducer(), true); in android_media_MediaCodec_createPersistentInputSurface()
1085 (jlong)persistentSurface.get()); in android_media_MediaCodec_createPersistentInputSurface()
1095 persistentSurface->incStrong(&sRefBaseOwner); in android_media_MediaCodec_createPersistentInputSurface()
1103 sp<PersistentSurface> persistentSurface; in android_media_MediaCodec_releasePersistentInputSurface() local
1108 persistentSurface = reinterpret_cast<PersistentSurface *>( in android_media_MediaCodec_releasePersistentInputSurface()
[all …]
Dandroid_media_MediaRecorder.cpp520 sp<PersistentSurface> persistentSurface = get_persistentSurface(env, object); in android_media_MediaRecorder_setInputSurface() local
522 process_media_recorder_call(env, mr->setInputSurface(persistentSurface), in android_media_MediaRecorder_setInputSurface()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java230 Surface persistentSurface) { in recordVideoFromSurface() argument
252 if (persistentSurface != null) { in recordVideoFromSurface()
254 surface = persistentSurface; in recordVideoFromSurface()
258 if (persistentSurface == null) { in recordVideoFromSurface()
302 if (persistentSurface == null && surface != null) { in recordVideoFromSurface()