Mercurial > pt1
diff recpt1/decoder.h @ 74:b6607f6e2851
good citizens never use gray code. wise people never watch TV.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 28 Nov 2009 00:12:05 +0900 |
parents | b63f5c100e5a |
children | aeba1988234f |
line wrap: on
line diff
--- a/recpt1/decoder.h Wed Nov 18 13:12:44 2009 +0900 +++ b/recpt1/decoder.h Sat Nov 28 00:12:05 2009 +0900 @@ -1,6 +1,10 @@ #ifndef _DECODER_H_ #define _DECODER_H_ +#include "config.h" + +#ifdef HAVE_LIBARIB25 + #include <arib25/arib_std_b25.h> #include <arib25/b_cas_card.h> @@ -15,6 +19,25 @@ int emm; } decoder_options; +#else + +typedef struct { + int size; + void *data; +} ARIB_STD_B25_BUFFER; + +typedef struct decoder { + void *dummy; +} decoder; + +typedef struct decoder_options { + int round; + int strip; + int emm; +} decoder_options; + +#endif + /* prototypes */ decoder *b25_startup(decoder_options *opt); int b25_shutdown(decoder *dec); @@ -25,4 +48,5 @@ ARIB_STD_B25_BUFFER *sbuf, ARIB_STD_B25_BUFFER *dbuf); + #endif