Displaying 4 results from an estimated 4 matches for "ogg_reference".
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...ction: subsumed libogg includes
********************************************************************/
#ifndef _OGG_H
#define _OGG_H
#ifdef __cplusplus
extern "C" {
#endif
#include "os_types.h"
typedef struct ogg_buffer_state{
struct ogg_buffer *unused_buffers;
struct ogg_reference *unused_references;
int outstanding;
int shutdown;
} ogg_buffer_state;
typedef struct ogg_buffer {
unsigned char *data;
long size;
int refcount;
union {
ogg_buffer_state *owner;
struct ogg_buffer *next;...
2006 Jan 13
2
libogg2 issue in revision 10730
...libogg2 library it is
impossible to do bitpacking. this is due to the implementation of the
(at least) two functions oggpack_writeinit() and oggpack_readinit().
they both take an (oggpack_buffer *) as an argument and immediately
erase all it's contents:
void oggpack_readinit(oggpack_buffer *b,ogg_reference *r){
memset(b,0,sizeof(*b));
b->tail=b->head=r;
b->count=0;
b->headptr=b->head->buffer->data+b->head->begin;
b->headend=b->head->length;
_span(b);
}
A program using the libogg2 library cannot know the size of an
oggpack_buffer, so you cannot define...
2008 Aug 13
0
Tremor + upstream libogg
...but noise (being linked with native vorbis lib it decodes perfectly).
I started to walk inside Ogg sources as well as its Tremor version, and found
that they use quite different version of data structures, oggpack_buffer for
instance. For another example, oggpack_readinit uses argument of `struct
ogg_reference' type, which lacks in upstream library at all. So I guess that
the functions despite from their identical name do not do identical things.
So the problem is: I need to use in my application the code from three
libraries: Ogg, Theora and Tremor. Theora relies on upstream Ogg, Tremor
is based on...
2008 Aug 13
1
Tremor + upstream Ogg library
...but noise (being linked with native vorbis lib it decodes perfectly).
I started to walk inside Ogg sources as well as its Tremor version, and found
that they use quite different version of data structures, oggpack_buffer for
instance. For another example, oggpack_readinit uses argument of `struct
ogg_reference' type, which lacks in upstream library at all. So I guess that
the functions despite from their identical name do not do identical things.
So the problem is: I need to use in my application the code from three
libraries: Ogg, Theora and Tremor. Theora relies on upstream Ogg, Tremor
is based on...