Mercurial > libdvdnav.hg
comparison dvdread/ifo_types.h @ 363:abca84921371 src
read_cell_playback() removes another conditional bitfield.
We're almost there!
author | nicodvb |
---|---|
date | Sun, 11 May 2008 19:07:25 +0000 |
parents | 3d8edef37c7e |
children | 23607807ff65 |
comparison
equal
deleted
inserted
replaced
362:3d8edef37c7e | 363:abca84921371 |
---|---|
201 | 201 |
202 /** | 202 /** |
203 * Cell Playback Information. | 203 * Cell Playback Information. |
204 */ | 204 */ |
205 typedef struct { | 205 typedef struct { |
206 #ifdef WORDS_BIGENDIAN | |
207 unsigned int block_mode : 2; | 206 unsigned int block_mode : 2; |
208 unsigned int block_type : 2; | 207 unsigned int block_type : 2; |
209 unsigned int seamless_play : 1; | 208 unsigned int seamless_play : 1; |
210 unsigned int interleaved : 1; | 209 unsigned int interleaved : 1; |
211 unsigned int stc_discontinuity: 1; | 210 unsigned int stc_discontinuity: 1; |
212 unsigned int seamless_angle : 1; | 211 unsigned int seamless_angle : 1; |
213 | |
214 unsigned int playback_mode : 1; /**< When set, enter StillMode after each VOBU */ | 212 unsigned int playback_mode : 1; /**< When set, enter StillMode after each VOBU */ |
215 unsigned int restricted : 1; /**< ?? drop out of fastforward? */ | 213 unsigned int restricted : 1; /**< ?? drop out of fastforward? */ |
216 unsigned int unknown2 : 6; | 214 unsigned int unknown2 : 6; |
217 #else | |
218 unsigned char seamless_angle : 1; | |
219 unsigned char stc_discontinuity: 1; | |
220 unsigned char interleaved : 1; | |
221 unsigned char seamless_play : 1; | |
222 unsigned char block_type : 2; | |
223 unsigned char block_mode : 2; | |
224 | |
225 unsigned char unknown2 : 6; | |
226 unsigned char restricted : 1; | |
227 unsigned char playback_mode : 1; | |
228 #endif | |
229 uint8_t still_time; | 215 uint8_t still_time; |
230 uint8_t cell_cmd_nr; | 216 uint8_t cell_cmd_nr; |
231 dvd_time_t playback_time; | 217 dvd_time_t playback_time; |
232 uint32_t first_sector; | 218 uint32_t first_sector; |
233 uint32_t first_ilvu_end_sector; | 219 uint32_t first_ilvu_end_sector; |