comparison dvdread/ifo_types.h @ 361:4cc7655e7b30 src

added read_user_ops() and removed conditional bitfield
author nicodvb
date Sun, 11 May 2008 09:27:42 +0000
parents 0dae99f22e60
children 3d8edef37c7e
comparison
equal deleted inserted replaced
360:b6fa98f690ee 361:4cc7655e7b30
254 254
255 /** 255 /**
256 * User Operations. 256 * User Operations.
257 */ 257 */
258 typedef struct { 258 typedef struct {
259 #ifdef WORDS_BIGENDIAN
260 unsigned int zero : 7; /* 25-31 */ 259 unsigned int zero : 7; /* 25-31 */
261 unsigned int video_pres_mode_change : 1; /* 24 */ 260 unsigned int video_pres_mode_change : 1; /* 24 */
262 261
263 unsigned int karaoke_audio_pres_mode_change : 1; /* 23 */ 262 unsigned int karaoke_audio_pres_mode_change : 1; /* 23 */
264 unsigned int angle_change : 1; 263 unsigned int angle_change : 1;
284 unsigned int go_up : 1; 283 unsigned int go_up : 1;
285 unsigned int stop : 1; 284 unsigned int stop : 1;
286 unsigned int title_play : 1; 285 unsigned int title_play : 1;
287 unsigned int chapter_search_or_play : 1; 286 unsigned int chapter_search_or_play : 1;
288 unsigned int title_or_time_play : 1; /* 0 */ 287 unsigned int title_or_time_play : 1; /* 0 */
289 #else
290 unsigned int video_pres_mode_change : 1; /* 24 */
291 unsigned int zero : 7; /* 25-31 */
292
293 unsigned int resume : 1; /* 16 */
294 unsigned int button_select_or_activate : 1;
295 unsigned int still_off : 1;
296 unsigned int pause_on : 1;
297 unsigned int audio_stream_change : 1;
298 unsigned int subpic_stream_change : 1;
299 unsigned int angle_change : 1;
300 unsigned int karaoke_audio_pres_mode_change : 1; /* 23 */
301
302 unsigned int forward_scan : 1; /* 8 */
303 unsigned int backward_scan : 1;
304 unsigned int title_menu_call : 1;
305 unsigned int root_menu_call : 1;
306 unsigned int subpic_menu_call : 1;
307 unsigned int audio_menu_call : 1;
308 unsigned int angle_menu_call : 1;
309 unsigned int chapter_menu_call : 1; /* 15 */
310
311 unsigned int title_or_time_play : 1; /* 0 */
312 unsigned int chapter_search_or_play : 1;
313 unsigned int title_play : 1;
314 unsigned int stop : 1;
315 unsigned int go_up : 1;
316 unsigned int time_or_chapter_search : 1;
317 unsigned int prev_or_top_pg_search : 1;
318 unsigned int next_pg_search : 1; /* 7 */
319 #endif
320 } ATTRIBUTE_PACKED user_ops_t; 288 } ATTRIBUTE_PACKED user_ops_t;
321 289
322 /** 290 /**
323 * Program Chain Information. 291 * Program Chain Information.
324 */ 292 */