comparison recpt1/decoder.h @ 2:8ac7c59fefc9

added b25 decode functionality
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 16 Feb 2009 21:40:16 +0900
parents
children 6801fe7e04ff
comparison
equal deleted inserted replaced
1:29f3b2bbbd67 2:8ac7c59fefc9
1 #ifndef _DECODER_H_
2 #define _DECODER_H_
3
4 #include "../arib25v021/arib25/src/arib_std_b25.h"
5 #include "../arib25v021/arib25/src/b_cas_card.h"
6
7 typedef struct decoder
8 {
9 ARIB_STD_B25 *b25;
10 B_CAS_CARD *bcas;
11 } decoder;
12
13 /* prototypes */
14 decoder *b25_startup(void);
15 int b25_shutdown(decoder *dec);
16 int b25_decode(decoder *dec,
17 ARIB_STD_B25_BUFFER *sbuf,
18 ARIB_STD_B25_BUFFER *dbuf);
19 int b25_finish(decoder *dec,
20 ARIB_STD_B25_BUFFER *sbuf,
21 ARIB_STD_B25_BUFFER *dbuf);
22
23 #endif