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
@@ -34,7 +34,7 @@ libcamera_sources = files([
'message.cpp',
'object.cpp',
'pipeline_handler.cpp',
'pixelformats.cpp',
'pixel_format.cpp',
'process.cpp',
'pub_key.cpp',
'request.cpp',
+1 -1
View File
@@ -12,7 +12,7 @@
#include <queue>
#include <vector>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
#include <libcamera/signal.h>
namespace libcamera {
@@ -2,14 +2,14 @@
/*
* Copyright (C) 2019, Google Inc.
*
* pixelformats.cpp - libcamera pixel formats
* pixel_format.cpp - libcamera Pixel Format
*/
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
/**
* \file pixelformats.h
* \brief libcamera pixel formats
* \file pixel_format.h
* \brief libcamera pixel format
*/
namespace libcamera {
+1 -1
View File
@@ -14,7 +14,7 @@
#include <linux/drm_fourcc.h>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
#include "libcamera/internal/formats.h"
#include "libcamera/internal/log.h"
+1 -1
View File
@@ -11,7 +11,7 @@
#include <QSize>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
class QImage;
+1 -1
View File
@@ -17,7 +17,7 @@
#include <QWidget>
#include <libcamera/buffer.h>
#include <libcamera/pixelformats.h>
#include <libcamera/pixel_format.h>
#include "format_converter.h"