

Public Member Functions | |
| chapter_item_c () | |
| virtual | ~chapter_item_c () |
| int64_t | RefreshChapters (bool b_ordered, int64_t i_prev_user_time) |
| int | PublishChapters (input_title_t &title, int &i_user_chapters, int i_level=0) |
| virtual chapter_item_c * | FindTimecode (mtime_t i_timecode, const chapter_item_c *p_current, bool &b_found) |
| void | Append (const chapter_item_c &edition) |
| chapter_item_c * | FindChapter (int64_t i_find_uid) |
| virtual chapter_item_c * | BrowseCodecPrivate (unsigned int codec_id, bool(*match)(const chapter_codec_cmds_c &data, const void *p_cookie, size_t i_cookie_size), const void *p_cookie, size_t i_cookie_size) |
| std::string | GetCodecName (bool f_for_title=false) const |
| bool | ParentOf (const chapter_item_c &item) const |
| int16 | GetTitleNumber () const |
| bool | Enter (bool b_do_subchapters) |
| bool | Leave (bool b_do_subchapters) |
| bool | EnterAndLeave (chapter_item_c *p_item, bool b_enter=true) |
Static Public Member Functions | |
| static bool | CompareTimecode (const chapter_item_c *itemA, const chapter_item_c *itemB) |
Data Fields | |
| int64_t | i_start_time |
| int64_t | i_end_time |
| int64_t | i_user_start_time |
| int64_t | i_user_end_time |
| std::vector< chapter_item_c * > | sub_chapters |
| int | i_seekpoint_num |
| int64_t | i_uid |
| bool | b_display_seekpoint |
| bool | b_user_display |
| std::string | psz_name |
| chapter_item_c * | psz_parent |
| bool | b_is_leaving |
| std::vector < chapter_codec_cmds_c * > | codecs |
| chapter_item_c::chapter_item_c | ( | ) | [inline] |
| chapter_item_c::~chapter_item_c | ( | ) | [virtual] |
References codecs, index, and sub_chapters.
| int64_t chapter_item_c::RefreshChapters | ( | bool | b_ordered, | |
| int64_t | i_prev_user_time | |||
| ) |
References CompareTimecode(), i_end_time, i_start_time, i_user_end_time, i_user_start_time, index, and sub_chapters.
Referenced by chapter_edition_c::RefreshChapters().
| int chapter_item_c::PublishChapters | ( | input_title_t & | title, | |
| int & | i_user_chapters, | |||
| int | i_level = 0 | |||
| ) |
References b_display_seekpoint, b_user_display, GetCodecName(), i, seekpoint_t::i_level, input_title_t::i_seekpoint, i_seekpoint_num, i_start_time, seekpoint_t::i_time_offset, seekpoint_t::psz_name, psz_name, input_title_t::seekpoint, strdup(), sub_chapters, vlc_seekpoint_New(), and xrealloc().
Referenced by demux_sys_t::PreloadLinked().
| chapter_item_c * chapter_item_c::FindTimecode | ( | mtime_t | i_timecode, | |
| const chapter_item_c * | p_current, | |||
| bool & | b_found | |||
| ) | [virtual] |
References i_user_end_time, i_user_start_time, index, and sub_chapters.
Referenced by chapter_edition_c::FindTimecode(), virtual_segment_c::Seek(), and virtual_segment_c::UpdateCurrentToChapter().
| void chapter_item_c::Append | ( | const chapter_item_c & | edition | ) |
References Append(), FindChapter(), i, i_user_end_time, i_user_start_time, and sub_chapters.
Referenced by Append().
| chapter_item_c * chapter_item_c::FindChapter | ( | int64_t | i_find_uid | ) |
| chapter_item_c * chapter_item_c::BrowseCodecPrivate | ( | unsigned int | codec_id, | |
| bool(*)(const chapter_codec_cmds_c &data, const void *p_cookie, size_t i_cookie_size) | match, | |||
| const void * | p_cookie, | |||
| size_t | i_cookie_size | |||
| ) | [virtual] |
References BrowseCodecPrivate(), codecs, index, and sub_chapters.
Referenced by BrowseCodecPrivate(), and dvd_command_interpretor_c::Interpret().
| std::string chapter_item_c::GetCodecName | ( | bool | f_for_title = false |
) | const |
| bool chapter_item_c::ParentOf | ( | const chapter_item_c & | item | ) | const |
| int16 chapter_item_c::GetTitleNumber | ( | ) | const |
| static bool chapter_item_c::CompareTimecode | ( | const chapter_item_c * | itemA, | |
| const chapter_item_c * | itemB | |||
| ) | [inline, static] |
| bool chapter_item_c::Enter | ( | bool | b_do_subchapters | ) |
References codecs, index, and sub_chapters.
Referenced by EnterAndLeave(), dvd_command_interpretor_c::Interpret(), and demux_sys_t::JumpTo().
| bool chapter_item_c::Leave | ( | bool | b_do_subchapters | ) |
| bool chapter_item_c::EnterAndLeave | ( | chapter_item_c * | p_item, | |
| bool | b_enter = true | |||
| ) |
References b_is_leaving, Enter(), i, Leave(), ParentOf(), psz_parent, and sub_chapters.
Referenced by matroska_script_interpretor_c::Interpret(), and virtual_segment_c::UpdateCurrentToChapter().
| int64_t chapter_item_c::i_start_time |
| int64_t chapter_item_c::i_end_time |
| int64_t chapter_item_c::i_user_end_time |
Referenced by Append(), CompareTimecode(), Demux(), FindTimecode(), and RefreshChapters().
| std::vector<chapter_item_c*> chapter_item_c::sub_chapters |
Referenced by Append(), BrowseCodecPrivate(), chapter_edition_c::Duration(), Enter(), EnterAndLeave(), FindChapter(), FindTimecode(), chapter_edition_c::GetMainName(), Leave(), ParentOf(), matroska_segment_c::ParseChapterAtom(), matroska_segment_c::ParseChapters(), PublishChapters(), RefreshChapters(), and ~chapter_item_c().
Referenced by PublishChapters(), virtual_segment_c::Seek(), and virtual_segment_c::UpdateCurrentToChapter().
| int64_t chapter_item_c::i_uid |
Referenced by FindChapter(), matroska_segment_c::ParseChapterAtom(), and matroska_segment_c::ParseChapters().
Referenced by matroska_segment_c::ParseChapterAtom(), PublishChapters(), and chapter_edition_c::RefreshChapters().
Referenced by matroska_segment_c::ParseChapterAtom(), and PublishChapters().
| std::string chapter_item_c::psz_name |
Referenced by matroska_segment_c::ParseChapterAtom(), and PublishChapters().
Referenced by EnterAndLeave(), and matroska_segment_c::ParseChapterAtom().
Referenced by EnterAndLeave(), and Leave().
| std::vector<chapter_codec_cmds_c*> chapter_item_c::codecs |
Referenced by BrowseCodecPrivate(), Enter(), GetCodecName(), GetTitleNumber(), Leave(), matroska_segment_c::ParseChapterAtom(), and ~chapter_item_c().
1.5.6