libcamera: Use PixelFormat instead of unsigned int where appropriate
Use the PixelFormat instead of unsigned int where a pixel format is to be used. PixelFormat is defined as an unsigned int but is about to be turned into a class to add functionality. There is no functional change in this patch. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#define CLIP(x) CLAMP(x,0,255)
|
||||
#endif
|
||||
|
||||
int FormatConverter::configure(unsigned int format, unsigned int width,
|
||||
int FormatConverter::configure(libcamera::PixelFormat format, unsigned int width,
|
||||
unsigned int height)
|
||||
{
|
||||
switch (format) {
|
||||
|
||||
Reference in New Issue
Block a user