summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hacks/.gitignore1
-rw-r--r--hacks/pixfmts.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/hacks/.gitignore b/hacks/.gitignore
index a8b3e2631..01dc078a3 100644
--- a/hacks/.gitignore
+++ b/hacks/.gitignore
@@ -15,3 +15,4 @@ subtitle_alignment/dcp_4/SubsTest4_TST-1_F_XX-EN_2K_*
subtitle_alignment/dcp_4/info
subtitle_alignment/dcp_4/log
subtitle_alignment/dcp_4/video
+pixfmts
diff --git a/hacks/pixfmts.c b/hacks/pixfmts.c
new file mode 100644
index 000000000..8aa5c4a69
--- /dev/null
+++ b/hacks/pixfmts.c
@@ -0,0 +1,11 @@
+#include <libavutil/pixfmt.h>
+#include <stdio.h>
+
+#define SHOW(x) printf("%d " #x "\n", x);
+int main()
+{
+ SHOW(AV_PIX_FMT_YUV420P);
+ SHOW(AV_PIX_FMT_YUV420P16LE);
+ SHOW(AV_PIX_FMT_YUV422P10LE);
+ SHOW(AV_PIX_FMT_YUV444P9BE);
+}