changeset 6872:e75137e656d3

added new formats: 444p,422p, 411p
author arpi
date Fri, 02 Aug 2002 19:36:31 +0000
parents 88953ff93743
children 1206fa765697
files libmpcodecs/vf_format.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_format.c	Fri Aug 02 17:44:16 2002 +0000
+++ b/libmpcodecs/vf_format.c	Fri Aug 02 19:36:31 2002 +0000
@@ -28,6 +28,9 @@
     vf->priv=malloc(sizeof(struct vf_priv_s));
 
     if(args){
+	if(!strcasecmp(args,"444p")) vf->priv->fmt=IMGFMT_444P; else
+	if(!strcasecmp(args,"422p")) vf->priv->fmt=IMGFMT_422P; else
+	if(!strcasecmp(args,"411p")) vf->priv->fmt=IMGFMT_411P; else
 	if(!strcasecmp(args,"yuy2")) vf->priv->fmt=IMGFMT_YUY2; else
 	if(!strcasecmp(args,"yv12")) vf->priv->fmt=IMGFMT_YV12; else
 	if(!strcasecmp(args,"i420")) vf->priv->fmt=IMGFMT_I420; else