Searched refs:surface (Results 76 - 100 of 152) sorted by relevance

1234567

/frameworks/av/cmds/stagefright/
H A Dsf2.cpp47 const sp<Surface> &surface, bool renderToSurface)
50 mSurface(surface),
556 " -S(urface) Allocate output buffers on a surface.\n"
557 " -R(ender) Render surface-allocated buffers.\n");
607 sp<Surface> surface; local
628 surface = control->getSurface();
629 CHECK(surface != NULL);
633 surface.get(), NATIVE_WINDOW_API_MEDIA));
637 new Controller(argv[0], decodeAudio, surface, renderToSurface);
650 surface
46 Controller(const char *uri, bool decodeAudio, const sp<Surface> &surface, bool renderToSurface) argument
[all...]
H A Dstream.cpp335 sp<Surface> surface = control->getSurface(); local
336 CHECK(surface != NULL);
376 player->setVideoSurfaceTexture(surface->getSurfaceTexture());
/frameworks/av/include/media/stagefright/
H A DCameraSource.h58 * @param surface the preview surface for display where preview
76 const sp<Surface>& surface,
163 const sp<Surface>& surface,
/frameworks/av/camera/
H A DCamera.cpp174 status_t Camera::setPreviewDisplay(const sp<Surface>& surface) argument
176 ALOGV("setPreviewDisplay(%p)", surface.get());
179 if (surface != 0) {
180 return c->setPreviewDisplay(surface);
182 ALOGD("app passed NULL surface");
196 ALOGD("app passed NULL surface");
H A DICamera.cpp72 status_t setPreviewDisplay(const sp<Surface>& surface) argument
77 Surface::writeToParcel(surface, &data);
288 sp<Surface> surface = Surface::readFromParcel(data); local
289 reply->writeInt32(setPreviewDisplay(surface));
/frameworks/av/include/camera/
H A DICamera.h50 virtual status_t setPreviewDisplay(const sp<Surface>& surface) = 0;
/frameworks/av/include/media/
H A DIMediaRecorder.h38 virtual status_t setPreviewSurface(const sp<Surface>& surface) = 0;
H A DMediaRecorderBase.h45 virtual status_t setPreviewSurface(const sp<Surface>& surface) = 0;
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.h35 virtual status_t setPreviewSurface(const sp<Surface>& surface);
H A DMediaRecorderClient.cpp84 status_t MediaRecorderClient::setPreviewSurface(const sp<Surface>& surface) argument
92 return mRecorder->setPreviewSurface(surface);
/frameworks/native/include/gui/
H A DISurfaceComposer.h57 /* create connection with surface flinger, requires
92 const sp<ISurfaceTexture>& surface) const = 0;
/frameworks/native/opengl/include/EGL/
H A Deglext.h71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
75 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DNativeMedia.java333 public static native void setSurface(Surface surface); argument
392 Surface surface = new Surface(mMyGLSurfaceView.getSurfaceTexture());
393 setSurface(surface);
394 surface.release();
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp160 jobject surface, jint attribute, jintArray value) {
161 if (display == NULL || surface == NULL || value == NULL
167 EGLContext sur = getSurface(_env, surface);
444 static jboolean jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) { argument
445 if (display == NULL || surface == NULL) {
450 EGLSurface sur = getSurface(_env, surface);
453 SkPixelRef* ref = (SkPixelRef*)(_env->GetIntField(surface,
489 static jboolean jni_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface) { argument
490 if (display == NULL || surface == NULL) {
495 EGLSurface sur = getSurface(_env, surface);
159 jni_eglQuerySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface, jint attribute, jintArray value) argument
508 jni_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface, jobject native_pixmap) argument
[all...]
H A Dandroid_opengl_EGL14.cpp741 /* EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) */
744 (JNIEnv *_env, jobject _this, jobject dpy, jobject surface) {
747 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface);
756 /* EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value ) */
759 (JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) {
765 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface);
913 /* EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value ) */
916 (JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jint value) {
919 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface);
930 /* EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLin
743 android_eglDestroySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface) argument
758 android_eglQuerySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) argument
915 android_eglSurfaceAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jint value) argument
932 android_eglBindTexImage(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint buffer) argument
948 android_eglReleaseTexImage(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint buffer) argument
1180 android_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject dpy, jobject surface) argument
1195 android_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint target) argument
[all...]
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Degl.h209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
210 GLAPI EGLBoolean APIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
223 GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, NativePixmapType target);
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp89 status_t setPreviewSurface(const sp<Surface>& surface) argument
91 ALOGV("setPreviewSurface(%p)", surface.get());
94 Surface::writeToParcel(surface, &data);
429 sp<Surface> surface = Surface::readFromParcel(data); local
430 reply->writeInt32(setPreviewSurface(surface));
H A Dmediarecorder.cpp52 status_t MediaRecorder::setPreviewSurface(const sp<Surface>& surface) argument
54 ALOGV("setPreviewSurface(%p)", surface.get());
64 ALOGE("try to set preview surface without setting the video source first");
68 status_t ret = mMediaRecorder->setPreviewSurface(surface);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp227 // create the native surface
248 EGLSurface surface; local
255 surface = eglCreateWindowSurface(display, config, s.get(), NULL);
257 eglQuerySurface(display, surface, EGL_WIDTH, &w);
258 eglQuerySurface(display, surface, EGL_HEIGHT, &h);
260 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE)
265 mSurface = surface;
384 // Allow surface flinger to gracefully request shutdown
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java315 // Make the surface visible at the proper location
316 final Surface surface = mService.mDragState.mSurface;
321 surface.setPosition(touchX - thumbCenterX,
323 surface.setAlpha(.7071f);
324 surface.setLayer(mService.mDragState.getDragLayerLw());
325 surface.setLayerStack(display.getLayerStack());
326 surface.show();
478 Slog.w(WindowManagerService.TAG, "Exception thrown when killing surface session "
/frameworks/base/core/java/android/app/
H A DNativeActivity.java98 private native void onSurfaceCreatedNative(int handle, Surface surface); argument
99 private native void onSurfaceChangedNative(int handle, Surface surface, argument
101 private native void onSurfaceRedrawNeededNative(int handle, Surface surface); argument
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp129 static EGLSurface surface; variable
397 list->sur = surface;
420 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
H A DhwcTestLib.cpp49 void hwcTestInitDisplay(bool verbose, EGLDisplay *dpy, EGLSurface *surface, argument
102 *surface = eglCreateWindowSurface(*dpy, myConfig, window, NULL);
104 if (*surface == EGL_NO_SURFACE) {
115 returnValue = eglMakeCurrent(*dpy, *surface, *surface, context);
121 eglQuerySurface(*dpy, *surface, EGL_WIDTH, width);
123 eglQuerySurface(*dpy, *surface, EGL_HEIGHT, height);
/frameworks/rs/driver/
H A DrsdGL.h39 EGLSurface surface; member in struct:RsdGLRec::__anon1536
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java594 * Call after setting a new display surface.
596 private native void _setVideoSurface(Surface surface); argument
652 * Either a surface holder or surface must be set if a display or video sink
655 * A null surface holder or surface will result in only the audio track being
662 Surface surface;
664 surface = sh.getSurface();
666 surface = null;
668 _setVideoSurface(surface);
690 setSurface(Surface surface) argument
[all...]

Completed in 366 milliseconds

1234567