File:  [DVB] / multiplexer / input.h
Revision 1.6: download - view: text, annotated - select for diffs
Thu Jul 12 10:01:39 2001 UTC (22 years, 11 months ago) by oskar
Branches: MAIN
CVS tags: HEAD
Increase buffer sizes (input 0.5 .. 1 MB, output 8 MB).
Change buffer fullness trigger condition from 1/2 to 3/4.
Add timed trigger condition for both input and output buffers.
  The default delay time is 250 msec, but it can be configured
  with the commands --trigin and --trigout. See man page for more info.
Add more info to --statistics command, providing min/max values,
  and buffer and block sizes around the output stage.

/*
 * ISO 13818 stream multiplexer
 * Copyright (C) 2001 Convergence Integrated Media GmbH Berlin
 * Author: Oskar Schirmer (oskar@convergence.de)
 */


boolean input_init (void);
boolean input_expected (void);
void input_settriggertiming (t_msec time);
boolean input_acceptable (unsigned int *nfds,
    struct pollfd *ufds,
    t_msec *timeout,
    boolean outnotfull);
stream_descr *input_available (void);
char *input_filerefername (int filerefnum);
file_descr* input_openfile (char *name,
    int filerefnum,
    content_type content,
    boolean automatic,
    int programnb);
file_descr* input_existfile (char *name);
void input_closefileifunused (file_descr *f);
boolean input_addprog (stream_descr *s,
    prog_descr *p);
boolean input_delprog (stream_descr *s,
    prog_descr *p);
stream_descr *input_openstream (file_descr *f,
    int sourceid,
    int streamid,
    int streamtype,
    streamdata_type streamdata,
    stream_descr *mapstream);
void input_endstream (stream_descr *s);
void input_endstreamkill (stream_descr *s);
void input_closestream (stream_descr *s);
boolean split_something (void);
file_descr *input_filehandle (int handle);
file_descr *input_filereferenced (int filerefnum,
    char *filename);
void input_stopfile (file_descr *f);
void input_something (file_descr *f,
    boolean readable);


LinuxTV legacy CVS <linuxtv.org/cvs>