Displaying 5 results from an estimated 5 matches for "queue_page".
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...;
yuv_buffer yuvBuffer;
std::ifstream videoStream;
void rewind ();
void initMovie ();
void exitMovie ();
int buffer_data ();
int queue_page (ogg_page *oggPage);
void decode_frame ();
public:
VideoStreamTheora();
virtual ~VideoStreamTheora();
virtual void decodeAndRenderFrameToTexture
(irr::video::ITexture* texture);
};
}
#endif /*VIDEOSTREAMTHEORA_H_*/
----------...
2006 Aug 06
2
Speex + Ogg package
...n buffer
char *buffer=ogg_sync_buffer(&oy,4096);
memcpy(buffer,buff,len);
ogg_sync_wrote(&oy,len);
while(ogg_sync_pageout(&oy,&audio_page)>0)
{
if (stream_init == 0)
{
ogg_stream_init(&os, ogg_page_serialno(&audio_page));
stream_init = 1;
}
queue_page(&audio_page);
while(ogg_stream_packetout(&os,&op)>0)
{
int b;
ogg_stream_pagein(&os, &audio_page);
int len=(audio_page.body_len-4)/FRAMES_PACKET;
char *datos=(char*)op.packet;
char m[100];
sprintf(m,"paq %d",...
2009 May 12
2
compile error of libtheora example
...`SDL_LockYUVOverlay'
player_example.c:(.text+0xaf8): undefined reference to `SDL_UnlockSurface'
player_example.c:(.text+0xb05): undefined reference to
`SDL_UnlockYUVOverlay'
player_example.c:(.text+0xb1a): undefined reference to
`SDL_DisplayYUVOverlay'
/tmp/ccpyle3c.o: In function `queue_page':
player_example.c:(.text+0xce4): undefined reference to `ogg_stream_pagein'
player_example.c:(.text+0xd00): undefined reference to `ogg_stream_pagein'
/tmp/ccpyle3c.o: In function `main':
player_example.c:(.text+0xe17): undefined reference to `ogg_sync_init'
player_example.c:(....
2006 Aug 06
0
Speex + Ogg package
...;
> memcpy(buffer,buff,len);
> ogg_sync_wrote(&oy,len);
> while(ogg_sync_pageout(&oy,&audio_page)>0)
> {
> if (stream_init == 0)
> {
> ogg_stream_init(&os, ogg_page_serialno(&audio_page));
> stream_init = 1;
> }
> queue_page(&audio_page);
>
> while(ogg_stream_packetout(&os,&op)>0)
> {
> int b;
> ogg_stream_pagein(&os, &audio_page);
> int len=(audio_page.body_len-4)/FRAMES_PACKET;
>
> char *datos=(char*)op.packet;
> char...
2006 Aug 06
2
Speex + Ogg package
...g_sync_wrote(&oy,len);
> > while(ogg_sync_pageout(&oy,&audio_page)>0)
> > {
> > if (stream_init == 0)
> > {
> > ogg_stream_init(&os, ogg_page_serialno(&audio_page));
> > stream_init = 1;
> > }
> > queue_page(&audio_page);
> >
> > while(ogg_stream_packetout(&os,&op)>0)
> > {
> > int b;
> > ogg_stream_pagein(&os, &audio_page);
> > int len=(audio_page.body_len-4)/FRAMES_PACKET;
> >
> > char *dato...