libcamera: pixelformats: include linux/drm_fourcc.h
Instead of having to include linux/drm_fourcc.h everywhere a DRM FourCC is used in conjunction with PixelFormat include the header directly in pixelformats.h. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
f28ca20960
commit
eb20c54f24
6 changed files with 2 additions and 6 deletions
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <linux/drm_fourcc.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
using PixelFormat = uint32_t;
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <linux/drm_fourcc.h>
|
||||
#include <linux/media-bus-format.h>
|
||||
|
||||
#include <libcamera/camera.h>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <memory>
|
||||
#include <queue>
|
||||
|
||||
#include <linux/drm_fourcc.h>
|
||||
#include <linux/media-bus-format.h>
|
||||
|
||||
#include <ipa/rkisp1.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <iomanip>
|
||||
#include <tuple>
|
||||
|
||||
#include <linux/drm_fourcc.h>
|
||||
#include <linux/media-bus-format.h>
|
||||
|
||||
#include <ipa/ipa_interface.h>
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include <linux/drm_fourcc.h>
|
||||
|
||||
#include <QImage>
|
||||
|
||||
#include "format_converter.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <errno.h>
|
||||
#include <linux/drm_fourcc.h>
|
||||
#include <linux/videodev2.h>
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue