MythTV  master
Classes | Macros | Typedefs | Functions
multiplex.h File Reference
#include "mpg_common.h"
#include "pes.h"
#include "element.h"
Include dependency graph for multiplex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  multiplex_s
 

Macros

#define N_AUDIO   32
 
#define N_AC3   8
 
#define REPLEX_MPEG2   0
 
#define REPLEX_DVD   1
 
#define REPLEX_HDTV   2
 
#define REPLEX_TS_SD   3
 
#define REPLEX_TS_HD   4
 
#define TIME_ALWAYS   1
 
#define TIME_IFRAME   2
 

Typedefs

typedef struct multiplex_s multiplex_t
 

Functions

void check_times (multiplex_t *mx, int *video_ok, int *ext_ok, int *start)
 
void write_out_packs (multiplex_t *mx, int video_ok, int *ext_ok)
 
void finish_mpg (multiplex_t *mx)
 
void init_multiplex (multiplex_t *mx, sequence_t *seq_head, audio_frame_t *extframe, int *exttype, const int *exttypcnt, uint64_t video_delay, uint64_t audio_delay, int fd, int(*fill_buffers)(void *p, int f), ringbuffer *vrbuffer, ringbuffer *index_vrbuffer, ringbuffer *extrbuffer, ringbuffer *index_extrbuffer, int otype)
 
void setup_multiplex (multiplex_t *mx)
 

Macro Definition Documentation

◆ N_AUDIO

#define N_AUDIO   32

Definition at line 33 of file multiplex.h.

◆ N_AC3

#define N_AC3   8

Definition at line 34 of file multiplex.h.

◆ REPLEX_MPEG2

#define REPLEX_MPEG2   0

Definition at line 38 of file multiplex.h.

◆ REPLEX_DVD

#define REPLEX_DVD   1

Definition at line 39 of file multiplex.h.

◆ REPLEX_HDTV

#define REPLEX_HDTV   2

Definition at line 40 of file multiplex.h.

◆ REPLEX_TS_SD

#define REPLEX_TS_SD   3

Definition at line 41 of file multiplex.h.

◆ REPLEX_TS_HD

#define REPLEX_TS_HD   4

Definition at line 42 of file multiplex.h.

◆ TIME_ALWAYS

#define TIME_ALWAYS   1

Definition at line 57 of file multiplex.h.

◆ TIME_IFRAME

#define TIME_IFRAME   2

Definition at line 58 of file multiplex.h.

Typedef Documentation

◆ multiplex_t

typedef struct multiplex_s multiplex_t

Function Documentation

◆ check_times()

void check_times ( multiplex_t mx,
int *  video_ok,
int *  ext_ok,
int *  start 
)

Definition at line 482 of file multiplex.c.

Referenced by do_replex(), finish_mpg(), and MPEG2replex::Start().

◆ write_out_packs()

void write_out_packs ( multiplex_t mx,
int  video_ok,
int *  ext_ok 
)

Definition at line 574 of file multiplex.c.

Referenced by do_replex(), finish_mpg(), and MPEG2replex::Start().

◆ finish_mpg()

void finish_mpg ( multiplex_t mx)

Definition at line 595 of file multiplex.c.

Referenced by replex_finish(), and MPEG2replex::WaitBuffers().

◆ init_multiplex()

void init_multiplex ( multiplex_t mx,
sequence_t seq_head,
audio_frame_t extframe,
int *  exttype,
const int *  exttypcnt,
uint64_t  video_delay,
uint64_t  audio_delay,
int  fd,
int(*)(void *p, int f)  fill_buffers,
ringbuffer vrbuffer,
ringbuffer index_vrbuffer,
ringbuffer extrbuffer,
ringbuffer index_extrbuffer,
int  otype 
)

Definition at line 676 of file multiplex.c.

Referenced by do_replex(), and MPEG2replex::Start().

◆ setup_multiplex()

void setup_multiplex ( multiplex_t mx)

Definition at line 835 of file multiplex.c.

Referenced by do_replex(), and MPEG2replex::Start().