Searched refs:surface (Results 1 - 25 of 309) sorted by path

1234567891011>>

/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp58 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
61 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
68 ALOGV("%s: Read surface class = %s", __FUNCTION__,
83 sp<Surface> surface; local
85 surface = new Surface(surfaceShim.graphicBufferProducer);
88 mSurfaceList.push_back(surface);
H A DOutputConfiguration.cpp96 ALOGE("%s: Failed to read surface set ID from parcel", __FUNCTION__);
102 ALOGE("%s: Failed to read surface type from parcel", __FUNCTION__);
108 ALOGE("%s: Failed to read surface width from parcel", __FUNCTION__);
114 ALOGE("%s: Failed to read surface height from parcel", __FUNCTION__);
120 ALOGE("%s: Failed to read surface isDeferred flag from parcel", __FUNCTION__);
126 ALOGE("%s: Failed to read surface isShared flag from parcel", __FUNCTION__);
132 ALOGE("%s: Invalid surface type for deferred configuration", __FUNCTION__);
138 ALOGE("%s: Failed to read surface(s) from parcel", __FUNCTION__);
149 for (auto& surface : surfaceShims) {
151 surface
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp288 sp<Surface> surface; local
289 ret = getSurfaceFromANativeWindow(anw, surface);
294 req->mSurfaceList.push_back(surface);
485 const sp<Surface> surface(static_cast<Surface*>(anw));
486 out = surface->getIGraphicBufferProducer();
503 sp<Surface> surface(static_cast<Surface*>(anw));
504 out = surface;
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp466 sp<Surface> surface(new Surface(gbProducer, /*controlledByApp*/false));
489 request.mSurfaceList.add(surface);
516 request2.mSurfaceList.add(surface);
549 request3.mSurfaceList.add(surface);
552 request4.mSurfaceList.add(surface);
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp36 status_t EglWindow::createWindow(const sp<IGraphicBufferProducer>& surface) { argument
38 ALOGE("surface already created");
47 surface->query(NATIVE_WINDOW_WIDTH, &mWidth);
48 surface->query(NATIVE_WINDOW_HEIGHT, &mHeight);
50 // Output side (EGL surface to draw on).
51 sp<ANativeWindow> anw = new Surface(surface);
65 ALOGE("surface already created");
H A DEglWindow.h28 * Wraps EGL display, context, surface, config for a window surface.
44 // Creates an EGL window for the supplied surface.
45 status_t createWindow(const sp<IGraphicBufferProducer>& surface);
47 // Creates an EGL pbuffer surface.
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp72 sp<Surface> surface; local
74 surface = new Surface(bufferProducer);
77 msg->setObject("surface", surface);
135 CHECK(msg->findObject("surface", &obj));
H A Dcodec.cpp48 "\t\t[-S] allocate buffers from a surface\n"
49 "\t\t[-R] render output to surface (enables -S)\n"
75 const android::sp<android::Surface> &surface,
129 format, isVideo ? surface : NULL,
269 if (surface == NULL || !renderSurface) {
408 sp<Surface> surface; local
438 surface = control->getSurface();
439 CHECK(surface != NULL);
447 player->setSurface(surface->getIGraphicBufferProducer());
453 decode(looper, argv[0], useAudio, useVideo, surface, renderSurfac
70 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface, bool renderSurface, bool useTimestamp) argument
[all...]
H A Dmediafilter.cpp62 "\t[-R] render output to surface (enables -S)\n"
63 "\t[-S] allocate buffers from a surface\n"
254 const sp<Surface> &surface, bool renderSurface,
275 if (surface == NULL || !renderSurface) {
315 const sp<Surface> &surface,
361 format, NULL /* surface */, NULL /* crypto */, 0 /* flags */);
462 vidFormat /* format */, surface, NULL /* crypto */, 0 /* flags */);
632 filterState, surface, renderSurface,
642 filterState, surface, renderSurface,
745 android::sp<Surface> surface; local
252 tryDrainOutputBuffer( CodecState *filterState, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, int64_t *startTimeRender) argument
312 decode( const sp<ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, FilterType filterType) argument
[all...]
H A Dstream.cpp343 sp<Surface> surface = control->getSurface(); local
344 CHECK(surface != NULL);
382 player->setVideoSurfaceTexture(surface->getIGraphicBufferProducer());
/frameworks/av/include/media/
H A DIMediaRecorder.h41 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
65 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
H A DMediaRecorderBase.h46 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
63 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
H A Dmediarecorder.h226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
250 status_t setInputSurface(const sp<PersistentSurface>& surface);
/frameworks/av/include/media/stagefright/
H A DACodec.h71 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
79 virtual status_t setSurface(const sp<Surface> &surface);
322 status_t handleSetSurface(const sp<Surface> &surface);
425 // sets color aspects for the video encoder in surface mode. This basically sets the default
H A DCameraSource.h71 * @param surface the preview surface for display where preview
92 const sp<IGraphicBufferProducer>& surface,
214 const sp<IGraphicBufferProducer>& surface,
H A DCameraSourceTimeLapse.h47 const sp<IGraphicBufferProducer>& surface,
124 const sp<IGraphicBufferProducer>& surface,
H A DCodecBase.h105 * Notify MediaCodec that the input surface is created.
107 * @param inputFormat an input format at surface creation. Formats
109 * of creating a surface.
110 * @param outputFormat an output format at surface creation.
111 * @param inputSurface the created surface.
118 * Notify MediaCodec that the input surface creation is failed.
125 * surface.
127 * @param inputFormat an input format at surface assignment. Formats
129 * of assigning a surface.
130 * @param outputFormat an output format at surface assignmen
[all...]
H A DMediaCodec.h113 status_t setInputSurface(const sp<PersistentSurface> &surface);
400 status_t handleSetSurface(const sp<Surface> &surface);
401 status_t connectToSurface(const sp<Surface> &surface);
H A DMediaFilter.h36 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
H A DSurfaceUtils.h36 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason);
37 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason);
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h93 ANativeWindow* surface,
154 * the codec. If you previously specified a surface when configuring this
160 * Dynamically sets the output surface of a codec.
162 * This can only be used if the codec was configured with an output surface. The
163 * new output surface should have a compatible usage type to the original output surface.
169 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface);
172 * If you are done with a buffer, use this call to update its surface timestamp
173 * and return it to the codec to render it on the output surface. If you
174 * have not specified an output surface whe
[all...]
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp86 status_t setInputSurface(const sp<PersistentSurface>& surface) argument
88 ALOGV("setInputSurface(%p)", surface.get());
91 surface->writeToParcel(&data);
109 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) argument
111 ALOGV("setPreviewSurface(%p)", surface.get());
114 data.writeStrongBinder(IInterface::asBinder(surface));
509 sp<IGraphicBufferProducer> surface = interface_cast<IGraphicBufferProducer>( local
511 reply->writeInt32(setPreviewSurface(surface));
527 sp<PersistentSurface> surface = new PersistentSurface(); local
528 surface
[all...]
/frameworks/av/media/libmedia/include/media/
H A DIMediaRecorder.h41 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
65 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
H A DMediaRecorderBase.h46 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
63 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
H A Dmediarecorder.h226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
250 status_t setInputSurface(const sp<PersistentSurface>& surface);

Completed in 4261 milliseconds

1234567891011>>