The patch number 8214 was added via Thierry MERLE <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Hans de Goede  <j.w.r.degoede at hhs.nl>
v4l2-library: libv4l2 and v4l2convert


libv4l2 offers v4l2_ prefixed versions of
   open/close/etc. The API is 100% the same as directly opening /dev/videoX
   using regular open/close/etc, the big difference is that format conversion
   is done if necessary when capturing. That is if you (try to) set a capture
   format which is not supported by the cam, but is supported by libv4lconvert,
   then the try_fmt / set_fmt will succeed as if the cam supports the format
   and on dqbuf / read the data will be converted for you and returned in
   the request format.
v4l2convert: open/close/ioctl/mmap/munmap library call wrapper doing format 
conversion
   for v4l2 applications which want to be able to simply capture bgr24 / yuv420
   from v4l2 devices with more exotic frame formats.

Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Thierry MERLE <[EMAIL PROTECTED]>


---

 v4l2-apps/lib/libv4l/include/libv4l2.h      |  104 +
 v4l2-apps/lib/libv4l/libv4l2/Makefile       |   52 
 v4l2-apps/lib/libv4l/libv4l2/libv4l2-priv.h |   94 +
 v4l2-apps/lib/libv4l/libv4l2/libv4l2.c      | 1060 ++++++++++++++++++++
 v4l2-apps/lib/libv4l/libv4l2/log.c          |  138 ++
 v4l2-apps/lib/libv4l/libv4l2/v4l2convert.c  |  121 ++
 6 files changed, 1569 insertions(+)

<diff discarded since it is too big>

---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/dccd1bdb62700ab5f59b2e3c148ef4b5633a010c

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to