android: camera_stream: Break out CameraStream

Break CameraStream out of the CameraDevice class.

No functional changes, only the code is moved.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Jacopo Mondi 2020-10-02 19:22:24 +02:00
parent 5fbda0dfda
commit 5cf64b26a2
5 changed files with 60 additions and 29 deletions

View file

@ -169,12 +169,6 @@ MappedCamera3Buffer::MappedCamera3Buffer(const buffer_handle_t camera3buffer,
}
}
CameraStream::CameraStream(PixelFormat format, Size size,
unsigned int index, Encoder *encoder)
: format_(format), size_(size), index_(index), encoder_(encoder)
{
}
/*
* \struct Camera3RequestDescriptor
*