search for: video_format

Displaying 3 results from an estimated 3 matches for "video_format".

2008 Nov 04
3
[PATCH] liboggz: Fix Dirac bitstream parsing
.../* interlaced */ - info->interlaced = 1; - info->top_field_first = dirac_bool( &bs ); /* top_field_first */ + int i = dirac_uint( &bs ); /* scan_format */ + if (i < 2) { + info->interlaced = i; + info->top_field_first = dirac_top_field_first[video_format]; } }
2008 Nov 04
0
[PATCH] liboggz: Fix Dirac bitstream parsing
.../* scan_format */ + if (scan_format < 2) { + info->interlaced = scan_format; + } else { /* other scan_format values are reserved */ + info->interlaced = 0; } + } else { /* no custom scan_format, use the preset value */ + info->interlaced = dirac_source_sampling[video_format]; } + /* field order is set by video_format and cannot be custom */ + info->top_field_first = dirac_top_field_first[video_format]; info->fps_numerator = dirac_frate_tbl[dirac_vidfmt_frate[video_format]].fps_numerator;
2007 Mar 24
15
State Based vs. Behaviour Based Spec/Testing
I''ve notice that a project like Rubinius has both a spec & a test directory. Rspec has only a spec directory. Obviously I support BDD, but isn''t there also a place for state based/verification testing? I sometimes sense that I *do* want to practice Test Driven Development. That is, I want some assurance that my production code will run as intended. But I also