Commit Graph

44 Commits

Author SHA1 Message Date
Craig Raw
3d53b9bf72 Add YU12 to RGB conversion on Linux 2025-10-21 14:54:22 +02:00
Craig Raw
859bded64b Update libjpeg-turbo to 3.1.2 with SIMD enabled 2025-10-21 14:00:49 +02:00
Craig Raw
84e4ae1637 Add NV12 converter on Linux 2025-06-03 13:42:18 +02:00
Jason von Nieda
1ce0dddbc1
Merge pull request #81 from capitalistspz/master
No longer require manually setting include path in dependants
2025-03-19 11:04:58 -05:00
Craig Raw
1a5880cd27 clear format description
Some checks failed
/ macos_x86_64 (x86_64, macos-latest) (push) Has been cancelled
/ macos_arm64 (arm64, macos-latest) (push) Has been cancelled
/ windows_x86_64 (x86_64, windows-latest) (push) Has been cancelled
/ linux_arm64 (arm64, ubuntu-20.04) (push) Has been cancelled
/ linux_x86_64 (x86_64, ubuntu-20.04) (push) Has been cancelled
2025-03-19 11:44:05 +02:00
capitalistspz
1dd35c8aff No longer require manually setting include path in dependants 2025-03-18 17:49:18 +00:00
Craig Raw
ced4031c38 ensure all structures are initialized 2025-03-11 10:54:32 +02:00
Niels Moseley
e34ee5438b
Merge pull request #42 from raymanfx/fix
linux: Fix memory corruption on stream stop
2020-08-27 14:36:51 +02:00
Christopher N. Hesse
44954d12ef linux: Fix memory corruption on stream stop
The buffer (m_frameBuffer) must not be freed until the capture thread
(m_helperThread) is joined.

Fixes #41.

Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
2020-08-25 20:37:45 +02:00
Christopher N. Hesse
7b5c8320e6 unix: Use distro-provided libturbojpeg if possible
Another step towards being able to package openpnp-capture for Fedora.

Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
2020-08-25 13:42:39 +02:00
Niels Moseley
ce6e0a0128 Linux openpnp-capture-test: Output more keyboard control documentation 2020-05-04 14:25:14 +02:00
Niels Moseley
9321372c0f Fixed Linux test program builds: now linking with locally built turbojpeg-static instead of system turbojpeg 2020-05-04 13:17:29 +02:00
Niels Moseley
2f32bc75bc Added power line frequency setting to Linux 2018-01-07 02:17:41 +01:00
Niels Moseley
d041db5677 Added backlight compensation to windows 2018-01-07 02:03:26 +01:00
Niels Moseley
f5d21c02f6 updated Linux code (unchecked) 2018-01-07 01:42:02 +01:00
Niels Moseley
4b12427ccb updated Linux code (unchecked) 2018-01-07 01:36:51 +01:00
Paul Jones
0bae8135e9 Add licence text where missing
Signed-off-by: Paul Jones <paul@pauljones.id.au>
2017-10-16 13:06:39 +11:00
Paul Jones
2d0d46f4f6 Fix incorrect/inconsistant/duplicate header file defines
Standardise to platform_filename_h

Signed-off-by: Paul Jones <paul@pauljones.id.au>
2017-10-16 13:03:29 +11:00
Paul Jones
5d826b000b Fix various typos and incorrect comments
Signed-off-by: Paul Jones <paul@pauljones.id.au>
2017-10-16 12:51:00 +11:00
Niels Moseley
4be0d291e6 Linux: implemented property default values 2017-10-04 15:53:50 +02:00
Niels Moseley
cb4be52124 * Fixed linux CloseStream bug that caused a delay of multiple seconds.
* Added FPS support on Linux.
* Increased frame polling speed of Linux oc-gtk test program.
* Added support for brightness, contrast, autogain etc. properties.
2017-09-28 13:22:42 +02:00
Niels Moseley
3f39179696 Linux: statically linked libjpeg-turbo into openpnp-capture lib 2017-09-28 11:10:25 +02:00
Niels Moseley
b1d3458ff4 Added linux/contrib/.. dir with libjpeg turbo. Modified top-level CMakeFiles.txt to statically link with the project. 2017-09-28 00:43:54 +02:00
Niels Moseley
f3e86c7f92 Linux: suppressed warnings/errors on libjpeg-turbo frame decode 2017-09-26 14:43:24 +02:00
Niels Moseley
fd293514f4 Updated setting/getting properties on Linux. Updated linux GTK test program. Added YUYV/YUV2 format converters 2017-09-22 00:30:48 +02:00
Niels Moseley
c517f4653d Updated linux to include getProperty handling 2017-09-21 20:34:27 +02:00
Niels Moseley
da0a04d128 Added linux support for Cap_getDeviceUniqueID(). Updated Linux GTK test program. 2017-08-02 22:58:54 +02:00
Niels Moseley
310058ec07 Changed __VERSION__ to __LIBVER__ to avoid clashing with GCC predefs. 2017-08-01 17:29:57 +02:00
Niels Moseley
85c69ab734 Added auto white balance controls on Linux 2017-08-01 17:21:49 +02:00
Niels Moseley
877ae93345 Updated linux platform code to handle the new property interface 2017-08-01 02:16:17 +02:00
Niels Moseley
1e9e627c8d Added 'save frame to ppm' button to Linux/GTK3 test program 2017-07-25 01:19:58 +02:00
Niels Moseley
9091337001 Added GTK-based test program for linux 2017-07-25 00:57:58 +02:00
Niels Moseley
2c53ca32a4 Added linux support for exposure (untested). 2017-07-18 01:00:46 +02:00
Niels Moseley
185b9ee594 Linux platform now supports MJPEG frame decoding 2017-07-17 22:24:03 +02:00
Niels Moseley
05a9acc874 Added missing scopedptr.h to linux platform code 2017-07-17 17:36:47 +02:00
Niels Moseley
4c6cc4dc64 Fixed linux CMakeFiles.txt 2017-07-17 17:35:16 +02:00
Niels Moseley
f131673307 Linux test program: Added writing first X frames to disk 2017-07-14 18:05:39 +02:00
Niels Moseley
b2ba6efe8f Linux platform code updated: increased local buffer size to width*height*4bytes. Simplified test program. 2017-07-14 17:40:57 +02:00
Niels Moseley
2a77dc20c9 Added async I/O based streaming to Linux platform 2017-07-14 01:34:54 +02:00
Niels Moseley
68787c26cd Updated linux frame buffer enumeration 2017-07-13 21:41:25 +02:00
Niels Moseley
203bb32c5b Updated linux frame buffer enumeration 2017-07-13 21:39:19 +02:00
Niels Moseley
f3f791ad1c Added frame buffer format enumeration for Linux 2017-07-13 00:27:40 +02:00
Niels Moseley
7d5b7ca22b Updated linux test program 2017-07-12 23:40:20 +02:00
Niels Moseley
d615e3da53 Started on Linux V4L2 integration 2017-07-12 01:23:49 +02:00