1 /*****************************************************************************
2 * spu_decoder.h : sub picture unit decoder thread interface
4 *****************************************************************************/
6 /*****************************************************************************
7 * spudec_thread_t : sub picture unit decoder thread descriptor
8 *****************************************************************************/
9 typedef struct spudec_thread_s
12 * Thread properties and locks
14 boolean_t b_die; /* `die' flag */
15 boolean_t b_run; /* `run' flag */
16 boolean_t b_active; /* `active' flag */
17 boolean_t b_error; /* `error' flag */
18 vlc_thread_t thread_id; /* id for thread functions */
23 decoder_fifo_t fifo; /* stores the PES stream data */
24 /* The bit stream structure handles the PES stream at the bit level */
25 bit_stream_t bit_stream;
30 unsigned int total_bits_read;
35 /*****************************************************************************
37 *****************************************************************************/
38 spudec_thread_t * spudec_CreateThread( input_thread_t * p_input );
39 void spudec_DestroyThread( spudec_thread_t * p_spudec );