Lines Matching refs:mOutputSurface
230 sp<ANativeWindow> outputANW = mOutputSurface; in processInputFrame()
260 if ((res = native_window_set_buffers_dimensions(mOutputSurface.get(), finalJpegBufferSize, 1)) in processInputFrame()
267 res = outputANW->dequeueBuffer(mOutputSurface.get(), &anb, &fenceFd); in processInputFrame()
279 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
286 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
340 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
347 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
351 res = native_window_set_buffers_timestamp(mOutputSurface.get(), ts); in processInputFrame()
364 outputANW->queueBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
522 mOutputSurface = consumers[0]; in createInternalStreams()
565 if (mOutputSurface.get() == nullptr) { in configureStream()
570 auto res = mOutputSurface->connect(NATIVE_WINDOW_API_CAMERA, mProducerListener); in configureStream()
577 if ((res = native_window_set_buffers_format(mOutputSurface.get(), HAL_PIXEL_FORMAT_BLOB)) in configureStream()
592 ANativeWindow *anwConsumer = mOutputSurface.get(); in configureStream()
634 if (mOutputSurface != nullptr) { in deleteInternalStreams()
635 mOutputSurface->disconnect(NATIVE_WINDOW_API_CAMERA); in deleteInternalStreams()
636 mOutputSurface.clear(); in deleteInternalStreams()