summaryrefslogtreecommitdiff
path: root/src/qcam
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-22 03:08:15 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-06 00:25:04 +0300
commit08a75925d86605d63f115e76ad7644ba194812a4 (patch)
treee7b717d7e81a4b0a7954d842024f0c5d4c645df5 /src/qcam
parentc6e9c750f63bbfcd323287854513d967c57fe0b2 (diff)
libcamera: Rename pixelformats.{cpp,h} to pixel_format.{cpp,h}
The libcamera source files are named after class names, using snake_case. pixelformats.h and pixelformats.cpp don't comply with that rule. Fix them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam')
-rw-r--r--src/qcam/format_converter.h2
-rw-r--r--src/qcam/viewfinder.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qcam/format_converter.h b/src/qcam/format_converter.h
index 5e28adf0..e389b24a 100644
--- a/src/qcam/format_converter.h
+++ b/src/qcam/format_converter.h
@@ -11,7 +11,7 @@
#include <QSize>
-#include <libcamera/pixelformats.h>
+#include <libcamera/pixel_format.h>
class QImage;
diff --git a/src/qcam/viewfinder.h b/src/qcam/viewfinder.h
index b3f1d25d..26a13205 100644
--- a/src/qcam/viewfinder.h
+++ b/src/qcam/viewfinder.h
@@ -17,7 +17,7 @@
#include <QWidget>
#include <libcamera/buffer.h>
-#include <libcamera/pixelformats.h>
+#include <libcamera/pixel_format.h>
#include "format_converter.h"