search for: dec_stream

Displaying 1 result from an estimated 1 matches for "dec_stream".

2005 Feb 09
1
Trying to do windows encoding dll
...reen... Any suggestions? Thanks and best regards, Florian (Stuttgart, GERMANY) #include <windows.h> #include "theora/theora.h" theora_state enc_state; int enc_width, enc_height; ogg_stream_state enc_stream; theora_state dec_state; int dec_width, dec_height; ogg_stream_state dec_stream; __declspec (dllexport) void startenc(int width, int height, int bitrate) { ogg_stream_init(&enc_stream, 290482); enc_width = width; enc_height = height; theora_info ti; theora_info_init(&ti); ti.width=width; ti.height=height; // must be /16 ti.frame_width=width; ti.fra...