libcamera: v4l2_pixelformat: Add entries for NV24 and NV42
The entries for NV24 and NV42 were missing from the V4L2PixelFormat map. Add them. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
This commit is contained in:
parent
67f0def9ba
commit
ba155eadb9
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ const std::map<V4L2PixelFormat, V4L2PixelFormat::Info> vpf2pf{
|
|||
{ formats::NV21, "Y/CrCb 4:2:0" } },
|
||||
{ V4L2PixelFormat(V4L2_PIX_FMT_NV21M),
|
||||
{ formats::NV21, "Y/CrCb 4:2:0 (N-C)" } },
|
||||
{ V4L2PixelFormat(V4L2_PIX_FMT_NV24),
|
||||
{ formats::NV24, "Y/CbCr 4:4:4" } },
|
||||
{ V4L2PixelFormat(V4L2_PIX_FMT_NV42),
|
||||
{ formats::NV42, "Y/CrCb 4:4:4" } },
|
||||
{ V4L2PixelFormat(V4L2_PIX_FMT_YUV420),
|
||||
{ formats::YUV420, "Planar YUV 4:2:0" } },
|
||||
{ V4L2PixelFormat(V4L2_PIX_FMT_YUV420M),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue