libv4l

An abstraction layer for video4linux2 devices
Download

libv4l Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Hans de Goede
  • Publisher web site:

libv4l Tags


libv4l Description

An abstraction layer for video4linux2 devices libv4l is a collection of libraries which adds a thin abstraction layer ontop of video4linux2 devices. Its purpose is to make writing an application that supports a wide variety of devices easier, without needing a special effort for every device.All libv4l components are licensed under the GNU Library General PublishingLicense version 2 or (at your option) any later version.libv4l consists of 3 different libraries:libv4lconvertlibv4lconvert offers functions to convert from any (known) pixelformatto V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.Currently the following source formats are supported:jpeg, mjpeg, bayer (all 4 variants: bggr, rggb, gbrg, grbg),spca501 (chip specific yuv 420 with interlaced components),spca561 (chip specific compressed gbrg bayer)For more details on the v4lconvert_ functions see libv4lconvert.h.libv4l1This offers functions like v4l1_open, v4l1_ioctl, etc. which can by used toquickly make v4l1 applications work with v4l2 devices. These functions workexactly like the normal open/close/etc, except that libv4l1 does full emulationof the v4l1 api on top of v4l2 drivers, in case of v4l1 drivers it will justpass calls through. For more details on the v4l1_ functions see libv4l1.h .libv4l2This offers functions like v4l2_open, v4l2_ioctl, etc. which can by used toquickly make v4l2 applications work with v4l2 devices with weird formats.libv4l2 mostly passes calls directly through to the v4l2 driver. When theapp does a TRY_FMT / S_FMT with a not supported format libv4l2 will get inthe middle and emulate the format (if an app wants to know which formats thehardware can _really_ do it should use ENUM_FMT, not randomly try a bunch ofS_FMT's). For more details on the v4l2_ functions see libv4l2.h . What's New in This Release: · Four more laptop models were added to the table of upside-down devices. · mr97310a decompression was improved. · Support was added for decompressing yuv420 planar JPEG, which is required for w9968cf based cameras. · Support was added for STV0680 raw bayer data. This helps to obsolete the w9968cf and stv680 v4l1 drivers.


libv4l Related Software