summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_noformat.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-11 10:31:38 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-11 10:31:38 +0000
commit37910018d1959ed0bcd23b5ca3178824050bac2e (patch)
tree8448a3fc1d5c32e6ba96936f686f1132a635b828 /libmpcodecs/vf_noformat.c
parent63ca5b07a2f1ada56de33b51067ee7fce3359db5 (diff)
downloadmpv-37910018d1959ed0bcd23b5ca3178824050bac2e.tar.bz2
mpv-37910018d1959ed0bcd23b5ca3178824050bac2e.tar.xz
RGBA variants
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13000 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_noformat.c')
-rw-r--r--libmpcodecs/vf_noformat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/vf_noformat.c b/libmpcodecs/vf_noformat.c
index 31bd1e4b1c..0fd44885ca 100644
--- a/libmpcodecs/vf_noformat.c
+++ b/libmpcodecs/vf_noformat.c
@@ -61,6 +61,10 @@ static int open(vf_instance_t *vf, char* args){
if(!strcasecmp(args,"rgb4")) vf->priv->fmt=IMGFMT_RGB4; else
if(!strcasecmp(args,"rg4b")) vf->priv->fmt=IMGFMT_RG4B; else
if(!strcasecmp(args,"rgb1")) vf->priv->fmt=IMGFMT_RGB1; else
+ if(!strcasecmp(args,"rgba")) vf->priv->fmt=IMGFMT_RGBA; else
+ if(!strcasecmp(args,"argb")) vf->priv->fmt=IMGFMT_ARGB; else
+ if(!strcasecmp(args,"bgra")) vf->priv->fmt=IMGFMT_BGRA; else
+ if(!strcasecmp(args,"abgr")) vf->priv->fmt=IMGFMT_ABGR; else
{ printf("Unknown format name: '%s'\n",args);return 0;}
}