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>
This commit is contained in:
Laurent Pinchart
2020-05-22 03:08:15 +03:00
parent c6e9c750f6
commit 08a75925d8
12 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
#include <vector>
#include <libcamera/geometry.h>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
#include "libcamera/internal/v4l2_pixelformat.h"
@@ -13,7 +13,7 @@
#include <linux/videodev2.h>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
namespace libcamera {
@@ -17,7 +17,7 @@
#include <libcamera/buffer.h>
#include <libcamera/geometry.h>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
#include <libcamera/signal.h>
#include "libcamera/internal/formats.h"
+1 -1
View File
@@ -13,7 +13,7 @@ libcamera_public_headers = files([
'geometry.h',
'logging.h',
'object.h',
'pixelformats.h',
'pixel_format.h',
'request.h',
'signal.h',
'span.h',
@@ -2,10 +2,10 @@
/*
* Copyright (C) 2019, Google Inc.
*
* pixelformats.h - libcamera pixel formats
* pixel_format.h - libcamera Pixel Format
*/
#ifndef __LIBCAMERA_PIXEL_FORMATS_H__
#define __LIBCAMERA_PIXEL_FORMATS_H__
#ifndef __LIBCAMERA_PIXEL_FORMAT_H__
#define __LIBCAMERA_PIXEL_FORMAT_H__
#include <set>
#include <stdint.h>
@@ -40,4 +40,4 @@ private:
} /* namespace libcamera */
#endif /* __LIBCAMERA_PIXEL_FORMATS_H__ */
#endif /* __LIBCAMERA_PIXEL_FORMAT_H__ */
+1 -1
View File
@@ -14,7 +14,7 @@
#include <libcamera/buffer.h>
#include <libcamera/geometry.h>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
namespace libcamera {