-
Notifications
You must be signed in to change notification settings - Fork 4
/
dvd_chapter.h
29 lines (20 loc) · 1.01 KB
/
dvd_chapter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef DVD_INFO_CHAPTER_H
#define DVD_INFO_CHAPTER_H
#include "dvd_cell.h"
struct dvd_chapter {
uint8_t chapter;
char length[DVD_CHAPTER_LENGTH + 1];
uint32_t msecs;
uint8_t first_cell;
uint8_t last_cell;
uint64_t blocks;
uint64_t filesize;
double filesize_mbs;
};
uint8_t dvd_chapter_first_cell(ifo_handle_t *vmg_ifo, ifo_handle_t *vts_ifo, uint16_t track_number, uint8_t chapter_number);
uint8_t dvd_chapter_last_cell(ifo_handle_t *vmg_ifo, ifo_handle_t *vts_ifo, uint16_t track_number, uint8_t chapter_number);
uint8_t dvd_chapter_cells(ifo_handle_t *vmg_ifo, ifo_handle_t *vts_ifo, uint16_t track_number, uint8_t chapter_number);
uint64_t dvd_chapter_blocks(ifo_handle_t *vmg_ifo, ifo_handle_t *vts_ifo, uint16_t track_number, uint8_t chapter_number);
uint64_t dvd_chapter_filesize(ifo_handle_t *vmg_ifo, ifo_handle_t *vts_ifo, uint16_t track_number, uint8_t chapter_number);
double dvd_chapter_filesize_mbs(ifo_handle_t *vmg_ifo, ifo_handle_t *vts_ifo, uint16_t track_number, uint8_t chapter_number);
#endif