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:
@@ -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',
|
||||
|
||||
@@ -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 {
|
||||
@@ -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"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <QSize>
|
||||
|
||||
#include <libcamera/pixelformats.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
class QImage;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <QWidget>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/pixelformats.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
#include "format_converter.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user