comparison dvdread/ifo_types.h @ 364:23607807ff65 src

read_playback_type() finally removes the last conditional bitfield struct
author nicodvb
date Sun, 11 May 2008 20:35:22 +0000
parents abca84921371
children
comparison
equal deleted inserted replaced
363:abca84921371 364:23607807ff65
431 subp_attr_t vmgm_subp_attr; 431 subp_attr_t vmgm_subp_attr;
432 subp_attr_t zero_10[27]; /* XXX: how much 'padding' here? */ 432 subp_attr_t zero_10[27]; /* XXX: how much 'padding' here? */
433 } ATTRIBUTE_PACKED vmgi_mat_t; 433 } ATTRIBUTE_PACKED vmgi_mat_t;
434 434
435 typedef struct { 435 typedef struct {
436 #ifdef WORDS_BIGENDIAN
437 unsigned int zero_1 : 1; 436 unsigned int zero_1 : 1;
438 unsigned int multi_or_random_pgc_title : 1; /* 0: one sequential pgc title */ 437 unsigned int multi_or_random_pgc_title : 1; /* 0: one sequential pgc title */
439 unsigned int jlc_exists_in_cell_cmd : 1; 438 unsigned int jlc_exists_in_cell_cmd : 1;
440 unsigned int jlc_exists_in_prepost_cmd : 1; 439 unsigned int jlc_exists_in_prepost_cmd : 1;
441 unsigned int jlc_exists_in_button_cmd : 1; 440 unsigned int jlc_exists_in_button_cmd : 1;
442 unsigned int jlc_exists_in_tt_dom : 1; 441 unsigned int jlc_exists_in_tt_dom : 1;
443 unsigned int chapter_search_or_play : 1; /* UOP 1 */ 442 unsigned int chapter_search_or_play : 1; /* UOP 1 */
444 unsigned int title_or_time_play : 1; /* UOP 0 */ 443 unsigned int title_or_time_play : 1; /* UOP 0 */
445 #else
446 unsigned char title_or_time_play : 1;
447 unsigned char chapter_search_or_play : 1;
448 unsigned char jlc_exists_in_tt_dom : 1;
449 unsigned char jlc_exists_in_button_cmd : 1;
450 unsigned char jlc_exists_in_prepost_cmd : 1;
451 unsigned char jlc_exists_in_cell_cmd : 1;
452 unsigned char multi_or_random_pgc_title : 1;
453 unsigned char zero_1 : 1;
454 #endif
455 } ATTRIBUTE_PACKED playback_type_t; 444 } ATTRIBUTE_PACKED playback_type_t;
456 445
457 /** 446 /**
458 * Title Information. 447 * Title Information.
459 */ 448 */