Hi everybody,
It s been a while since the last release of v4l4j (March last year).
Since then, I have been slowly fixing bugs (thanks to those who
reported them) and improving the way frames are converted internally.
I came across an open source project called pixfc-sse
(
http://pixfc-sse.googlecode.com) which is an SSE pixel format
conversion library. In short, it allows v4l4j (really libv4lconvert)
to achieve faster conversion times to one of the convenience format
v4l4j provides (RGB24, BGR24, YUV420 and YVU420). For now, I have only
enabled YUV420 / YUV422 <--> RGB conversions which means if your
video device can output one of these formats natively, you should see
much less CPU usage during capture. I have also done some smaller
improvements to the JPEG conversion path, so that should also be less
CPU-intensive, provided your webcam can output YUV420 / YUV422
natively.
Now, before doing the next release, I would like to make sure I didnt
break anything. So far, all the tests I did with the gear I have at
hand were successful, but I would appreciate feedback. If you are
interested in testing v4l4j, just checkout trunk, build, install and
test. Then let me know if it all works well.
The next v4l4j release will also include packages for the current
versions of Ubuntu.
Cheers,
Gilles