android: Document the structures and functions for post-processing

Specifically document:
 - CameraDevice::sendCaptureResults()
 - CameraDevice::completeDescriptor()
 - CameraDevice::streamProcessingComplete()

 - CameraStream::PostProcessorWorker class
 - Camera3RequestDescriptor::StreamBuffer structure

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Umang Jain 2022-01-04 12:22:00 +05:30
parent a7ab5ef1d2
commit bf0154697b
3 changed files with 87 additions and 0 deletions

View file

@ -244,6 +244,18 @@ void CameraStream::putBuffer(FrameBuffer *buffer)
buffers_.push_back(buffer);
}
/**
* \class CameraStream::PostProcessorWorker
* \brief Post-process a CameraStream in an internal thread
*
* If the association between CameraStream and camera3_stream_t dictated by
* CameraStream::Type is internal or mapped, the stream is generated by post
* processing of a libcamera stream. Such a request is queued to a
* PostProcessorWorker in CameraStream::process(). A queue of post-processing
* requests is maintained by the PostProcessorWorker and it will run the
* post-processing on an internal thread as soon as any request is available on
* its queue.
*/
CameraStream::PostProcessorWorker::PostProcessorWorker(PostProcessor *postProcessor)
: postProcessor_(postProcessor)
{