comparison m_option.c @ 12999:bc8cda64ad7f

RGBA variants
author michael
date Wed, 11 Aug 2004 10:31:38 +0000
parents 470c2e531d10
children a56f68304ea2
comparison
equal deleted inserted replaced
12998:e44e4e16602f 12999:bc8cda64ad7f
984 {"rgb15", IMGFMT_RGB15}, 984 {"rgb15", IMGFMT_RGB15},
985 {"rgb8", IMGFMT_RGB8}, 985 {"rgb8", IMGFMT_RGB8},
986 {"rgb4", IMGFMT_RGB4}, 986 {"rgb4", IMGFMT_RGB4},
987 {"rg4b", IMGFMT_RG4B}, 987 {"rg4b", IMGFMT_RG4B},
988 {"rgb1", IMGFMT_RGB1}, 988 {"rgb1", IMGFMT_RGB1},
989 {"rgba", IMGFMT_RGBA},
990 {"argb", IMGFMT_ARGB},
991 {"bgra", IMGFMT_BGRA},
992 {"abgr", IMGFMT_ABGR},
989 { NULL, 0 } 993 { NULL, 0 }
990 }; 994 };
991 995
992 static int parse_imgfmt(m_option_t* opt,char *name, char *param, void* dst, int src) { 996 static int parse_imgfmt(m_option_t* opt,char *name, char *param, void* dst, int src) {
993 uint32_t fmt = 0; 997 uint32_t fmt = 0;