Displaying 1 result from an estimated 1 matches for "timer_t0".
Did you mean:
timer_t1
2009 Dec 07
3
Theora encoder performance
...the image
from the
webcam encoded, and then decoded using theora. As you 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...