/frameworks/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 58 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 D | OutputConfiguration.cpp | 96 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 D | ACameraDevice.cpp | 288 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 D | CameraBinderTests.cpp | 466 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 D | EglWindow.cpp | 36 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 D | EglWindow.h | 28 * 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 D | SimplePlayer.cpp | 72 sp<Surface> surface; local 74 surface = new Surface(bufferProducer); 77 msg->setObject("surface", surface); 135 CHECK(msg->findObject("surface", &obj));
|
H A D | codec.cpp | 48 "\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 D | mediafilter.cpp | 62 "\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 D | stream.cpp | 343 sp<Surface> surface = control->getSurface(); local 344 CHECK(surface != NULL); 382 player->setVideoSurfaceTexture(surface->getIGraphicBufferProducer());
|
/frameworks/av/include/media/ |
H A D | IMediaRecorder.h | 41 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0; 65 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
|
H A D | MediaRecorderBase.h | 46 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0; 63 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
|
H A D | mediarecorder.h | 226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface); 250 status_t setInputSurface(const sp<PersistentSurface>& surface);
|
/frameworks/av/include/media/stagefright/ |
H A D | ACodec.h | 71 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 D | CameraSource.h | 71 * @param surface the preview surface for display where preview 92 const sp<IGraphicBufferProducer>& surface, 214 const sp<IGraphicBufferProducer>& surface,
|
H A D | CameraSourceTimeLapse.h | 47 const sp<IGraphicBufferProducer>& surface, 124 const sp<IGraphicBufferProducer>& surface,
|
H A D | CodecBase.h | 105 * 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 D | MediaCodec.h | 113 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 D | MediaFilter.h | 36 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
|
H A D | SurfaceUtils.h | 36 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason); 37 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason);
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaCodec.h | 93 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 D | IMediaRecorder.cpp | 86 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 D | IMediaRecorder.h | 41 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0; 65 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
|
H A D | MediaRecorderBase.h | 46 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0; 63 virtual status_t setInputSurface(const sp<PersistentSurface>& surface) = 0;
|
H A D | mediarecorder.h | 226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface); 250 status_t setInputSurface(const sp<PersistentSurface>& surface);
|