72 |
or XVID_CSP_NULL if failure |
or XVID_CSP_NULL if failure |
73 |
*/ |
*/ |
74 |
|
|
75 |
int get_colorspace(BITMAPINFOHEADER * hdr) |
static int get_colorspace(BITMAPINFOHEADER * hdr) |
76 |
{ |
{ |
77 |
/* rgb only: negative height specifies top down image */ |
/* rgb only: negative height specifies top down image */ |
78 |
int rgb_flip = (hdr->biHeight < 0 ? 0 : XVID_CSP_VFLIP); |
int rgb_flip = (hdr->biHeight < 0 ? 0 : XVID_CSP_VFLIP); |
254 |
} |
} |
255 |
|
|
256 |
|
|
257 |
const char type2char(int type) |
static char type2char(int type) |
258 |
{ |
{ |
259 |
if (type==XVID_TYPE_IVOP) |
if (type==XVID_TYPE_IVOP) |
260 |
return 'I'; |
return 'I'; |
265 |
return 'S'; |
return 'S'; |
266 |
} |
} |
267 |
|
|
268 |
int vfw_debug(void *handle, |
static int vfw_debug(void *handle, |
269 |
int opt, |
int opt, |
270 |
void *param1, |
void *param1, |
271 |
void *param2) |
void *param2) |
346 |
return 0; |
return 0; |
347 |
} |
} |
348 |
|
|
|
void |
|
|
sort_zones(zone_t * zones, int zone_num, int * sel); |
|
349 |
|
|
350 |
static void |
static void |
351 |
prepare_cquant_zones(CONFIG * config) { |
prepare_cquant_zones(CONFIG * config) { |