xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Typedefs | Functions
metronom.h File Reference
#include <pthread.h>
#include <xine/video_out.h>
#include <xine.h>

Go to the source code of this file.

Data Structures

struct  metronom_s
 
struct  metronom_clock_s
 
struct  scr_plugin_s
 

Macros

#define PREBUFFER_PTS_OFFSET   12000
 
#define DISC_STREAMSTART   0
 
#define DISC_RELATIVE   1
 
#define DISC_ABSOLUTE   2
 
#define DISC_STREAMSEEK   3
 
#define DISC_GAPLESS   4
 
#define METRONOM_AV_OFFSET   2
 
#define METRONOM_ADJ_VPTS_OFFSET   3
 
#define METRONOM_FRAME_DURATION   4
 
#define METRONOM_SPU_OFFSET   5
 
#define METRONOM_VPTS_OFFSET   6
 
#define METRONOM_PREBUFFER   7
 
#define METRONOM_VPTS   8
 
#define METRONOM_LOCK   9
 
#define METRONOM_WAITING   10
 
#define METRONOM_VDR_TRICK_PTS   11
 
#define METRONOM_NO_LOCK   0x8000
 
#define CLOCK_SCR_ADJUSTABLE   1
 

Typedefs

typedef struct metronom_s metronom_t
 
typedef struct metronom_clock_s metronom_clock_t
 
typedef struct scr_plugin_s scr_plugin_t
 
typedef void xine_speed_change_cb_t(void *user_data, int new_speed)
 

Functions

metronom_t_x_metronom_init (int have_video, int have_audio, xine_t *xine)
 
metronom_clock_t_x_metronom_clock_init (xine_t *xine)
 

Macro Definition Documentation

◆ CLOCK_SCR_ADJUSTABLE

#define CLOCK_SCR_ADJUSTABLE   1

◆ DISC_ABSOLUTE

#define DISC_ABSOLUTE   2

◆ DISC_GAPLESS

#define DISC_GAPLESS   4

◆ DISC_RELATIVE

#define DISC_RELATIVE   1

◆ DISC_STREAMSEEK

#define DISC_STREAMSEEK   3

◆ DISC_STREAMSTART

#define DISC_STREAMSTART   0

◆ METRONOM_ADJ_VPTS_OFFSET

#define METRONOM_ADJ_VPTS_OFFSET   3

◆ METRONOM_AV_OFFSET

#define METRONOM_AV_OFFSET   2

◆ METRONOM_FRAME_DURATION

#define METRONOM_FRAME_DURATION   4

Referenced by metronom_get_option().

◆ METRONOM_LOCK

#define METRONOM_LOCK   9

◆ METRONOM_NO_LOCK

#define METRONOM_NO_LOCK   0x8000

◆ METRONOM_PREBUFFER

#define METRONOM_PREBUFFER   7

◆ METRONOM_SPU_OFFSET

#define METRONOM_SPU_OFFSET   5

◆ METRONOM_VDR_TRICK_PTS

#define METRONOM_VDR_TRICK_PTS   11

◆ METRONOM_VPTS

#define METRONOM_VPTS   8

◆ METRONOM_VPTS_OFFSET

#define METRONOM_VPTS_OFFSET   6

◆ METRONOM_WAITING

#define METRONOM_WAITING   10

Referenced by metronom_get_option().

◆ PREBUFFER_PTS_OFFSET

#define PREBUFFER_PTS_OFFSET   12000

Referenced by _x_metronom_init().

Typedef Documentation

◆ metronom_clock_t

◆ metronom_t

typedef struct metronom_s metronom_t

◆ scr_plugin_t

typedef struct scr_plugin_s scr_plugin_t

◆ xine_speed_change_cb_t

typedef void xine_speed_change_cb_t(void *user_data, int new_speed)

Function Documentation

◆ _x_metronom_clock_init()

metronom_clock_t * _x_metronom_clock_init ( xine_t * xine)

◆ _x_metronom_init()

metronom_t * _x_metronom_init ( int have_video,
int have_audio,
xine_t * xine )