vcdplayer.h File Reference

Include dependency graph for vcdplayer.h:

Go to the source code of this file.

Data Structures

struct  vcdplayer_play_item_info_t
struct  vcdplayer_input_s

Defines

#define INPUT_DBG_META   1
#define INPUT_DBG_EVENT   2
#define INPUT_DBG_MRL   4
#define INPUT_DBG_EXT   8
#define INPUT_DBG_CALL   16
#define INPUT_DBG_LSN   32
#define INPUT_DBG_PBC   64
#define INPUT_DBG_CDIO   128
#define INPUT_DBG_SEEK   256
#define INPUT_DBG_SEEK_CUR   512
#define INPUT_DBG_STILL   1024
#define INPUT_DBG_VCDINFO   2048
#define INPUT_DEBUG   1
#define dbg_print(mask, s, args...)
#define LOG_ERR(args...)   msg_Err( p_access, args )
#define LOG_WARN(args...)   msg_Warn( p_access, args )
#define STILL_INDEFINITE_WAIT   255
#define STILL_READING   -5

Typedefs

typedef vcdplayer_input_s vcdplayer_t

Enumerations

enum  vcdplayer_read_status_t { READ_BLOCK, READ_STILL_FRAME, READ_ERROR, READ_END }

Functions

bool vcdplayer_pbc_is_on (const vcdplayer_t *p_vcdplayer)
bool vcdplayer_play_default (access_t *p_access)
bool vcdplayer_play_next (access_t *p_access)
bool vcdplayer_play_prev (access_t *p_access)
bool vcdplayer_play_return (access_t *p_access)
void vcdplayer_set_origin (access_t *p_access, lsn_t i_lsn, track_t i_track, const vcdinfo_itemid_t *p_itemid)
void vcdplayer_play (access_t *p_access, vcdinfo_itemid_t itemid)
vcdplayer_read_status_t vcdplayer_read (access_t *p_access_t, uint8_t *p_buf)


Define Documentation

#define dbg_print ( mask,
s,
args...   ) 

Value:

if (p_vcdplayer && p_vcdplayer->i_debug & mask) \
     msg_Dbg(p_access, "%s: "s, __func__ , ##args)

#define INPUT_DBG_CALL   16

#define INPUT_DBG_CDIO   128

#define INPUT_DBG_EVENT   2

#define INPUT_DBG_EXT   8

#define INPUT_DBG_LSN   32

#define INPUT_DBG_META   1

#define INPUT_DBG_MRL   4

#define INPUT_DBG_PBC   64

#define INPUT_DBG_SEEK   256

#define INPUT_DBG_SEEK_CUR   512

#define INPUT_DBG_STILL   1024

#define INPUT_DBG_VCDINFO   2048

#define INPUT_DEBUG   1

#define LOG_ERR ( args...   )     msg_Err( p_access, args )

#define LOG_WARN ( args...   )     msg_Warn( p_access, args )

#define STILL_INDEFINITE_WAIT   255

#define STILL_READING   -5


Typedef Documentation

typedef struct vcdplayer_input_s vcdplayer_t


Enumeration Type Documentation

enum vcdplayer_read_status_t

Enumerator:
READ_BLOCK 
READ_STILL_FRAME 
READ_ERROR 
READ_END 


Function Documentation

bool vcdplayer_pbc_is_on ( const vcdplayer_t p_vcdplayer  ) 

Return true if playback control (PBC) is on

void vcdplayer_play ( access_t p_access,
vcdinfo_itemid_t  itemid 
)

bool vcdplayer_play_default ( access_t p_access  ) 

Play item assocated with the "default" selection.

Return false if there was some problem.

??? p_vcdplayer->update_title();

bool vcdplayer_play_next ( access_t p_access  ) 

Play item assocated with the "next" selection.

Return false if there was some problem.

??? p_vcdplayer->update_title();

bool vcdplayer_play_prev ( access_t p_access  ) 

Play item assocated with the "prev" selection.

Return false if there was some problem.

??? p_vcdplayer->update_title();

bool vcdplayer_play_return ( access_t p_access  ) 

Play item assocated with the "return" selection.

Return false if there was some problem.

??? p_vcdplayer->update_title();

vcdplayer_read_status_t vcdplayer_read ( access_t p_access,
uint8_t *  p_buf 
)

Read block into p_buf and return the status back.

This routine is a bit complicated because on reaching the end of a track or entry we may automatically advance to the item, or interpret the next item in the playback-control list.

void vcdplayer_set_origin ( access_t p_access,
lsn_t  i_lsn,
track_t  i_track,
const vcdinfo_itemid_t *  p_itemid 
)


Generated on Wed Aug 13 08:03:00 2008 for VLC by  doxygen 1.5.1