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(...)   msg_Err( p_access, __VA_ARGS__ )
#define LOG_WARN(...)   msg_Warn( p_access, __VA_ARGS__ )
#define STILL_INDEFINITE_WAIT   255
#define STILL_READING   -5

Typedefs

typedef struct 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...   ) 

#define INPUT_DBG_CALL   16

#define INPUT_DBG_CDIO   128

Referenced by cdio_log_handler().

#define INPUT_DBG_EVENT   2

Referenced by VCDControl().

#define INPUT_DBG_EXT   8

Referenced by VCDClose(), VCDControl(), VCDOpen(), and VCDSeek().

#define INPUT_DBG_LSN   32

#define INPUT_DBG_META   1

Referenced by VCDControl().

#define INPUT_DBG_MRL   4

#define INPUT_DBG_PBC   64

#define INPUT_DBG_SEEK   256

Referenced by VCDSeek().

#define INPUT_DBG_SEEK_CUR   512

#define INPUT_DBG_STILL   1024

#define INPUT_DBG_VCDINFO   2048

Referenced by vcd_log_handler().

#define INPUT_DEBUG   1

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

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

#define STILL_INDEFINITE_WAIT   255

#define STILL_READING   -5


Typedef Documentation


Enumeration Type Documentation

Enumerator:
READ_BLOCK 
READ_STILL_FRAME 
READ_ERROR 
READ_END 


Function Documentation

bool vcdplayer_pbc_is_on ( const vcdplayer_t p_vcdplayer  ) 

void vcdplayer_play ( access_t p_access,
vcdinfo_itemid_t  itemid 
)

bool vcdplayer_play_default ( access_t p_access  ) 

bool vcdplayer_play_next ( access_t p_access  ) 

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();

References dbg_print, vcdplayer_input_s::i_lid, INPUT_DBG_CALL, INPUT_DBG_PBC, LOG_WARN, access_t::p_sys, vcdplayer_input_s::play_item, vcdplayer_input_s::pxd, vcdplayer_input_s::vcd, vcdplayer_pbc_is_on(), vcdplayer_play(), vcdplayer_update_entry(), and VLC_SUCCESS.

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();

References dbg_print, vcdplayer_input_s::i_lid, INPUT_DBG_CALL, INPUT_DBG_PBC, LOG_WARN, access_t::p_sys, vcdplayer_input_s::play_item, vcdplayer_input_s::pxd, vcdplayer_input_s::vcd, vcdplayer_pbc_is_on(), vcdplayer_play(), vcdplayer_update_entry(), and VLC_SUCCESS.

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.

References dbg_print, vcdplayer_input_s::end_lsn, vcdplayer_input_s::i_lsn, INPUT_DBG_LSN, INPUT_DBG_PBC, access_t::p_sys, READ_BLOCK, READ_ERROR, READ_STILL_FRAME, vcdplayer_input_s::vcd, vcdplayer_non_pbc_nav(), vcdplayer_pbc_is_on(), and vcdplayer_pbc_nav().

Referenced by VCDReadBlock().

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


Generated on Tue May 25 08:05:09 2010 for VLC by  doxygen 1.5.6