#include "libmpeg3.h"#include "mpeg3protos.h"

Go to the source code of this file.
Defines | |
| #define | TOCVERSION 4 |
| #define | TOCVIDEO 4 |
Functions | |
| int | mpeg3_generate_toc (FILE *output, char *path, int timecode_search, int print_streams) |
| static int | read_titles (mpeg3_demuxer_t *demuxer, int version) |
| int | mpeg3_read_toc (mpeg3_t *file) |
| #define TOCVERSION 4 |
Definition at line 4 of file mpeg3toc3.c.
| #define TOCVIDEO 4 |
Definition at line 5 of file mpeg3toc3.c.
| int mpeg3_generate_toc | ( | FILE * | output, | |
| char * | path, | |||
| int | timecode_search, | |||
| int | print_streams | |||
| ) |
Definition at line 7 of file mpeg3toc3.c.
References complete_path(), mpeg3_demuxer_t::current_title, fprintf, mpeg3_title_t::fs, mpeg3_t::fs, mpeg3_t::is_audio_stream, mpeg3_t::is_ifo_file, mpeg3_t::is_program_stream, mpeg3_t::is_transport_stream, mpeg3_t::is_video_stream, mpeg3_close(), mpeg3_delete_demuxer(), mpeg3_new_demuxer(), mpeg3_open(), MPEG3_STRLEN, mpeg3demux_create_title(), mpeg3demux_print_streams(), mpeg3io_close_file(), mpeg3io_complete_path(), mpeg3io_open_file(), mpeg3_t::packet_size, mpeg3_fs_t::path, mpeg3_demuxer_t::titles, TOCVERSION, mpeg3_title_t::total_bytes, and mpeg3_demuxer_t::total_titles.

| int mpeg3_read_toc | ( | mpeg3_t * | file | ) |
Definition at line 205 of file mpeg3toc3.c.
References mpeg3_t::demuxer, mpeg3_fs_t::fd, mpeg3_t::fs, fscanf(), mpeg3_t::is_video_stream, MPEG3_STRLEN, mpeg3io_seek(), read_titles(), TOCVERSION, and TOCVIDEO.

| static int read_titles | ( | mpeg3_demuxer_t * | demuxer, | |
| int | version | |||
| ) | [static] |
Definition at line 91 of file mpeg3toc3.c.
References mpeg3_demuxer_t::astream_table, mpeg3_fs_t::fd, fgetc(), mpeg3_demuxer_t::file, mpeg3_t::fs, mpeg3_t::is_program_stream, mpeg3_t::is_transport_stream, mpeg3_new_title(), MPEG3_STRLEN, mpeg3demux_open_title(), mpeg3_t::packet_size, program, start_time, mpeg3_demuxer_t::titles, mpeg3_title_t::total_bytes, mpeg3_demuxer_t::total_titles, and mpeg3_demuxer_t::vstream_table.

1.5.5