VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
decoder_synchro.c File Reference
Include dependency graph for decoder_synchro.c:

Data Structures

struct  decoder_synchro_t

Macros

#define MAX_PIC_AVERAGE   8
#define DELTA   (int)(0.075*CLOCK_FREQ)
#define MAX_VALID_TAU   (int)(0.3*CLOCK_FREQ)
#define DEFAULT_NB_P   5
#define DEFAULT_NB_B   1
#define TAU_PRIME(coding_type)
#define S   (*p_synchro)
#define PTS_THRESHOLD   (period >> 2)

Functions

decoder_synchro_tdecoder_SynchroInit (decoder_t *p_dec, int i_frame_rate)
void decoder_SynchroRelease (decoder_synchro_t *p_synchro)
void decoder_SynchroReset (decoder_synchro_t *p_synchro)
bool decoder_SynchroChoose (decoder_synchro_t *p_synchro, int i_coding_type, int i_render_time, bool b_low_delay)
void decoder_SynchroTrash (decoder_synchro_t *p_synchro)
void decoder_SynchroDecode (decoder_synchro_t *p_synchro)
void decoder_SynchroEnd (decoder_synchro_t *p_synchro, int i_coding_type, bool b_garbage)
mtime_t decoder_SynchroDate (decoder_synchro_t *p_synchro)
void decoder_SynchroNewPicture (decoder_synchro_t *p_synchro, int i_coding_type, int i_repeat_field, mtime_t next_pts, mtime_t next_dts, bool b_low_delay)

Macro Definition Documentation

#define DEFAULT_NB_B   1

Referenced by decoder_SynchroInit().

#define DEFAULT_NB_P   5

Referenced by decoder_SynchroInit().

#define DELTA   (int)(0.075*CLOCK_FREQ)

Referenced by decoder_SynchroChoose().

#define MAX_PIC_AVERAGE   8

Referenced by decoder_SynchroEnd().

#define MAX_VALID_TAU   (int)(0.3*CLOCK_FREQ)

Referenced by decoder_SynchroEnd().

#define PTS_THRESHOLD   (period >> 2)
#define S   (*p_synchro)
#define TAU_PRIME (   coding_type)
Value:
(p_synchro->p_tau[(coding_type)] \
+ (p_synchro->p_tau[(coding_type)] >> 1) \
+ p_synchro->i_render_time)

Referenced by decoder_SynchroChoose().

Function Documentation

bool decoder_SynchroChoose ( decoder_synchro_t p_synchro,
int  i_coding_type,
int  i_render_time,
bool  b_low_delay 
)
mtime_t decoder_SynchroDate ( decoder_synchro_t p_synchro)
void decoder_SynchroDecode ( decoder_synchro_t p_synchro)
void decoder_SynchroEnd ( decoder_synchro_t p_synchro,
int  i_coding_type,
bool  b_garbage 
)
decoder_synchro_t* decoder_SynchroInit ( decoder_t p_dec,
int  i_frame_rate 
)
void decoder_SynchroNewPicture ( decoder_synchro_t p_synchro,
int  i_coding_type,
int  i_repeat_field,
mtime_t  next_pts,
mtime_t  next_dts,
bool  b_low_delay 
)
void decoder_SynchroRelease ( decoder_synchro_t p_synchro)
void decoder_SynchroReset ( decoder_synchro_t p_synchro)
void decoder_SynchroTrash ( decoder_synchro_t p_synchro)