android: camera_device: Pass camera3 request to descriptor
The Camera3RequestDescriptor class can access the number of buffers and the frame number from the camera3_capture_request_t instead of having the caller passing them to the constructor. This change allows to access other fields of the capture request, such as the capture settings. Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
5e2596006b
commit
dd1cd532ca
2 changed files with 8 additions and 8 deletions
|
@ -75,8 +75,7 @@ private:
|
|||
|
||||
struct Camera3RequestDescriptor {
|
||||
Camera3RequestDescriptor(libcamera::Camera *camera,
|
||||
unsigned int frameNumber,
|
||||
unsigned int numBuffers);
|
||||
const camera3_capture_request_t *camera3Request);
|
||||
~Camera3RequestDescriptor();
|
||||
|
||||
uint32_t frameNumber_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue