Mercurial > mplayer.hg
comparison libmpcodecs/vf_format.c @ 9171:898e5270a46e
fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte)
author | michael |
---|---|
date | Thu, 30 Jan 2003 09:15:09 +0000 |
parents | e75137e656d3 |
children | e9a2af584986 |
comparison
equal
deleted
inserted
replaced
9170:bcf4bf10f9c7 | 9171:898e5270a46e |
---|---|
42 if(!strcasecmp(args,"bgr32")) vf->priv->fmt=IMGFMT_BGR32; else | 42 if(!strcasecmp(args,"bgr32")) vf->priv->fmt=IMGFMT_BGR32; else |
43 if(!strcasecmp(args,"bgr16")) vf->priv->fmt=IMGFMT_BGR16; else | 43 if(!strcasecmp(args,"bgr16")) vf->priv->fmt=IMGFMT_BGR16; else |
44 if(!strcasecmp(args,"bgr15")) vf->priv->fmt=IMGFMT_BGR15; else | 44 if(!strcasecmp(args,"bgr15")) vf->priv->fmt=IMGFMT_BGR15; else |
45 if(!strcasecmp(args,"bgr8")) vf->priv->fmt=IMGFMT_BGR8; else | 45 if(!strcasecmp(args,"bgr8")) vf->priv->fmt=IMGFMT_BGR8; else |
46 if(!strcasecmp(args,"bgr4")) vf->priv->fmt=IMGFMT_BGR4; else | 46 if(!strcasecmp(args,"bgr4")) vf->priv->fmt=IMGFMT_BGR4; else |
47 if(!strcasecmp(args,"bg4b")) vf->priv->fmt=IMGFMT_BG4B; else | |
47 if(!strcasecmp(args,"bgr1")) vf->priv->fmt=IMGFMT_BGR1; else | 48 if(!strcasecmp(args,"bgr1")) vf->priv->fmt=IMGFMT_BGR1; else |
48 if(!strcasecmp(args,"rgb24")) vf->priv->fmt=IMGFMT_RGB24; else | 49 if(!strcasecmp(args,"rgb24")) vf->priv->fmt=IMGFMT_RGB24; else |
49 if(!strcasecmp(args,"rgb32")) vf->priv->fmt=IMGFMT_RGB32; else | 50 if(!strcasecmp(args,"rgb32")) vf->priv->fmt=IMGFMT_RGB32; else |
50 if(!strcasecmp(args,"rgb16")) vf->priv->fmt=IMGFMT_RGB16; else | 51 if(!strcasecmp(args,"rgb16")) vf->priv->fmt=IMGFMT_RGB16; else |
51 if(!strcasecmp(args,"rgb15")) vf->priv->fmt=IMGFMT_RGB15; else | 52 if(!strcasecmp(args,"rgb15")) vf->priv->fmt=IMGFMT_RGB15; else |
52 if(!strcasecmp(args,"rgb8")) vf->priv->fmt=IMGFMT_RGB8; else | 53 if(!strcasecmp(args,"rgb8")) vf->priv->fmt=IMGFMT_RGB8; else |
53 if(!strcasecmp(args,"rgb4")) vf->priv->fmt=IMGFMT_RGB4; else | 54 if(!strcasecmp(args,"rgb4")) vf->priv->fmt=IMGFMT_RGB4; else |
55 if(!strcasecmp(args,"rg4b")) vf->priv->fmt=IMGFMT_RG4B; else | |
54 if(!strcasecmp(args,"rgb1")) vf->priv->fmt=IMGFMT_RGB1; else | 56 if(!strcasecmp(args,"rgb1")) vf->priv->fmt=IMGFMT_RGB1; else |
55 { printf("Unknown format name: '%s'\n",args);return 0;} | 57 { printf("Unknown format name: '%s'\n",args);return 0;} |
56 } else | 58 } else |
57 vf->priv->fmt=IMGFMT_YUY2; | 59 vf->priv->fmt=IMGFMT_YUY2; |
58 | 60 |