mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 17:45:06 +03:00
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:
parent
c6e9c750f6
commit
08a75925d8
12 changed files with 18 additions and 18 deletions
|
@ -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"
|
||||
|
|
|
@ -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__ */
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/pixelformats.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue