dvdnav_events.h | dvdnav_events.h | |||
---|---|---|---|---|
skipping to change at line 136 | skipping to change at line 136 | |||
* information only when necessary and update the decoding/displaying | * information only when necessary and update the decoding/displaying | |||
* accordingly. | * accordingly. | |||
* Some useful information for accurate time display is also reported | * Some useful information for accurate time display is also reported | |||
* together with this event. | * together with this event. | |||
*/ | */ | |||
#define DVDNAV_CELL_CHANGE 6 | #define DVDNAV_CELL_CHANGE 6 | |||
typedef struct { | typedef struct { | |||
int cellN; /* the new cell number */ | int cellN; /* the new cell number */ | |||
int pgN; /* the current program number */ | int pgN; /* the current program number */ | |||
int64_t cell_length; /* the length of the current cell in PTS ticks */ | int64_t cell_length; /* the length of the current cell in sectors */ | |||
int64_t pg_length; /* the length of the current program in PTS ticks */ | int64_t pg_length; /* the length of the current program in sectors */ | |||
int64_t pgc_length; /* the length of the current program chain in PTS ti cks */ | int64_t pgc_length; /* the length of the current program chain in PTS ti cks */ | |||
int64_t cell_start; /* the start time of the current cell relatively to | int64_t cell_start; /* the start offset of the current cell relatively t | |||
the PGC in PTS ticks */ | o the PGC in sectors */ | |||
int64_t pg_start; /* the start time of the current PG relatively to th | int64_t pg_start; /* the start offset of the current PG relatively to | |||
e PGC in PTS ticks */ | the PGC in sectors */ | |||
} dvdnav_cell_change_event_t; | } dvdnav_cell_change_event_t; | |||
/* | /* | |||
* DVDNAV_NAV_PACKET | * DVDNAV_NAV_PACKET | |||
* | * | |||
* NAV packets are useful for various purposes. They define the button | * NAV packets are useful for various purposes. They define the button | |||
* highlight areas and VM commands of DVD menus, so they should in any | * highlight areas and VM commands of DVD menus, so they should in any | |||
* case be sent to the SPU decoder/overlaying engine for the menus to work. | * case be sent to the SPU decoder/overlaying engine for the menus to work. | |||
* NAV packets also provide a way to detect PTS discontinuities, because | * NAV packets also provide a way to detect PTS discontinuities, because | |||
* they carry the start and end PTS values for the current VOBU. | * they carry the start and end PTS values for the current VOBU. | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||