Mercurial > pt1
view recpt1/decoder.h @ 13:003fe2470af8
reorganized options:
- 0 as recsec means indefinite recording.
- now --udp option works as switch to enable udp broadcasting.
- --host option has been added. this option specifies hostname to connect via udp socket.
- when --udp option is specified, output file may not be specified.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 24 Feb 2009 17:22:06 +0900 |
parents | 97fd2315114e |
children | b63f5c100e5a |
line wrap: on
line source
#ifndef _DECODER_H_ #define _DECODER_H_ #include "../arib25v023/arib25/src/arib_std_b25.h" #include "../arib25v023/arib25/src/b_cas_card.h" 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(decoder_options *opt); int b25_shutdown(decoder *dec); int b25_decode(decoder *dec, ARIB_STD_B25_BUFFER *sbuf, ARIB_STD_B25_BUFFER *dbuf); int b25_finish(decoder *dec, ARIB_STD_B25_BUFFER *sbuf, ARIB_STD_B25_BUFFER *dbuf); #endif