summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 23:45:07 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 23:45:07 +0000
commit8afc25d710d8520b454d48b7744dde4812feef74 (patch)
tree3b7365285e20391fcadd382ce7dcf346d5be733f /libmpcodecs/img_format.h
parentc07dec1a4a6e6e0695f3893c60a42e9a14daefaf (diff)
downloadmpv-8afc25d710d8520b454d48b7744dde4812feef74.tar.bz2
mpv-8afc25d710d8520b454d48b7744dde4812feef74.tar.xz
Add support for YUV format with alpha and fix the codecs.conf entry for vp6a
to use it. Fixes playback of samples in http://samples.mplayerhq.hu/FLV/flash_with_alpha/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30157 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/img_format.h')
-rw-r--r--libmpcodecs/img_format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h
index 5d3a48caaf..6bab56632d 100644
--- a/libmpcodecs/img_format.h
+++ b/libmpcodecs/img_format.h
@@ -73,6 +73,10 @@
#define IMGFMT_411P 0x50313134
#define IMGFMT_440P 0x50303434
#define IMGFMT_HM12 0x32314D48
+
+// 4:2:0 planar with alpha
+#define IMGFMT_420A 0x41303234
+
#define IMGFMT_444P16_LE 0x51343434
#define IMGFMT_444P16_BE 0x34343451
#define IMGFMT_422P16_LE 0x51323234