mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
android: camera_stream: Pass StreamBuffer to process()
Now that we have a proper structure to model a stream buffer, pass it to CameraStream::process() instead of the camera3_stream_buffer_t. This will allow accessing other members of StreamBuffer in subsequent commits. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
parent
573fcb94d6
commit
640bf94d02
3 changed files with 11 additions and 10 deletions
|
@ -1152,7 +1152,7 @@ void CameraDevice::requestComplete(Request *request)
|
|||
continue;
|
||||
}
|
||||
|
||||
int ret = cameraStream->process(*src, buffer.buffer, descriptor);
|
||||
int ret = cameraStream->process(*src, buffer, descriptor);
|
||||
|
||||
/*
|
||||
* Return the FrameBuffer to the CameraStream now that we're
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue