[theora-dev] Encoding - CPU usage ...

David Kuehling dvdkhlng at gmx.de
Mon Oct 9 01:01:53 PDT 2006


>>>>> "Mat" == Mat  <heavensdoor78 at gmail.com> writes:

>> But maybe there is something which i can do to make better
>> performance?  Example, i have code to convert RGB buffer to YUV
>> buffer, but this is can take lot CPU ticks.
>> 

> Can't you grab directly in YUV ?  ( like V4L2_PIX_FMT_YUV420 )

In my experience the least-common denominator for V4L2 capture would be
V4L2_PIX_FMT_YUYV.  Which is twice as many chroma data as YUV420.  But
reducing that shouldn't take much cpu power.

regards,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40



More information about the theora-dev mailing list