/frameworks/av/include/media/stagefright/ |
H A D | SurfaceUtils.h | 28 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|. 33 ANativeWindow *nativeWindow /* nonnull */, 35 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
|
H A D | SimpleDecodingSource.h | 42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this 49 const sp<ANativeWindow> &nativeWindow = NULL,
|
H A D | MediaCodec.h | 84 const sp<Surface> &nativeWindow, 161 status_t setSurface(const sp<Surface> &nativeWindow);
|
H A D | ACodec.h | 317 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, 351 const sp<ANativeWindow> &nativeWindow);
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 28 ANativeWindow *nativeWindow /* nonnull */, 34 err = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_MEDIA); 40 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_MEDIA); 47 err = native_window_set_buffers_dimensions(nativeWindow, width, height); 53 err = native_window_set_buffers_format(nativeWindow, format); 69 err = native_window_set_buffers_transform(nativeWindow, transform); 76 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); 87 err = nativeWindow->query( 88 nativeWindow, NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSE [all...] |
H A D | SimpleDecodingSource.cpp | 38 const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, 40 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get()); 37 Create( const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, const char *desiredCodec) argument
|
H A D | MediaCodecListOverrides.cpp | 210 const sp<Surface> nativeWindow; local 214 err = codec->configure(format, nativeWindow, crypto, flags);
|
H A D | ACodec.cpp | 663 ANativeWindow *nativeWindow = surface.get(); local 679 nativeWindow, &usageBits, 695 err = nativeWindow->query( 696 nativeWindow, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, 714 err = native_window_set_buffer_count(nativeWindow, buffers.size()); 752 err = nativeWindow->cancelBuffer( 753 nativeWindow, info.mGraphicBuffer->getNativeBuffer(), info.mFenceFd); 772 mNativeWindow = nativeWindow; 954 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, 988 nativeWindow, 1875 sp<ANativeWindow> nativeWindow = local 2942 configureTunneledVideoPlayback( int32_t audioHwSync, const sp<ANativeWindow> &nativeWindow) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 51 jfieldID nativeWindow; member in struct:android::__anon955 117 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); 122 ANativeWindow* nativeWindow = (ANativeWindow*) local 123 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow); 125 if (nativeWindow) { 126 sp<ANativeWindow> window(nativeWindow); 128 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0); 133 jlong nativeWindow, jobject canvas, jobject dirtyRect) { 135 if (!nativeWindow) { 151 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); 132 android_view_TextureView_lockCanvas(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas, jobject dirtyRect) argument 178 android_view_TextureView_unlockCanvasAndPost(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas) argument [all...] |
H A D | android_app_NativeActivity.cpp | 122 nativeWindow = NULL; 149 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); 151 nativeWindow = NULL; 164 sp<ANativeWindow> nativeWindow; member in struct:android::NativeCode 519 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) { 521 code->nativeWindow.get()); 541 sp<ANativeWindow> oldNativeWindow = code->nativeWindow; 543 if (oldNativeWindow != code->nativeWindow) { 548 if (code->nativeWindow != NULL) { 551 code->nativeWindow [all...] |
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.h | 41 * nativeWindow can be NULL, but if NULL it is treated as an error 44 ANativeWindow *nativeWindow);
|
H A D | MediaPlayer_to_android.cpp | 461 ANativeWindow *nativeWindow = (ANativeWindow *) local 464 assert(nativeWindow != NULL); 465 result = android_Player_setNativeWindow(mp, nativeWindow); 718 * nativeWindow can be NULL, but if NULL it is treated as an error 720 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) argument 724 if (nativeWindow == NULL) { 732 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value); 735 "errno %d", nativeWindow, err); 742 static_cast<android::Surface *>(nativeWindow)); [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | SoftwareRenderer.h | 35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 242 ANativeWindow* nativeWindow; member in struct:android::egl_window_surface_v2_t 345 nativeWindow(window), buffer(0), previousBuffer(0), module(0), 355 nativeWindow->common.incRef(&nativeWindow->common); 356 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); 357 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height); 367 nativeWindow->common.decRef(&nativeWindow [all...] |
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 840 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument 841 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 372 ANativeWindow *nativeWindow; local 426 nativeWindow = getNativeWindow(); 429 locND.hWindow = nativeWindow; 441 &audioSnk, nativeWindow != NULL ? &imageVideoSink : NULL, NULL, NULL, abq ? 4 : 3, ids, 852 if (nativeWindow != NULL) { 853 ANativeWindow_release(nativeWindow);
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 42 const sp<ANativeWindow> &nativeWindow, int32_t rotation) 46 mNativeWindow(nativeWindow), 41 SoftwareRenderer( const sp<ANativeWindow> &nativeWindow, int32_t rotation) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 806 Object nativeWindow); 813 EGLConfig config, Object nativeWindow) { 816 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null); 805 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument 812 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
|