libcamera: v4l2_subdevice: Implement ENUM_FRAME_SIZES
Implement format and size enumeration methods to list all the available subdevice image resolutions and formats. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -46,4 +46,38 @@ namespace libcamera {
|
||||
* \brief The distance between the top and bottom sides
|
||||
*/
|
||||
|
||||
/**
|
||||
* \struct SizeRange
|
||||
* \brief Describe a range of image sizes
|
||||
*
|
||||
* SizeRange describes a range of image sizes included in the (minWidth,
|
||||
* minHeight) - (maxWidth, maxHeight) interval. If the minimum and
|
||||
* maximum sizes are identical it represents a single image resolution.
|
||||
*/
|
||||
|
||||
/**
|
||||
* \fn SizeRange::SizeRange()
|
||||
* \brief Construct a size range
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var SizeRange::minWidth
|
||||
* \brief The minimum image width
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var SizeRange::minHeight
|
||||
* \brief The minimum image height
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var SizeRange::maxWidth
|
||||
* \brief The maximum image width
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var SizeRange::maxHeight
|
||||
* \brief The maximum image height
|
||||
*/
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
Reference in New Issue
Block a user