Mercurial > pt1.oyama
view recpt1/decoder.h @ 99:3a3f15b063e1
now recpt1 accepts single sid for terrestrial channels.
technical summary:
- mark pid to record instead of pid to drop
- split after decoding for now
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 12 Feb 2010 21:40:21 +0900 |
parents | b6607f6e2851 |
children | aeba1988234f |
line wrap: on
line source
#ifndef _DECODER_H_ #define _DECODER_H_ #include "config.h" #ifdef HAVE_LIBARIB25 #include <arib25/arib_std_b25.h> #include <arib25/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; #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); 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