Displaying 1 result from an estimated 1 matches for "m_buffer".
Did you mean:
mc_buffer
2008 Nov 30
1
ogg_stream_pageout function...
I write this small piece of code, that get pixels and encode them:
ogg_page page;
ogg_packet packet;
m_frameSource.getYUVBits(m_buffer.y, m_buffer.u, m_buffer.v);
theora_encode_YUVin(&m_encoder, &m_buffer);
while(theora_encode_packetout(&m_encoder, isLastFrame, &packet))
ogg_stream_packetin(&m_oggStream, &packet);
while (ogg_stream_pageout(&m_oggStream, &page))
{
f...