[PATCH] v4l2-info: add flag V4L2_PIX_FMT_FLAG_SET_CSC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a string value for V4L2_PIX_FMT_FLAG_SET_CSC in pixflags2s().

Signed-off-by: Deborah Brouwer <deborah.brouwer@xxxxxxxxxxxxx>
---
This flag was originally added in:

b38c73ca1c213 ("media: v4l2: add support for colorspace
               conversion API (CSC) for video capture")

 utils/common/v4l2-info.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/common/v4l2-info.cpp b/utils/common/v4l2-info.cpp
index c4dbb14e..a7964ad0 100644
--- a/utils/common/v4l2-info.cpp
+++ b/utils/common/v4l2-info.cpp
@@ -347,6 +347,7 @@ std::string quantization2s(int val)
 
 static constexpr flag_def pixflags_def[] = {
 	{ V4L2_PIX_FMT_FLAG_PREMUL_ALPHA,  "premultiplied-alpha" },
+	{ V4L2_PIX_FMT_FLAG_SET_CSC,  "set-csc" },
 	{ 0, nullptr }
 };
 
-- 
2.37.3




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux