
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 dbg_print | ( | mask, | |||
| s, | |||||
| args... | ) |
Value:
if (p_vcdplayer && p_vcdplayer->i_debug & mask) \ msg_Dbg(p_access, "%s: "s, __func__ , ##args)
Referenced by _vcdplayer_set_entry(), _vcdplayer_set_segment(), _vcdplayer_set_track(), Decode(), DecoderOpen(), Reassemble(), vcd_Open(), VCDClose(), VCDControl(), VCDEntryPoints(), VCDLIDs(), VCDOpen(), VCDParse(), vcdplayer_inc_play_item(), vcdplayer_non_pbc_nav(), vcdplayer_pbc_nav(), vcdplayer_play(), vcdplayer_play_default(), vcdplayer_play_next(), vcdplayer_play_prev(), vcdplayer_play_return(), vcdplayer_play_single_item(), vcdplayer_read(), vcdplayer_set_origin(), vcdplayer_update_entry(), VCDReadBlock(), VCDSeek(), VCDSegments(), VCDSetOrigin(), VCDTitles(), and VCDUpdateVar().
| #define INPUT_DBG_CALL 16 |
Referenced by vcd_Open(), VCDClose(), VCDControl(), VCDLIDs(), VCDOpen(), VCDParse(), vcdplayer_inc_play_item(), vcdplayer_play(), vcdplayer_play_default(), vcdplayer_play_next(), vcdplayer_play_prev(), vcdplayer_play_return(), vcdplayer_play_single_item(), vcdplayer_set_origin(), VCDSeek(), VCDSegments(), and VCDSetOrigin().
| #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 |
Referenced by VCDEntryPoints(), VCDLIDs(), VCDParse(), VCDSegments(), and VCDTitles().
| #define INPUT_DBG_PBC 64 |
| #define INPUT_DBG_SEEK 256 |
Referenced by VCDSeek().
| #define INPUT_DBG_SEEK_CUR 512 |
| #define INPUT_DBG_STILL 1024 |
Referenced by vcdplayer_non_pbc_nav(), vcdplayer_pbc_nav(), and VCDReadBlock().
| #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__ ) |
Referenced by vcdplayer_play_default(), vcdplayer_play_next(), vcdplayer_play_prev(), and vcdplayer_play_return().
| #define STILL_INDEFINITE_WAIT 255 |
| #define STILL_READING -5 |
Referenced by vcdplayer_play_single_item().
| typedef struct vcdplayer_input_s vcdplayer_t |
| 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().
| 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.
| 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().
1.5.6