summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2023-01-16uvc-gadget v0.3.0HEADv0.3.0masterKieran Bingham
This release brings in some new support and features for UVC Gadget to operate with libcamera based cameras. - libcamera sources are now supported - Support for encoded streams - Software based MJPEG encoding is managed by the libcamera source only. Please be aware, that as part of this release, the existing V4L2 source option '-c' is renamed to '-d'. The new libcamera source is now supported by the option '-c' and can be selected by camera index, or explictly choosing the camera based on it's libcamera id. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-01-16lib/mjpeg_encoder: Add an MJPEG encoder for YUV420 dataDaniel Scally
MJPEG is an extremely useful format given its compression allows high framerates even over limited bandwith USB connections. Add an MJPEG encoder class that converts YUV420 data into MJPEG data. Where a libcamera-source does not support MJPEG natively, convert YUV420 into MJPEG if the user tries to set MJPEG format. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
2023-01-16main: Provide a libcamera sourceKieran Bingham
Allow callers to create a libcamera source when available. libcamera support is optional, so conditionally compile the new options depending on whether libcamera is available. Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
2023-01-16libcamera: Add new libcamera sourceDaniel Scally
Provide the integration of a libcamera source within uvc-gadget. This adds C++ support to the project and adds libcamera as an optional external dependency. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
2023-01-12uvc-gadget v0.2.0v0.2.0Kieran Bingham
This release extends UVC Gadget with the ability to provide a 'slideshow' source. This can assist in the testing of performance and capabilities of a UVC Gadget based device, by providing a known set of data frames and configurations to stream to the host. Further more this release contains: - lib/timer: Add timer infrastructure - lib/jpg-source: Constrain fps These allow sources with out a controlling device to be configured to deliver at the rate requested by the host. Finally, the Makefile 'helper' is fixed to correctly call the install target in ninja. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-11-25uvc-gadget v0.1.0v0.1.0Kieran Bingham
This release culminates being able to integrate many historical changes and updates that we had pending for quite some time along with some bugfixes and clean ups. Key new features already added to this release include: - SuperSpeed descriptor support - MJPEG support fixes - Update to support new gadget locations - Conversion to Meson build infrastructure - A new test pattern source generator - Support for JPEG sources - Improved logging - Commencement of control support Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-11-22meson: Convert CMake to Meson build infrastructureKieran Bingham
Provide infrastructure to be able to build the uvc-gadget library as a shared object and an executable which links against this as a dependency to implment the reference 'uvc-gadget' application. All existing cmake infrastructure is removed. This removes custom glob support that was previously used by an early development for Android, which is expected to be re-added later when required. Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>