vcdplayer.c File Reference

Include dependency graph for vcdplayer.c:


Functions

void VCDSetOrigin (access_t *p_access, lsn_t i_lsn, track_t i_track, const vcdinfo_itemid_t *p_itemid)
bool vcdplayer_pbc_is_on (const vcdplayer_t *p_vcdplayer)
static size_t vcdplayer_get_item_size (access_t *p_access, vcdinfo_itemid_t itemid)
static void vcdplayer_update_entry (access_t *p_access, uint16_t ofs, uint16_t *entry, const char *label)
vcdplayer_read_status_t vcdplayer_non_pbc_nav (access_t *p_access, uint8_t *wait_time)
static void _vcdplayer_set_track (access_t *p_access, track_t i_track)
static void _vcdplayer_set_entry (access_t *p_access, unsigned int num)
static void _vcdplayer_set_segment (access_t *p_access, unsigned int num)
static bool vcdplayer_play_single_item (access_t *p_access, vcdinfo_itemid_t itemid)
void vcdplayer_set_origin (access_t *p_access, lsn_t i_lsn, track_t i_track, const vcdinfo_itemid_t *p_itemid)
static bool vcdplayer_inc_play_item (access_t *p_access)
void vcdplayer_play (access_t *p_access, vcdinfo_itemid_t itemid)
vcdplayer_read_status_t vcdplayer_pbc_nav (access_t *p_access, uint8_t *wait_time)
vcdplayer_read_status_t vcdplayer_read (access_t *p_access, uint8_t *p_buf)
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)

Function Documentation

static void _vcdplayer_set_entry ( access_t p_access,
unsigned int  num 
) [static]

Set reading to play an entry

static void _vcdplayer_set_segment ( access_t p_access,
unsigned int  num 
) [static]

Set reading to play an segment (e.g. still frame)

static void _vcdplayer_set_track ( access_t p_access,
track_t  i_track 
) [static]

Set reading to play an entire track.

static size_t vcdplayer_get_item_size ( access_t p_access,
vcdinfo_itemid_t  itemid 
) [static]

static bool vcdplayer_inc_play_item ( access_t p_access  )  [static]

Get the next play-item in the list given in the LIDs. Note play-item here refers to list of play-items for a single LID It shouldn't be confused with a user's list of favorite things to play or the "next" field of a LID which moves us to a different LID.

vcdplayer_read_status_t vcdplayer_non_pbc_nav ( access_t p_access,
uint8_t *  wait_time 
)

bool vcdplayer_pbc_is_on ( const vcdplayer_t p_vcdplayer  ) 

Return true if playback control (PBC) is on

vcdplayer_read_status_t vcdplayer_pbc_nav ( access_t p_access,
uint8_t *  wait_time 
)

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

static bool vcdplayer_play_single_item ( access_t p_access,
vcdinfo_itemid_t  itemid 
) [static]

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 
)

static void vcdplayer_update_entry ( access_t p_access,
uint16_t  ofs,
uint16_t *  entry,
const char *  label 
) [static]

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


Generated on Wed Aug 13 08:02:59 2008 for VLC by  doxygen 1.5.1