]> git.sesse.net Git - nageru/blobdiff - ycbcr_interpretation.h
Make it possible to set input Y'CbCr interpretation on the command line.
[nageru] / ycbcr_interpretation.h
diff --git a/ycbcr_interpretation.h b/ycbcr_interpretation.h
new file mode 100644 (file)
index 0000000..51bad76
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef _YCBCR_INTERPRETATION_H
+#define _YCBCR_INTERPRETATION_H 1
+
+#include <movit/image_format.h>
+
+struct YCbCrInterpretation {
+       bool ycbcr_coefficients_auto = true;
+       movit::YCbCrLumaCoefficients ycbcr_coefficients = movit::YCBCR_REC_709;
+       bool full_range = false;
+};
+
+#endif  // !defined(_YCBCR_INTERPRETATION_H)