diff recpt1/decoder.h @ 5:97fd2315114e

- now it can handle options. - applied channel patch. - some cleanups.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 17 Feb 2009 05:58:36 +0900
parents 43d177fa65c9
children b63f5c100e5a
line wrap: on
line diff
--- a/recpt1/decoder.h	Tue Feb 17 01:46:54 2009 +0900
+++ b/recpt1/decoder.h	Tue Feb 17 05:58:36 2009 +0900
@@ -4,14 +4,19 @@
 #include "../arib25v023/arib25/src/arib_std_b25.h"
 #include "../arib25v023/arib25/src/b_cas_card.h"
 
-typedef struct decoder
-{
+typedef struct decoder {
     ARIB_STD_B25 *b25;
     B_CAS_CARD *bcas;
 } decoder;
 
+typedef struct decoder_options {
+    int round;
+    int strip;
+    int emm;
+} decoder_options;
+
 /* prototypes */
-decoder *b25_startup(void);
+decoder *b25_startup(decoder_options *opt);
 int b25_shutdown(decoder *dec);
 int b25_decode(decoder *dec,
                ARIB_STD_B25_BUFFER *sbuf,