summaryrefslogtreecommitdiff
path: root/hacks/pixfmts.c
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 /hacks/pixfmts.c
parentb27cdb6a2b1ed82ebc11c6dfe3047b430e3443e0 (diff)
Update .gitignore.
Diffstat (limited to 'hacks/pixfmts.c')
-rw-r--r--hacks/pixfmts.c11
1 files changed, 11 insertions, 0 deletions
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);
+}