Searched refs:nativeWindow (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/av/include/media/stagefright/
H A DSurfaceUtils.h28 * 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 DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
H A DSimpleDecodingSource.h42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this
49 const sp<ANativeWindow> &nativeWindow = NULL,
H A DMediaCodec.h94 const sp<Surface> &nativeWindow,
100 const sp<Surface> &nativeWindow,
178 status_t setSurface(const sp<Surface> &nativeWindow);
H A DACodec.h325 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */,
358 const sp<ANativeWindow> &nativeWindow);
/frameworks/av/media/libstagefright/foundation/include/
H A DSurfaceUtils.h28 * 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 DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
H A DSimpleDecodingSource.h42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this
49 const sp<ANativeWindow> &nativeWindow = NULL,
H A DMediaCodec.h94 const sp<Surface> &nativeWindow,
100 const sp<Surface> &nativeWindow,
178 status_t setSurface(const sp<Surface> &nativeWindow);
H A DACodec.h325 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */,
358 const sp<ANativeWindow> &nativeWindow);
/frameworks/av/media/libstagefright/include/
H A DSurfaceUtils.h28 * 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 DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
H A DSimpleDecodingSource.h42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this
49 const sp<ANativeWindow> &nativeWindow = NULL,
H A DMediaCodec.h94 const sp<Surface> &nativeWindow,
100 const sp<Surface> &nativeWindow,
178 status_t setSurface(const sp<Surface> &nativeWindow);
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp28 ANativeWindow *nativeWindow /* nonnull */,
34 err = nativeWindowDisconnect(nativeWindow, "setNativeWindowSizeFormatAndUsage");
40 err = nativeWindowConnect(nativeWindow, "setNativeWindowSizeFormatAndUsage");
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 DMediaCodecListOverrides.cpp155 const sp<Surface> nativeWindow; local
159 err = codec->configure(format, nativeWindow, crypto, flags);
H A DSimpleDecodingSource.cpp39 const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow,
41 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get());
38 Create( const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, const char *desiredCodec) argument
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp51 jfieldID nativeWindow; member in struct:android::__anon1147
122 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get()));
127 ANativeWindow* nativeWindow = (ANativeWindow*) local
128 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow);
130 if (nativeWindow) {
131 sp<ANativeWindow> window(nativeWindow);
133 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0);
138 jlong nativeWindow, jobject canvas, jobject dirtyRect) {
140 if (!nativeWindow) {
156 sp<ANativeWindow> window((ANativeWindow*) nativeWindow);
137 android_view_TextureView_lockCanvas(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas, jobject dirtyRect) argument
184 android_view_TextureView_unlockCanvasAndPost(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas) argument
[all...]
H A Dandroid_app_NativeActivity.cpp123 nativeWindow = NULL;
155 nativeWindow = android_view_Surface_getNativeWindow(env, _surface);
157 nativeWindow = NULL;
170 sp<ANativeWindow> nativeWindow; member in struct:android::NativeCode
535 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) {
537 code->nativeWindow.get());
557 sp<ANativeWindow> oldNativeWindow = code->nativeWindow;
559 if (oldNativeWindow != code->nativeWindow) {
564 if (code->nativeWindow != NULL) {
567 code->nativeWindow
[all...]
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.h41 * nativeWindow can be NULL, but if NULL it is treated as an error
44 ANativeWindow *nativeWindow);
H A DMediaPlayer_to_android.cpp461 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/native/opengl/libagl/
H A Degl.cpp244 ANativeWindow* nativeWindow; member in struct:android::egl_window_surface_v2_t
346 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL)
352 nativeWindow->common.incRef(&nativeWindow->common);
353 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width);
354 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height);
364 nativeWindow->common.decRef(&nativeWindow
[all...]
/frameworks/base/core/java/android/view/
H A DTextureView.java845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
846 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); argument
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c372 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 DSoftwareRenderer.cpp44 const sp<ANativeWindow> &nativeWindow, int32_t rotation)
48 mNativeWindow(nativeWindow),
43 SoftwareRenderer( const sp<ANativeWindow> &nativeWindow, int32_t rotation) argument

Completed in 1376 milliseconds

12