search for: etheora_enc_rgb_draw

Displaying 2 results from an estimated 2 matches for "etheora_enc_rgb_draw".

2007 Oct 31
1
etheora
...ec; /*encoder configuration.*/ etheora_enc_configure(&ec, width, height, ETHEORA_ASPECT_NORMAL, fopen("output-video.ogg"), fopen("debug_info.txt")); /*encoder start.*/ etheora_enc_start(&ec); /*drawing next frame, by puting a r,g,b or y,u,v pixel in (i,j) coordinate*/ etheora_enc_rgb_draw(&ec, i, j, r, g, b) (alternative: etheora_enc_yuv_draw()), /*submiting frame to encoding.*/ etheora_enc_nextframe(&ec); /*submiting last frame to encoding by finishing the process.*/ etheora_enc_finish(&ec); The decoding process is quite similar. /*a context declaration.*/ etheora_c...
2007 Oct 31
1
etheora
...ec; /*encoder configuration.*/ etheora_enc_configure(&ec, width, height, ETHEORA_ASPECT_NORMAL, fopen("output-video.ogg"), fopen("debug_info.txt")); /*encoder start.*/ etheora_enc_start(&ec); /*drawing next frame, by puting a r,g,b or y,u,v pixel in (i,j) coordinate*/ etheora_enc_rgb_draw(&ec, i, j, r, g, b) (alternative: etheora_enc_yuv_draw()), /*submiting frame to encoding.*/ etheora_enc_nextframe(&ec); /*submiting last frame to encoding by finishing the process.*/ etheora_enc_finish(&ec); The decoding process is quite similar. /*a context declaration.*/ etheora_c...