libcamera: Replace explicit DRM FourCCs with libcamera formats

Use the new pixel format constants to replace usage of macros from
drm_fourcc.h.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2020-05-22 04:02:06 +03:00
parent 56c99424ed
commit 8b7e073e6e
4 changed files with 116 additions and 124 deletions
-2
View File
@@ -11,8 +11,6 @@
#include <stdint.h>
#include <string>
#include <linux/drm_fourcc.h>
namespace libcamera {
class PixelFormat