[xiph-cvs] cvs commit: theora/win32/experimental/transcoder transcoder_example.c

Ralph Giles giles at xiph.org
Fri Mar 19 15:49:13 PST 2004



giles       04/03/19 18:49:13

  Modified:    win32/experimental/transcoder transcoder_example.c
  Log:
  Update the frame header translation code for the experimental vp3
  transcoder.

Revision  Changes    Path
1.3       +4 -2      theora/win32/experimental/transcoder/transcoder_example.c

Index: transcoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/theora/win32/experimental/transcoder/transcoder_example.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- a/transcoder_example.c	28 Oct 2003 18:18:42 -0000	1.2
+++ b/transcoder_example.c	19 Mar 2004 23:49:12 -0000	1.3
@@ -5,14 +5,14 @@
  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
  *                                                                  *
- * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003                *
+ * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2004                *
  * by the Xiph.Org Foundation http://www.xiph.org/                  *
  *                                                                  *
  ********************************************************************
 
   function: example encoder application; makes an Ogg Theora/Vorbis
             file from YUV4MPEG2 and WAV input
-  last mod: $Id: transcoder_example.c,v 1.2 2003/10/28 18:18:42 mauricio Exp $
+  last mod: $Id: transcoder_example.c,v 1.3 2004/03/19 23:49:12 giles Exp $
 
  ********************************************************************/
 
@@ -418,6 +418,8 @@
     oggpackB_adv1(&ttc->opb_in);
     /*Copy Q multiplier.*/
     oggpackB_write(&ttc->opb_out,oggpackB_read(&ttc->opb_in,6),6);
+    /*VP3 has no per-block Q multipliers*/
+    oggpackB_write(&ttc->opb_out,0,1);
     /*If the frame is a base/key/golden frame, copy a few extra bits.*/
     if(frame_type==0){
       /*These 13 bits are not included in a Theora frame header.

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list