mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 15:29:45 +03:00
libcamera: v4l2_device: Add comments to method parameters
Add missing parameter documentation for set and get format methods. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
e94e52c0cb
commit
8628b1e560
1 changed files with 3 additions and 0 deletions
|
@ -352,6 +352,8 @@ void V4L2Device::close()
|
|||
|
||||
/**
|
||||
* \brief Retrieve the image format set on the V4L2 device
|
||||
* \param[out] format The image format applied on the device
|
||||
*
|
||||
* \return 0 for success, a negative error code otherwise
|
||||
*/
|
||||
int V4L2Device::getFormat(V4L2DeviceFormat *format)
|
||||
|
@ -362,6 +364,7 @@ int V4L2Device::getFormat(V4L2DeviceFormat *format)
|
|||
|
||||
/**
|
||||
* \brief Configure an image format on the V4L2 device
|
||||
* \param[in] format The image format to apply to the device
|
||||
*
|
||||
* Apply the supplied \a format to the device, and return the actually
|
||||
* applied format parameters, as \ref V4L2Device::getFormat would do.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue