Home
last modified time | relevance | path

Searched refs:mOutputSurface (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionForwardProcessor.java49 private Surface mOutputSurface = null; field in CameraExtensionForwardProcessor
74 mOutputSurface = surface; in onOutputSurface()
141 if (mOutputSurface != null && mOutputSurface.isValid() && !mOutputAbandoned) { in onImageAvailable()
143 mOutputWriter = ImageWriter.newInstance(mOutputSurface, FORWARD_QUEUE_SIZE, in onImageAvailable()
DCameraExtensionJpegProcessor.java57 private Surface mOutputSurface = null; field in CameraExtensionJpegProcessor
205 mOutputSurface = surface; in onOutputSurface()
226 if ((mFormat != -1) && (mOutputSurface != null) && (mResolution != null) && in initializePipeline()
229 mOutputWriter = ImageWriter.newInstance(mOutputSurface, 1 /*maxImages*/, in initializePipeline()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp252 sp<ANativeWindow> outputANW = mOutputSurface; in processInputFrame()
291 if ((res = native_window_set_buffers_dimensions(mOutputSurface.get(), finalJpegBufferSize, 1)) in processInputFrame()
298 res = outputANW->dequeueBuffer(mOutputSurface.get(), &anb, &fenceFd); in processInputFrame()
311 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
318 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
372 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
379 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
383 res = native_window_set_buffers_timestamp(mOutputSurface.get(), ts); in processInputFrame()
396 outputANW->queueBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
619 mOutputSurface = consumers[0]; in createInternalStreams()
[all …]
DHeicCompositeStream.cpp196 mOutputSurface = consumers[0]; in createInternalStreams()
237 if (mOutputSurface != nullptr) { in deleteInternalStreams()
238 mOutputSurface->disconnect(NATIVE_WINDOW_API_CAMERA); in deleteInternalStreams()
239 mOutputSurface.clear(); in deleteInternalStreams()
478 if (mOutputSurface.get() == nullptr) { in configureStream()
483 auto res = mOutputSurface->connect(NATIVE_WINDOW_API_CAMERA, mProducerListener); in configureStream()
490 if ((res = native_window_set_buffers_format(mOutputSurface.get(), HAL_PIXEL_FORMAT_BLOB)) in configureStream()
497 ANativeWindow *anwConsumer = mOutputSurface.get(); in configureStream()
914 sp<ANativeWindow> outputANW = mOutputSurface; in startMuxerForInputFrame()
916 auto res = outputANW->dequeueBuffer(mOutputSurface.get(), &inputFrame.anb, &inputFrame.fenceFd); in startMuxerForInputFrame()
[all …]
DDepthCompositeStream.h132 sp<Surface> mDepthSurface, mBlobSurface, mOutputSurface; variable
DHeicCompositeStream.h234 sp<Surface> mOutputSurface; variable
/frameworks/av/cmds/screenrecord/
DOverlay.cpp60 mOutputSurface = outputSurface; in start()
136 err = mEglWindow.createWindow(mOutputSurface); in setup_l()
189 mOutputSurface.clear(); in release_l()
DOverlay.h124 sp<IGraphicBufferProducer> mOutputSurface; variable
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp153 mOutputSurface.lock()->maxDequeueBuffers = kSmoothnessFactor + kRenderingDepth; in CCodecBufferChannel()
276 Mutexed<OutputSurface>::Locked output(mOutputSurface); in queueInputBufferInternal()
795 Mutexed<OutputSurface>::Locked output(mOutputSurface); in renderOutputBuffer()
1268 Mutexed<OutputSurface>::Locked output(mOutputSurface); in start()
1582 sp<Surface> surface = mOutputSurface.lock()->surface; in stopUseOutputSurface()
1620 mOutputSurface.lock()->surface.clear(); in release()
1933 Mutexed<OutputSurface>::Locked output(mOutputSurface); in handleWork()
2118 Mutexed<OutputSurface>::Locked outputSurface(mOutputSurface); in setSurface()
2153 Mutexed<OutputSurface>::Locked output(mOutputSurface); in setSurface()
DCCodecBufferChannel.h322 Mutexed<OutputSurface> mOutputSurface; variable