summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-09-26 21:06:42 +0100
committerCarl Hetherington <cth@carlh.net>2017-09-26 21:06:42 +0100
commit704acb43542c0f8bbec89fa357f448d7a8694efd (patch)
treee33704d4e5dc3eb58e647168e11a0706fcf4c6ad
parentb27cdb6a2b1ed82ebc11c6dfe3047b430e3443e0 (diff)
Update .gitignore.
-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);
+}