comparison codec-cfg.h @ 328:fc98b6c3a3dc

lots of changes again
author szabii
date Tue, 10 Apr 2001 20:09:23 +0000
parents 6472ab2051c7
children a5c6f9d536dd
comparison
equal deleted inserted replaced
327:e7731f5c76cc 328:fc98b6c3a3dc
12 12
13 #define CODECS_MAX_FOURCC 16 13 #define CODECS_MAX_FOURCC 16
14 #define CODECS_MAX_OUTFMT 16 14 #define CODECS_MAX_OUTFMT 16
15 15
16 // Global flags: 16 // Global flags:
17 #define CODECS_FLAG_AUDIO (1<<0) 17 #define CODECS_FLAG_SEEKABLE (1<<0)
18 #define CODECS_FLAG_SEEKABLE (1<<1)
19 18
20 // Outfmt flags: 19 // Outfmt flags:
21 #define CODECS_FLAG_FLIP (1<<0) 20 #define CODECS_FLAG_FLIP (1<<0)
22 #define CODECS_FLAG_NOFLIP (1<<1) 21 #define CODECS_FLAG_NOFLIP (1<<1)
23 #define CODECS_FLAG_YUVHACK (1<<2) 22 #define CODECS_FLAG_YUVHACK (1<<2)
48 short driver; 47 short driver;
49 short flags; 48 short flags;
50 short status; 49 short status;
51 } codecs_t; 50 } codecs_t;
52 51
53 codecs_t* parse_codec_cfg(char *cfgfile); 52 codecs_t** parse_codec_cfg(char *cfgfile);
54 codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,int audioflag); 53 codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,int audioflag);
55 54
56 #endif 55 #endif