[libavg-devel] v4l branch code review
Ulrich von Zadow
uzadow at libavg.de
Sun Jul 22 20:30:04 CEST 2007
OXullo Intersecans schrieb:
>> - Bitmap.cpp, 832ff: Have you benchmarked this code to make sure it
>> isn't eating up too much cpu time? It looks slow.
>
> That code needs some optimization, indeed. However, if you think that
> profiling breakdown is quite reliable, it seems that it's not so much
> time consuming, comparing to other formats.
Um - I just noticed something else: You can get much better results by
interpolating the U and V values. YUV422toBGR32Line() does this for
rows, for instance. Have a look at this page to see what I mean:
http://en.wikipedia.org/wiki/Chroma_subsampling#4:2:0.
Cheers,
Uli
More information about the libavg-devel
mailing list