[xiph-cvs] cvs commit: ogg/src bitwise.c

Monty xiphmont at xiph.org
Sun Jul 20 00:32:27 PDT 2003



xiphmont    03/07/20 03:32:27

  Modified:    include/ogg2 Tag: libogg2-zerocopy ogg.h
               src      Tag: libogg2-zerocopy bitwise.c
  Log:
  Can't expose oggpack_buffer struct but must make abstraction usable externally; expose a sizeof

Revision  Changes    Path
No                   revision

<p>No                   revision

<p>1.1.2.5   +2 -1      ogg/include/ogg2/Attic/ogg.h

Index: ogg.h
===================================================================
RCS file: /usr/local/cvsroot/ogg/include/ogg2/Attic/ogg.h,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- ogg.h	28 Mar 2003 22:37:16 -0000	1.1.2.4
+++ ogg.h	20 Jul 2003 07:32:27 -0000	1.1.2.5
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: toplevel libogg include
- last mod: $Id: ogg.h,v 1.1.2.4 2003/03/28 22:37:16 xiphmont Exp $
+ last mod: $Id: ogg.h,v 1.1.2.5 2003/07/20 07:32:27 xiphmont Exp $
 
  ********************************************************************/
 #ifndef _OGG_H
@@ -59,6 +59,7 @@
 
 /* Ogg BITSTREAM PRIMITIVES: bitstream ************************/
 
+  extern int   oggpack_buffersize(void);
 extern void  oggpack_writeinit(oggpack_buffer *b,ogg_buffer_state *bs);
 extern ogg_reference *oggpack_writebuffer(oggpack_buffer *b);
 extern void  oggpack_writealign(oggpack_buffer *b);

<p><p>No                   revision

<p>No                   revision

<p>1.14.2.15 +5 -1      ogg/src/bitwise.c

Index: bitwise.c
===================================================================
RCS file: /usr/local/cvsroot/ogg/src/bitwise.c,v
retrieving revision 1.14.2.14
retrieving revision 1.14.2.15
diff -u -r1.14.2.14 -r1.14.2.15
--- bitwise.c	27 Mar 2003 07:12:45 -0000	1.14.2.14
+++ bitwise.c	20 Jul 2003 07:32:27 -0000	1.14.2.15
@@ -11,7 +11,7 @@
  ********************************************************************
 
   function: pack variable sized words into an octet stream
-  last mod: $Id: bitwise.c,v 1.14.2.14 2003/03/27 07:12:45 xiphmont Exp $
+  last mod: $Id: bitwise.c,v 1.14.2.15 2003/07/20 07:32:27 xiphmont Exp $
 
  ********************************************************************/
 
@@ -32,6 +32,10 @@
  0x000fffff,0x001fffff,0x003fffff,0x007fffff,0x00ffffff,
  0x01ffffff,0x03ffffff,0x07ffffff,0x0fffffff,0x1fffffff,
  0x3fffffff,0x7fffffff,0xffffffff };
+
+int oggpack_buffersize(void){
+  return sizeof(oggpack_buffer);
+}
 
 void oggpack_writeinit(oggpack_buffer *b,ogg_buffer_state *bs){
   memset(b,0,sizeof(*b));

<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