Displaying 3 results from an estimated 3 matches for "top_field_first".
2008 Nov 04
3
[PATCH] liboggz: Fix Dirac bitstream parsing
...ixes that.
Index: liboggz/dirac.c
===================================================================
--- liboggz/dirac.c (revision 3759)
+++ liboggz/dirac.c (working copy)
@@ -122,6 +122,10 @@
1, 9, 10, 9, 10, 9, 10, 4, 3, 7, 6, 4, 3, 7, 6, 2, 2, 7, 6, 7, 6,
};
+ static const int dirac_top_field_first[] = { /* 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...
2008 Nov 04
0
[PATCH] liboggz: Fix Dirac bitstream parsing
..., 4, 3, 7, 6, 4, 3, 7, 6, 2, 2, 7, 6, 7, 6,
+ 1, 9, 10, 9, 10, 9, 10, 4, 3, 7, 6, 4, 3, 7, 6, 2, 2, 7, 6, 7, 6
+ };
+
+ static const int dirac_source_sampling[] = { /* 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 )) { /*...
2013 Aug 11
10
[PATCH 00/10] Add support for MPEG2 and VC-1 on VP3/VP4 for NV98-NVAF
As it turns out, with the proprietary firmware, the VP3 and VP4 interfaces are
identical. Furthermore, this is all already implemented for nvc0. So these
patches (a) move the easily sharable bits of the nvc0 implementation into the
nouveau directory, and then (b) implement the other parts in nv50. The
non-shared parts are still largely copies, but there are some differences, not
the least of which