/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | CameraOutputSurface.java | 47 private final OutputSurface mOutputSurface; field in CameraOutputSurface 51 mOutputSurface = surface; in CameraOutputSurface() 65 mOutputSurface = new OutputSurface(); in CameraOutputSurface() 66 mOutputSurface.surface = surface; in CameraOutputSurface() 67 mOutputSurface.imageFormat = SurfaceUtils.getSurfaceFormat(surface); in CameraOutputSurface() 68 mOutputSurface.size = new android.hardware.camera2.extension.Size(); in CameraOutputSurface() 69 mOutputSurface.size.width = size.getWidth(); in CameraOutputSurface() 70 mOutputSurface.size.height = size.getHeight(); in CameraOutputSurface() 71 mOutputSurface.dynamicRangeProfile = DynamicRangeProfiles.STANDARD; in CameraOutputSurface() 72 mOutputSurface.colorSpace = ColorSpaceProfiles.UNSPECIFIED; in CameraOutputSurface() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionForwardProcessor.java | 49 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()
|
D | CameraExtensionJpegProcessor.java | 64 private Surface mOutputSurface = null; field in CameraExtensionJpegProcessor 217 mOutputSurface = surface; in onOutputSurface() 252 if ((mFormat != -1) && (mOutputSurface != null) && (mResolution != null) && in initializePipeline() 256 mProcessor.onOutputSurface(mOutputSurface, mCaptureFormat); in initializePipeline() 259 mOutputWriter = ImageWriter.newInstance(mOutputSurface, 1 /*maxImages*/, in initializePipeline()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 253 sp<ANativeWindow> outputANW = mOutputSurface; in processInputFrame() 292 if ((res = native_window_set_buffers_dimensions(mOutputSurface.get(), finalJpegBufferSize, 1)) in processInputFrame() 299 res = outputANW->dequeueBuffer(mOutputSurface.get(), &anb, &fenceFd); in processInputFrame() 312 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 319 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 373 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 380 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 384 res = native_window_set_buffers_timestamp(mOutputSurface.get(), ts); in processInputFrame() 397 outputANW->queueBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 637 mOutputSurface = consumers[0]; in createInternalStreams() [all …]
|
D | JpegRCompositeStream.cpp | 237 sp<ANativeWindow> outputANW = mOutputSurface; in processInputFrame() 263 if ((res = native_window_set_buffers_dimensions(mOutputSurface.get(), maxJpegRBufferSize, 1)) in processInputFrame() 270 res = outputANW->dequeueBuffer(mOutputSurface.get(), &anb, &fenceFd); in processInputFrame() 283 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 290 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 371 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 375 res = native_window_set_buffers_timestamp(mOutputSurface.get(), ts); in processInputFrame() 398 outputANW->queueBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame() 594 mOutputSurface = consumers[0]; in createInternalStreams() 651 if (mOutputSurface.get() == nullptr) { in configureStream() [all …]
|
D | HeicCompositeStream.cpp | 216 mOutputSurface = consumers[0]; in createInternalStreams() 257 if (mOutputSurface != nullptr) { in deleteInternalStreams() 258 mOutputSurface->disconnect(NATIVE_WINDOW_API_CAMERA); in deleteInternalStreams() 259 mOutputSurface.clear(); in deleteInternalStreams() 510 if (mOutputSurface.get() == nullptr) { in configureStream() 515 auto res = mOutputSurface->connect(NATIVE_WINDOW_API_CAMERA, mProducerListener); in configureStream() 522 if ((res = native_window_set_buffers_format(mOutputSurface.get(), HAL_PIXEL_FORMAT_BLOB)) in configureStream() 529 ANativeWindow *anwConsumer = mOutputSurface.get(); in configureStream() 946 sp<ANativeWindow> outputANW = mOutputSurface; in startMuxerForInputFrame() 948 auto res = outputANW->dequeueBuffer(mOutputSurface.get(), &inputFrame.anb, &inputFrame.fenceFd); in startMuxerForInputFrame() [all …]
|
D | JpegRCompositeStream.h | 127 sp<Surface> mP010Surface, mBlobSurface, mOutputSurface; variable
|
D | DepthCompositeStream.h | 137 sp<Surface> mDepthSurface, mBlobSurface, mOutputSurface; variable
|
D | HeicCompositeStream.h | 238 sp<Surface> mOutputSurface; variable
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 60 mOutputSurface = outputSurface; in start() 139 err = mEglWindow.createWindow(mOutputSurface); in setup_l() 192 mOutputSurface.clear(); in release_l()
|
D | Overlay.h | 124 sp<IGraphicBufferProducer> mOutputSurface; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 212 mOutputSurface.lock()->maxDequeueBuffers = kSmoothnessFactor + mRenderingDepth; in CCodecBufferChannel() 320 Mutexed<OutputSurface>::Locked output(mOutputSurface); in queueInputBufferInternal() 1144 Mutexed<OutputSurface>::Locked output(mOutputSurface); in renderOutputBuffer() 1749 Mutexed<OutputSurface>::Locked output(mOutputSurface); in start() 2081 sp<Surface> surface = mOutputSurface.lock()->surface; in stopUseOutputSurface() 2122 mOutputSurface.lock()->surface.clear(); in release() 2437 Mutexed<OutputSurface>::Locked output(mOutputSurface); in handleWork() 2662 Mutexed<OutputSurface>::Locked outputSurface(mOutputSurface); in setSurface() 2696 Mutexed<OutputSurface>::Locked output(mOutputSurface); in setSurface()
|
D | CCodecBufferChannel.h | 381 Mutexed<OutputSurface> mOutputSurface; variable
|