changeset 1584:3615999a7284 libavcodec

dumping funny numbers from first zygo i frame header
author michael
date Wed, 29 Oct 2003 17:30:13 +0000
parents 853d2107ce5b
children 6b224ca24033
files h263.c
diffstat 1 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Wed Oct 29 14:54:45 2003 +0000
+++ b/h263.c	Wed Oct 29 17:30:13 2003 +0000
@@ -4380,8 +4380,23 @@
          s->h263_plus ? "+" : ""
          ); 
      }
-
-    
+#if 1
+    if (s->pict_type == I_TYPE && s->avctx->codec_tag == ff_get_fourcc("ZYGO")){
+        int i,j;
+        for(i=0; i<85; i++) printf("%d", get_bits1(&s->gb));
+        printf("\n");
+        for(i=0; i<13; i++){
+            for(j=0; j<3; j++){
+                int v= get_bits(&s->gb, 8);
+                v |= get_sbits(&s->gb, 8)<<8;
+                printf(" %5d", v);
+            }
+            printf("\n");
+        }
+        for(i=0; i<50; i++) printf("%d", get_bits1(&s->gb));
+    }
+#endif
+
     return 0;
 }