]> git.sesse.net Git - bmusb/log
bmusb
4 months agoRelease 0.7.7 (no code changes, Makefile only). master 0.7.7
Steinar H. Gunderson [Thu, 30 Nov 2023 21:09:54 +0000 (22:09 +0100)]
Release 0.7.7 (no code changes, Makefile only).

2 years agoSupport (partially) overriding CXXFLAGS and LDFLAGS on the command line.
Steinar H. Gunderson [Sun, 29 Aug 2021 19:32:51 +0000 (21:32 +0200)]
Support (partially) overriding CXXFLAGS and LDFLAGS on the command line.

Patch by Anton Schubert.

3 years agoRemove -o root -g root from the Makefile.
Steinar H. Gunderson [Wed, 14 Apr 2021 18:22:06 +0000 (20:22 +0200)]
Remove -o root -g root from the Makefile.

This isn't needed for regular (root) installs, but breaks non-root users
wanting to install to a temporary directory first.

Suggested by s-ol bekic.

3 years agoChange libusb-1.0 from Requires.private to Requires.
Steinar H. Gunderson [Wed, 14 Apr 2021 17:51:32 +0000 (19:51 +0200)]
Change libusb-1.0 from Requires.private to Requires.

This is needed because of the .h dependency. Suggested by s-ol bekic.

3 years agoBump version number in bmusb.pc.
Steinar H. Gunderson [Mon, 5 Apr 2021 14:26:23 +0000 (16:26 +0200)]
Bump version number in bmusb.pc.

4 years agoRelease 0.7.6 (no code changes, Makefile only). 0.7.6
Steinar H. Gunderson [Sun, 12 Apr 2020 09:14:13 +0000 (11:14 +0200)]
Release 0.7.6 (no code changes, Makefile only).

4 years agoMake UDEVDIR configurable.
Steinar H. Gunderson [Sat, 11 Apr 2020 12:17:20 +0000 (14:17 +0200)]
Make UDEVDIR configurable.

This makes the udev directory overridable on the command line.
If none is given, it defaults to getting the directory from pkg-config,
if you have the udev development package installed, and failing that,
hard-codes /lib/udev as before.

All of this is based on research and suggestions from speps.

4 years agoMake LIBDIR configurable, for multiarch.
Steinar H. Gunderson [Sat, 11 Apr 2020 12:13:43 +0000 (14:13 +0200)]
Make LIBDIR configurable, for multiarch.

4 years agoRelease 0.7.5. 0.7.5
Steinar H. Gunderson [Tue, 7 Apr 2020 19:28:10 +0000 (21:28 +0200)]
Release 0.7.5.

4 years agoRemove v4l2proxy on clean.
Steinar H. Gunderson [Tue, 7 Apr 2020 20:11:23 +0000 (22:11 +0200)]
Remove v4l2proxy on clean.

4 years agoAdd udev rules so that local users automatically get access to the USB devices.
Steinar H. Gunderson [Tue, 7 Apr 2020 19:27:06 +0000 (21:27 +0200)]
Add udev rules so that local users automatically get access to the USB devices.

4 years agoFix v4l2proxy when stride != width * 2.
Steinar H. Gunderson [Mon, 6 Apr 2020 17:12:28 +0000 (19:12 +0200)]
Fix v4l2proxy when stride != width * 2.

This is only for cleanness, since stride == width * 2 for all 8-bit
modes that we know of. Also fixes an overrun for non-SSE2.

4 years agoFix v4l2proxy compilation without SSE2.
Steinar H. Gunderson [Mon, 6 Apr 2020 17:11:37 +0000 (19:11 +0200)]
Fix v4l2proxy compilation without SSE2.

4 years agoAdd a little program to proxy from bmusb to a V4L2 output.
Steinar H. Gunderson [Sun, 5 Apr 2020 15:34:02 +0000 (17:34 +0200)]
Add a little program to proxy from bmusb to a V4L2 output.

4 years agoSupport overriding pkg-config.
Steinar H. Gunderson [Thu, 25 Jul 2019 21:02:00 +0000 (23:02 +0200)]
Support overriding pkg-config.

Helps with crosscompiling. Patch by Helmut Grohne.

5 years agoRelease v0.7.4. 0.7.4
Steinar H. Gunderson [Fri, 29 Mar 2019 21:32:01 +0000 (22:32 +0100)]
Release v0.7.4.

5 years agoAdd a call create_frame() to help performance in VA-API MJPEG uploads.
Steinar H. Gunderson [Sun, 17 Mar 2019 18:35:15 +0000 (19:35 +0100)]
Add a call create_frame() to help performance in VA-API MJPEG uploads.

5 years agoRelease v0.7.3. 0.7.3
Steinar H. Gunderson [Sun, 11 Nov 2018 13:06:37 +0000 (14:06 +0100)]
Release v0.7.3.

5 years agoFix 8-bit noninterleaved encoding for fake colors; it's UYVY, not YUVV, of course.
Steinar H. Gunderson [Sat, 10 Nov 2018 19:48:51 +0000 (20:48 +0100)]
Fix 8-bit noninterleaved encoding for fake colors; it's UYVY, not YUVV, of course.

5 years agoUnbreak 8-bit fake inputs.
Steinar H. Gunderson [Thu, 8 Nov 2018 23:15:43 +0000 (00:15 +0100)]
Unbreak 8-bit fake inputs.

5 years agoWork around a GCC warning.
Steinar H. Gunderson [Wed, 7 Nov 2018 22:11:31 +0000 (23:11 +0100)]
Work around a GCC warning.

5 years agoAdd another non-interleaved data copy (intended for VA-API MJPEG uploads).
Steinar H. Gunderson [Wed, 7 Nov 2018 18:21:09 +0000 (19:21 +0100)]
Add another non-interleaved data copy (intended for VA-API MJPEG uploads).

5 years agoAdd another 720p50 mode we discovered.
Steinar H. Gunderson [Wed, 7 Nov 2018 18:22:07 +0000 (19:22 +0100)]
Add another 720p50 mode we discovered.

5 years agoRelease v0.7.2. 0.7.2
Steinar H. Gunderson [Sun, 29 Apr 2018 11:10:15 +0000 (13:10 +0200)]
Release v0.7.2.

5 years agoLoosen up the frequency sample rate check a bit; a test camera returned 48050 and...
Steinar H. Gunderson [Sun, 29 Apr 2018 11:09:12 +0000 (13:09 +0200)]
Loosen up the frequency sample rate check a bit; a test camera returned 48050 and 48100 quite consistently here.

5 years agoMake shutdown faster for the case where we have zero real USB cards.
Steinar H. Gunderson [Sun, 29 Apr 2018 10:11:04 +0000 (12:11 +0200)]
Make shutdown faster for the case where we have zero real USB cards.

6 years agoRelease v0.7.1. 0.7.1
Steinar H. Gunderson [Sun, 18 Mar 2018 22:27:03 +0000 (23:27 +0100)]
Release v0.7.1.

6 years agoAdd some more fake input colors.
Steinar H. Gunderson [Wed, 14 Mar 2018 22:30:58 +0000 (23:30 +0100)]
Add some more fake input colors.

6 years agoAdd some pixel formats for private use.
Steinar H. Gunderson [Fri, 7 Jul 2017 14:57:06 +0000 (16:57 +0200)]
Add some pixel formats for private use.

6 years agoRelease v0.7.0. 0.7.0
Steinar H. Gunderson [Mon, 29 May 2017 16:43:18 +0000 (18:43 +0200)]
Release v0.7.0.

6 years agoAdd a new planar pixel mode.
Steinar H. Gunderson [Mon, 22 May 2017 19:20:47 +0000 (21:20 +0200)]
Add a new planar pixel mode.

6 years agoAdd a missing 576p50 mode.
Steinar H. Gunderson [Fri, 12 May 2017 20:13:17 +0000 (22:13 +0200)]
Add a missing 576p50 mode.

6 years agoFix a frame leak (leading to freeze) when getting an unknown resolution.
Steinar H. Gunderson [Fri, 12 May 2017 20:10:03 +0000 (22:10 +0200)]
Fix a frame leak (leading to freeze) when getting an unknown resolution.

6 years agoCorrect FakeCapture color values.
Steinar H. Gunderson [Sun, 7 May 2017 19:48:39 +0000 (21:48 +0200)]
Correct FakeCapture color values.

A bit embarrassing: I had put in Rec. 601 values instead of Rec. 709.

6 years agoIf we get a broken audio frame, keep the previous sample rate instead of assuming...
Steinar H. Gunderson [Fri, 28 Apr 2017 23:45:30 +0000 (01:45 +0200)]
If we get a broken audio frame, keep the previous sample rate instead of assuming 48000 Hz.

6 years agoSupport other sample rates than 48 kHz.
Steinar H. Gunderson [Fri, 28 Apr 2017 23:27:33 +0000 (01:27 +0200)]
Support other sample rates than 48 kHz.

7 years agoChange from RGBA to BGRA; slightly more Intel GPU-friendly, and Caspar uses that...
Steinar H. Gunderson [Fri, 21 Apr 2017 18:18:31 +0000 (20:18 +0200)]
Change from RGBA to BGRA; slightly more Intel GPU-friendly, and Caspar uses that format.

7 years agoFix a syntax error in some commented-out code.
Steinar H. Gunderson [Fri, 21 Apr 2017 18:18:09 +0000 (20:18 +0200)]
Fix a syntax error in some commented-out code.

7 years agoAdd an RGBA pixel type.
Steinar H. Gunderson [Sun, 9 Apr 2017 14:10:50 +0000 (16:10 +0200)]
Add an RGBA pixel type.

7 years agoBump version name in pkg-config file.
Steinar H. Gunderson [Sat, 25 Feb 2017 10:04:19 +0000 (11:04 +0100)]
Bump version name in pkg-config file.

7 years agoRelease v0.6.0. 0.6.0
Steinar H. Gunderson [Sat, 25 Feb 2017 09:55:26 +0000 (10:55 +0100)]
Release v0.6.0.

7 years agoBump soname due to changed ABI.
Steinar H. Gunderson [Sat, 25 Feb 2017 09:58:03 +0000 (10:58 +0100)]
Bump soname due to changed ABI.

7 years agoSupport 10-bit capture.
Steinar H. Gunderson [Tue, 21 Feb 2017 17:40:03 +0000 (18:40 +0100)]
Support 10-bit capture.

7 years agoYet more 1080p mode corrections.
Steinar H. Gunderson [Tue, 21 Feb 2017 17:28:53 +0000 (18:28 +0100)]
Yet more 1080p mode corrections.

7 years agoAdd a stride field to VideoFormat.
Steinar H. Gunderson [Sun, 19 Feb 2017 22:04:39 +0000 (23:04 +0100)]
Add a stride field to VideoFormat.

7 years agoMake the received timestamps in FakeCapture much more stable.
Steinar H. Gunderson [Wed, 1 Feb 2017 17:57:49 +0000 (18:57 +0100)]
Make the received timestamps in FakeCapture much more stable.

7 years agoGive all of our threads meaningful names, to aid with debugging.
Steinar H. Gunderson [Wed, 25 Jan 2017 18:18:49 +0000 (19:18 +0100)]
Give all of our threads meaningful names, to aid with debugging.

7 years agoRelease v0.5.4. 0.5.4
Steinar H. Gunderson [Sun, 15 Jan 2017 16:25:31 +0000 (17:25 +0100)]
Release v0.5.4.

7 years agoCorrect modelines for a bunch of 1080i and 1080p modes.
Steinar H. Gunderson [Sun, 15 Jan 2017 16:15:12 +0000 (17:15 +0100)]
Correct modelines for a bunch of 1080i and 1080p modes.

7 years agoAdd a specification for how the official DeckLink driver stores interlaced frmaes.
Steinar H. Gunderson [Sun, 15 Jan 2017 10:52:10 +0000 (11:52 +0100)]
Add a specification for how the official DeckLink driver stores interlaced frmaes.

7 years agoRelease v0.5.3. 0.5.3
Steinar H. Gunderson [Sat, 10 Dec 2016 11:11:12 +0000 (12:11 +0100)]
Release v0.5.3.

7 years agoAdd timestamps on each received frame.
Steinar H. Gunderson [Sat, 10 Dec 2016 11:10:04 +0000 (12:10 +0100)]
Add timestamps on each received frame.

Note that this breaks the ABI.

7 years agoRelease v0.5.2. 0.5.2
Steinar H. Gunderson [Thu, 29 Sep 2016 16:36:37 +0000 (18:36 +0200)]
Release v0.5.2.

7 years agoBuild and install a shared library.
Steinar H. Gunderson [Thu, 29 Sep 2016 16:36:14 +0000 (18:36 +0200)]
Build and install a shared library.

7 years agoExplicitly declare both versions of add_to_frame_fastpath_core, to prevent GCC from...
Steinar H. Gunderson [Tue, 20 Sep 2016 12:17:36 +0000 (14:17 +0200)]
Explicitly declare both versions of add_to_frame_fastpath_core, to prevent GCC from inlining the wrong version.

7 years agoMake FakeCapture output 8-channel sound, to match the real cards.
Steinar H. Gunderson [Sun, 11 Sep 2016 16:48:32 +0000 (18:48 +0200)]
Make FakeCapture output 8-channel sound, to match the real cards.

7 years agoRelease v0.5.1. 0.5.1
Steinar H. Gunderson [Sat, 30 Jul 2016 16:41:25 +0000 (18:41 +0200)]
Release v0.5.1.

7 years agoMake a better error message on LIBUSB_ERROR_NOT_FOUND.
Steinar H. Gunderson [Sat, 30 Jul 2016 16:45:42 +0000 (18:45 +0200)]
Make a better error message on LIBUSB_ERROR_NOT_FOUND.

7 years agoMake FakeCapture capable of outputting audio (a simple sine tone).
Steinar H. Gunderson [Fri, 29 Jul 2016 10:32:16 +0000 (12:32 +0200)]
Make FakeCapture capable of outputting audio (a simple sine tone).

7 years agoFix a typo.
Steinar H. Gunderson [Fri, 29 Jul 2016 10:31:04 +0000 (12:31 +0200)]
Fix a typo.

7 years agoRelease v0.5. 0.5
Steinar H. Gunderson [Wed, 27 Jul 2016 19:25:11 +0000 (21:25 +0200)]
Release v0.5.

7 years agoSet libusb timeout to one second, to help shutdown if the thread is started with...
Steinar H. Gunderson [Wed, 27 Jul 2016 19:46:37 +0000 (21:46 +0200)]
Set libusb timeout to one second, to help shutdown if the thread is started with zero cards active.

7 years agoProperly initialize libusb in num_cards().
Steinar H. Gunderson [Wed, 27 Jul 2016 19:19:53 +0000 (21:19 +0200)]
Properly initialize libusb in num_cards().

7 years agoFix int -> unsigned.
Steinar H. Gunderson [Wed, 27 Jul 2016 19:15:25 +0000 (21:15 +0200)]
Fix int -> unsigned.

7 years agoAdd a function to get the number of USB cards.
Steinar H. Gunderson [Wed, 27 Jul 2016 19:13:41 +0000 (21:13 +0200)]
Add a function to get the number of USB cards.

7 years agoSupport hotplugging existing devices.
Steinar H. Gunderson [Wed, 27 Jul 2016 19:04:32 +0000 (21:04 +0200)]
Support hotplugging existing devices.

7 years agoMove include files to bmusb/.
Steinar H. Gunderson [Tue, 26 Jul 2016 15:42:51 +0000 (17:42 +0200)]
Move include files to bmusb/.

7 years agoMove include files to bmusb/.
Steinar H. Gunderson [Tue, 26 Jul 2016 15:42:51 +0000 (17:42 +0200)]
Move include files to bmusb/.

7 years agoRelease v0.4, and add a pkg-config file. 0.4
Steinar H. Gunderson [Tue, 26 Jul 2016 11:16:33 +0000 (13:16 +0200)]
Release v0.4, and add a pkg-config file.

7 years agoBuild and install a static library.
Steinar H. Gunderson [Tue, 26 Jul 2016 11:02:40 +0000 (13:02 +0200)]
Build and install a static library.

7 years agoUpdate README.
Steinar H. Gunderson [Mon, 25 Jul 2016 15:34:55 +0000 (17:34 +0200)]
Update README.

7 years agoMove FakeCapture from Nageru, and make it a little more generic.
Steinar H. Gunderson [Mon, 25 Jul 2016 12:17:11 +0000 (14:17 +0200)]
Move FakeCapture from Nageru, and make it a little more generic.

7 years agoPut everything in namespace bmusb; it was getting too generic with e.g. VideoFormat...
Steinar H. Gunderson [Mon, 25 Jul 2016 11:46:00 +0000 (13:46 +0200)]
Put everything in namespace bmusb; it was getting too generic with e.g. VideoFormat as a global type.

7 years agoMake decode_video_format() private.
Steinar H. Gunderson [Mon, 25 Jul 2016 11:44:20 +0000 (13:44 +0200)]
Make decode_video_format() private.

7 years agoUnbreak the test program.
Steinar H. Gunderson [Mon, 25 Jul 2016 11:40:36 +0000 (13:40 +0200)]
Unbreak the test program.

7 years agoUse GCC multiversionining instead of #ifdefs and -march=native.
Steinar H. Gunderson [Mon, 25 Jul 2016 11:37:26 +0000 (13:37 +0200)]
Use GCC multiversionining instead of #ifdefs and -march=native.

7 years agoSupport card hotplugging (both add and remove).
Steinar H. Gunderson [Fri, 22 Jul 2016 15:33:34 +0000 (17:33 +0200)]
Support card hotplugging (both add and remove).

7 years agoAdd an is_connected member to VideoFormat, for use with fake cards in Nageru.
Steinar H. Gunderson [Thu, 21 Jul 2016 21:31:42 +0000 (23:31 +0200)]
Add an is_connected member to VideoFormat, for use with fake cards in Nageru.

7 years agoAdd support for persistent USB device memory.
Steinar H. Gunderson [Tue, 7 Jun 2016 22:54:50 +0000 (00:54 +0200)]
Add support for persistent USB device memory.

This patch lived out-of-tree for a long time; now that libusb in git
has taken in the functionality needed, we can pull it in, even though
the version define isn't good enough to check the actual functionality.
It can distinguish git from last release, though, and that's the most
important thing.

7 years agoStop leaking memory allocators.
Steinar H. Gunderson [Mon, 2 May 2016 23:58:02 +0000 (01:58 +0200)]
Stop leaking memory allocators.

7 years agoStop opening dummy audio.raw file by default.
Steinar H. Gunderson [Mon, 2 May 2016 23:30:51 +0000 (01:30 +0200)]
Stop opening dummy audio.raw file by default.

8 years agoClearly mark card type in the description.
Steinar H. Gunderson [Sat, 2 Apr 2016 17:28:37 +0000 (19:28 +0200)]
Clearly mark card type in the description.

8 years agoAllow setting the video and audio inputs runtime.
Steinar H. Gunderson [Fri, 1 Apr 2016 20:59:46 +0000 (22:59 +0200)]
Allow setting the video and audio inputs runtime.

8 years agoAdd a way to get the current video mode.
Steinar H. Gunderson [Fri, 4 Mar 2016 00:24:22 +0000 (01:24 +0100)]
Add a way to get the current video mode.

8 years agoTweak get_available_video_modes() interface.
Steinar H. Gunderson [Fri, 4 Mar 2016 00:23:56 +0000 (01:23 +0100)]
Tweak get_available_video_modes() interface.

8 years agoMake drivers capable of delivering a list of modes, and setting them.
Steinar H. Gunderson [Thu, 3 Mar 2016 23:21:55 +0000 (00:21 +0100)]
Make drivers capable of delivering a list of modes, and setting them.

8 years agoNever send in a frame rate of 0/0.
Steinar H. Gunderson [Sun, 28 Feb 2016 17:47:00 +0000 (18:47 +0100)]
Never send in a frame rate of 0/0.

8 years agoExpose MallocFrameAllocator.
Steinar H. Gunderson [Sat, 27 Feb 2016 15:14:52 +0000 (16:14 +0100)]
Expose MallocFrameAllocator.

8 years agoSend the audio format explicitly down, not just the ID.
Steinar H. Gunderson [Sat, 27 Feb 2016 15:07:05 +0000 (16:07 +0100)]
Send the audio format explicitly down, not just the ID.

8 years agoMake an explicit flag for whether we have input signal or not, instead of trying...
Steinar H. Gunderson [Sat, 27 Feb 2016 12:31:55 +0000 (13:31 +0100)]
Make an explicit flag for whether we have input signal or not, instead of trying to communicate it through the resolution.

8 years agoSend the video format in directly to the video frame callback, so that we do not...
Steinar H. Gunderson [Fri, 26 Feb 2016 22:24:05 +0000 (23:24 +0100)]
Send the video format in directly to the video frame callback, so that we do not let the implementation detail of 16-bit video format IDs leak into the client.

8 years agoUpdate email address.
Steinar H. Gunderson [Wed, 17 Feb 2016 19:38:35 +0000 (20:38 +0100)]
Update email address.

8 years agoAdd an option to get a textual description of each card.
Steinar H. Gunderson [Fri, 22 Jan 2016 00:18:41 +0000 (01:18 +0100)]
Add an option to get a textual description of each card.

8 years agoMore video modes, from the D4.
Steinar H. Gunderson [Sun, 10 Jan 2016 14:18:47 +0000 (15:18 +0100)]
More video modes, from the D4.

8 years agoAdd a 720x576p mode.
Steinar H. Gunderson [Wed, 30 Dec 2015 13:16:35 +0000 (14:16 +0100)]
Add a 720x576p mode.

8 years agoCorrect 1080i second field offset.
Steinar H. Gunderson [Wed, 23 Dec 2015 13:32:13 +0000 (14:32 +0100)]
Correct 1080i second field offset.

8 years agoAdd yet another PAL mode.
Steinar H. Gunderson [Wed, 23 Dec 2015 13:30:19 +0000 (14:30 +0100)]
Add yet another PAL mode.

8 years agoAdd a missing PAL mode.
Steinar H. Gunderson [Mon, 23 Nov 2015 01:03:17 +0000 (02:03 +0100)]
Add a missing PAL mode.

8 years agoCorrect data for 480i.
Steinar H. Gunderson [Sun, 22 Nov 2015 21:51:09 +0000 (22:51 +0100)]
Correct data for 480i.

8 years agoCorrect field start for 576i.
Steinar H. Gunderson [Sun, 22 Nov 2015 21:10:55 +0000 (22:10 +0100)]
Correct field start for 576i.