comparison libmpcodecs/vf_format.c @ 6836:0e6860ff93e3

added missing formats :)
author rfelker
date Mon, 29 Jul 2002 16:24:40 +0000
parents 8058078f1248
children e75137e656d3
comparison
equal deleted inserted replaced
6835:a9ba8559ca6f 6836:0e6860ff93e3
38 if(!strcasecmp(args,"bgr24")) vf->priv->fmt=IMGFMT_BGR24; else 38 if(!strcasecmp(args,"bgr24")) vf->priv->fmt=IMGFMT_BGR24; else
39 if(!strcasecmp(args,"bgr32")) vf->priv->fmt=IMGFMT_BGR32; else 39 if(!strcasecmp(args,"bgr32")) vf->priv->fmt=IMGFMT_BGR32; else
40 if(!strcasecmp(args,"bgr16")) vf->priv->fmt=IMGFMT_BGR16; else 40 if(!strcasecmp(args,"bgr16")) vf->priv->fmt=IMGFMT_BGR16; else
41 if(!strcasecmp(args,"bgr15")) vf->priv->fmt=IMGFMT_BGR15; else 41 if(!strcasecmp(args,"bgr15")) vf->priv->fmt=IMGFMT_BGR15; else
42 if(!strcasecmp(args,"bgr8")) vf->priv->fmt=IMGFMT_BGR8; else 42 if(!strcasecmp(args,"bgr8")) vf->priv->fmt=IMGFMT_BGR8; else
43 if(!strcasecmp(args,"bgr4")) vf->priv->fmt=IMGFMT_BGR4; else
44 if(!strcasecmp(args,"bgr1")) vf->priv->fmt=IMGFMT_BGR1; else
43 if(!strcasecmp(args,"rgb24")) vf->priv->fmt=IMGFMT_RGB24; else 45 if(!strcasecmp(args,"rgb24")) vf->priv->fmt=IMGFMT_RGB24; else
44 if(!strcasecmp(args,"rgb32")) vf->priv->fmt=IMGFMT_RGB32; else 46 if(!strcasecmp(args,"rgb32")) vf->priv->fmt=IMGFMT_RGB32; else
45 if(!strcasecmp(args,"rgb16")) vf->priv->fmt=IMGFMT_RGB16; else 47 if(!strcasecmp(args,"rgb16")) vf->priv->fmt=IMGFMT_RGB16; else
46 if(!strcasecmp(args,"rgb15")) vf->priv->fmt=IMGFMT_RGB15; else 48 if(!strcasecmp(args,"rgb15")) vf->priv->fmt=IMGFMT_RGB15; else
47 if(!strcasecmp(args,"rgb8")) vf->priv->fmt=IMGFMT_RGB8; else 49 if(!strcasecmp(args,"rgb8")) vf->priv->fmt=IMGFMT_RGB8; else
50 if(!strcasecmp(args,"rgb4")) vf->priv->fmt=IMGFMT_RGB4; else
51 if(!strcasecmp(args,"rgb1")) vf->priv->fmt=IMGFMT_RGB1; else
48 { printf("Unknown format name: '%s'\n",args);return 0;} 52 { printf("Unknown format name: '%s'\n",args);return 0;}
49 } else 53 } else
50 vf->priv->fmt=IMGFMT_YUY2; 54 vf->priv->fmt=IMGFMT_YUY2;
51 55
52 return 1; 56 return 1;