X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Finput.h;h=4e4a97a2c7f06066b78f7161fb1b779d1ce9290c;hb=440f9992ee947ea5fd0debbf35fdd1011c6404b3;hp=ae138b2598887d6ba077c40f09068881dfeddabd;hpb=d21d510cbe2bf74432fa69975383e55ac232aba1;p=vlc diff --git a/include/input.h b/include/input.h index ae138b2598..4e4a97a2c7 100644 --- a/include/input.h +++ b/include/input.h @@ -2,7 +2,7 @@ * input.h: structures of the input not exported to other modules ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: input.h,v 1.28 2001/02/08 17:44:12 massiot Exp $ + * $Id: input.h,v 1.37 2001/05/30 17:03:11 sam Exp $ * * Authors: Christophe Massiot * @@ -34,19 +34,17 @@ * of data loss (this should be < 188). */ #define PADDING_PACKET_NUMBER 10 /* Number of padding packets top insert to * escape a decoder. */ +#define NO_SEEK -1 /***************************************************************************** * Prototypes from input_ext-dec.c *****************************************************************************/ -void InitBitstream ( struct bit_stream_s *, struct decoder_fifo_s * ); +void InitBitstream ( struct bit_stream_s *, struct decoder_fifo_s *, + void (* pf_bitstream_callback)( struct bit_stream_s *, + boolean_t ), + void * p_callback_arg ); void NextDataPacket ( struct bit_stream_s * ); -/***************************************************************************** - * Prototypes from input.c to open files - *****************************************************************************/ -void input_FileOpen ( struct input_thread_s * ); -void input_FileClose( struct input_thread_s * ); - /***************************************************************************** * Prototypes from input_programs.c *****************************************************************************/ @@ -56,13 +54,15 @@ struct pgrm_descriptor_s * input_FindProgram( struct input_thread_s *, u16 ); struct pgrm_descriptor_s * input_AddProgram ( struct input_thread_s *, u16, size_t ); void input_DelProgram( struct input_thread_s *, struct pgrm_descriptor_s * ); -void input_DumpStream( struct input_thread_s * ); +struct input_area_s * input_AddArea( struct input_thread_s * ); +void input_DelArea ( struct input_thread_s *, struct input_area_s * ); struct es_descriptor_s * input_FindES( struct input_thread_s *, u16 ); struct es_descriptor_s * input_AddES ( struct input_thread_s *, struct pgrm_descriptor_s *, u16, size_t ); void input_DelES ( struct input_thread_s *, struct es_descriptor_s * ); int input_SelectES ( struct input_thread_s *, struct es_descriptor_s * ); +int input_UnselectES( struct input_thread_s *, struct es_descriptor_s * ); /***************************************************************************** * Prototypes from input_dec.c