Skip to contentSkip to conversation

v4l2-info: add flag V4L2_PIX_FMT_FLAG_SET_CSC

PATCH New Deborah Brouwer 1 participant 1 message Sep 20, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l2-info: add flag V4L2_PIX_FMT_FLAG_SET_CSC

Add a string value for V4L2_PIX_FMT_FLAG_SET_CSC in pixflags2s().

---
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(+)
utils/common/v4l2-info.cpp +1 -0
index c4dbb14e..a7964ad0 100644
@@ -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 }
 };
 
Signature · 1 line
2.37.3