libcamera: v4l2_subdevice: Replace FormatEnum with ImageFormats
Replace all usage of FormatEnum with ImageFormats and completely remove FormatEnum which is no longer needed. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
typedef std::map<unsigned int, std::vector<SizeRange>> FormatEnum;
|
||||
|
||||
class ImageFormats
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
int setCrop(unsigned int pad, Rectangle *rect);
|
||||
int setCompose(unsigned int pad, Rectangle *rect);
|
||||
|
||||
FormatEnum formats(unsigned int pad);
|
||||
ImageFormats formats(unsigned int pad);
|
||||
|
||||
int getFormat(unsigned int pad, V4L2SubdeviceFormat *format);
|
||||
int setFormat(unsigned int pad, V4L2SubdeviceFormat *format);
|
||||
|
||||
Reference in New Issue
Block a user