search for: dirac_uint

Displaying 2 results from an estimated 2 matches for "dirac_uint".

2008 Nov 04
3
[PATCH] liboggz: Fix Dirac bitstream parsing
...extracted from table C.1 */ + 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + }; + static const struct { ogg_uint32_t width, height; } dirac_fsize_tbl[] = { /* table 10.3 framesize */ @@ -150,11 +154,12 @@ if (dirac_bool( &bs )) { info->chroma_format = dirac_uint( &bs ); /* chroma_format */ } + if (dirac_bool( &bs )) { - info->interlaced = 0; - if (dirac_bool( &bs )) { /* interlaced */ - info->interlaced = 1; - info->top_field_first = dirac_bool( &bs ); /* top_field_first */ + int i = dirac_uint( &bs...
2008 Nov 04
0
[PATCH] liboggz: Fix Dirac bitstream parsing
.../* extracted from table C.1 */ + 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 + }; + static const int dirac_top_field_first[] = { /* from table C.1 */ + 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; @@ -151,11 +158,17 @@ info->chroma_format = dirac_uint( &bs ); /* chroma_format */ } - if (dirac_bool( &bs )) { - info->interlaced = 0; - if (dirac_bool( &bs )) { /* interlaced */ - info->interlaced = 1; - info->top_field_first = dirac_bool( &bs ); /* top_field_first */ + + if (dirac_bool( &bs )) {...