
Functions | |
| 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) |
| static 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) |
| static 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) |
| static void _vcdplayer_set_entry | ( | access_t * | p_access, | |
| unsigned int | num | |||
| ) | [static] |
Set reading to play an entry
References dbg_print, vcdplayer_input_s::i_lsn, vcdplayer_input_s::i_still, INPUT_DBG_LSN, LOG_ERR, access_t::p_sys, vcdplayer_input_s::track_end_lsn, vcdplayer_input_s::vcd, and VCDSetOrigin().
Referenced by vcdplayer_play_single_item().
| static void _vcdplayer_set_segment | ( | access_t * | p_access, | |
| unsigned int | num | |||
| ) | [static] |
Set reading to play an segment (e.g. still frame)
References dbg_print, vcdplayer_input_s::i_lsn, INPUT_DBG_LSN, LOG_ERR, access_t::p_sys, vcdplayer_input_s::vcd, and VCDSetOrigin().
Referenced by vcdplayer_play_single_item().
| static void _vcdplayer_set_track | ( | access_t * | p_access, | |
| track_t | i_track | |||
| ) | [static] |
Set reading to play an entire track.
References dbg_print, vcdplayer_input_s::i_lsn, vcdplayer_input_s::i_tracks, vcdplayer_input_s::in_still, INPUT_DBG_LSN, access_t::p_sys, vcdplayer_input_s::vcd, and VCDSetOrigin().
Referenced by vcdplayer_play_single_item().
| static size_t vcdplayer_get_item_size | ( | access_t * | p_access, | |
| vcdinfo_itemid_t | itemid | |||
| ) | [static] |
References vcdplayer_input_s::entry, LOG_ERR, access_t::p_sys, vcdplayer_input_s::segment, vcdplayer_play_item_info_t::size, and vcdplayer_input_s::track.
Referenced by vcdplayer_set_origin().
| 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.
References dbg_print, INPUT_DBG_CALL, INPUT_DBG_PBC, access_t::p_sys, vcdplayer_input_s::pdi, vcdplayer_input_s::pxd, and vcdplayer_play_single_item().
Referenced by vcdplayer_pbc_nav(), and vcdplayer_play().
| static vcdplayer_read_status_t vcdplayer_non_pbc_nav | ( | access_t * | p_access, | |
| uint8_t * | wait_time | |||
| ) | [static] |
References dbg_print, vcdplayer_input_s::in_still, INPUT_DBG_LSN, INPUT_DBG_STILL, LOG_ERR, access_t::p_sys, vcdplayer_input_s::play_item, READ_BLOCK, READ_END, READ_ERROR, READ_STILL_FRAME, and vcdplayer_play_next().
Referenced by vcdplayer_read().
| bool vcdplayer_pbc_is_on | ( | const vcdplayer_t * | p_vcdplayer | ) |
Return true if playback control (PBC) is on
References vcdplayer_input_s::i_lid.
Referenced by VCDFormatStr(), vcdplayer_play(), vcdplayer_play_default(), vcdplayer_play_next(), vcdplayer_play_prev(), vcdplayer_play_return(), and vcdplayer_read().
| static vcdplayer_read_status_t vcdplayer_pbc_nav | ( | access_t * | p_access, | |
| uint8_t * | wait_time | |||
| ) | [static] |
References dbg_print, vcdplayer_input_s::end_lsn, vcdplayer_input_s::i_lid, vcdplayer_input_s::i_loop, vcdplayer_input_s::i_lsn, vcdplayer_input_s::i_still, INPUT_DBG_LSN, INPUT_DBG_PBC, INPUT_DBG_STILL, LOG_ERR, vcdplayer_input_s::loop_item, msleep, access_t::p_sys, vcdplayer_input_s::play_item, vcdplayer_input_s::pxd, READ_BLOCK, READ_END, READ_ERROR, READ_STILL_FRAME, vcdplayer_input_s::vcd, vcdplayer_inc_play_item(), vcdplayer_play(), vcdplayer_play_single_item(), vcdplayer_update_entry(), and vlc_lrand48().
Referenced by vcdplayer_read().
| void vcdplayer_play | ( | access_t * | p_access, | |
| vcdinfo_itemid_t | itemid | |||
| ) |
References dbg_print, vcdplayer_input_s::i_lid, vcdplayer_input_s::i_loop, INPUT_DBG_CALL, vcdplayer_input_s::loop_item, access_t::p_sys, vcdplayer_input_s::pdi, vcdplayer_input_s::pxd, vcdplayer_input_s::vcd, vcdplayer_inc_play_item(), vcdplayer_pbc_is_on(), and vcdplayer_play_single_item().
Referenced by VCDOpen(), vcdplayer_pbc_nav(), vcdplayer_play_default(), vcdplayer_play_next(), vcdplayer_play_prev(), and vcdplayer_play_return().
| 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();
References dbg_print, vcdplayer_input_s::i_lid, vcdplayer_input_s::i_lsn, 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(), VLC_EGENERIC, and VLC_SUCCESS.
| 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();
References dbg_print, vcdplayer_input_s::i_entries, vcdplayer_input_s::i_lid, vcdplayer_input_s::i_segments, vcdplayer_input_s::i_tracks, 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.
Referenced by vcdplayer_non_pbc_nav().
| 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.
| static bool vcdplayer_play_single_item | ( | access_t * | p_access, | |
| vcdinfo_itemid_t | itemid | |||
| ) | [static] |
References _vcdplayer_set_entry(), _vcdplayer_set_segment(), _vcdplayer_set_track(), dbg_print, vcdplayer_input_s::end_lsn, vcdplayer_input_s::i_lsn, vcdplayer_input_s::i_still, vcdplayer_input_s::i_tracks, INPUT_DBG_CALL, INPUT_DBG_PBC, LOG_ERR, access_t::p_sys, vcdplayer_input_s::play_item, STILL_READING, and vcdplayer_input_s::vcd.
Referenced by vcdplayer_inc_play_item(), vcdplayer_pbc_nav(), and vcdplayer_play().
| 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 | |||
| ) |
References dbg_print, vcdplayer_input_s::end_lsn, vcdplayer_input_s::i_lsn, vcdplayer_input_s::i_track, INPUT_DBG_CALL, INPUT_DBG_LSN, LOG_ERR, vcdplayer_input_s::origin_lsn, access_t::p_sys, vcdplayer_input_s::play_item, vcdplayer_input_s::track_end_lsn, vcdplayer_input_s::track_lsn, vcdplayer_input_s::vcd, and vcdplayer_get_item_size().
Referenced by VCDSetOrigin().
| static void vcdplayer_update_entry | ( | access_t * | p_access, | |
| uint16_t | ofs, | |||
| uint16_t * | entry, | |||
| const char * | label | |||
| ) | [static] |
References dbg_print, INPUT_DBG_PBC, access_t::p_sys, and vcdplayer_input_s::vcd.
Referenced by vcdplayer_pbc_nav(), vcdplayer_play_default(), vcdplayer_play_next(), vcdplayer_play_prev(), and vcdplayer_play_return().
1.5.6