Displaying 1 result from an estimated 1 matches for "m_encoderhandler".
2009 Dec 07
3
Theora encoder performance
...can see there are
some strange
colors overs there ( looks like edge detection :-D ).
Then I measured how long does it take for Theora to encode an image
(/th_encode_ycbcr_in/ and /
th_encode_packetout/ calls).
int TIMER_t0 = GetTickCount();
int ret = th_encode_ycbcr_in( (th_enc_ctx*)m_encoderHandler, ycbcr);
ogg_packet op;
th_encode_packetout((th_enc_ctx*)m_encoderHandler,0,&op)>0
int TIMER_t1 = GetTickCount();
printf( "Timer : %d \n",TIMER_t1 - TIMER_t0 );
On average: *80 ms*.
Using XVID I've obtained between *20-25 ms* for an image. That...