diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-06 22:20:49 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-22 10:58:38 +0300 |
commit | 3a4e251122b57de6bb3dcae8dfd8e9f0381fb91b (patch) | |
tree | a3f50c182453e3d3ffa2afa85ae5b08192ab1674 /src/qcam/format_converter.h | |
parent | 4abbd832feb9999824c8b7d1ba8bd5319e8d640a (diff) |
qcam: format_converter: Rename YUV and NV to YUVPacked and YUVSemiPlanar
To prepare for fully-planar YUV support, rename the existing format
families YUV and NV to YUVPacked and YUVSemiPlanar respectively.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/qcam/format_converter.h')
-rw-r--r-- | src/qcam/format_converter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qcam/format_converter.h b/src/qcam/format_converter.h index bb04aa95..9ce2cc6d 100644 --- a/src/qcam/format_converter.h +++ b/src/qcam/format_converter.h @@ -27,14 +27,14 @@ public: private: enum FormatFamily { MJPEG, - NV, RGB, - YUV, + YUVPacked, + YUVSemiPlanar, }; - void convertNV(const Image *src, unsigned char *dst); void convertRGB(const Image *src, unsigned char *dst); - void convertYUV(const Image *src, unsigned char *dst); + void convertYUVPacked(const Image *src, unsigned char *dst); + void convertYUVSemiPlanar(const Image *src, unsigned char *dst); libcamera::PixelFormat format_; unsigned int width_; |