]> git.sesse.net Git - bmusb/log
bmusb
8 years agoInterlaced resolution data fixes, especially for 576i.
Steinar H. Gunderson [Sun, 22 Nov 2015 00:15:11 +0000 (01:15 +0100)]
Interlaced resolution data fixes, especially for 576i.

8 years agoReturn second field offset for interlaced modes (1080i only for now).
Steinar H. Gunderson [Sat, 21 Nov 2015 23:07:45 +0000 (00:07 +0100)]
Return second field offset for interlaced modes (1080i only for now).

8 years agoConvert decode_video_format to return unsigned quantities.
Steinar H. Gunderson [Sat, 21 Nov 2015 20:09:55 +0000 (21:09 +0100)]
Convert decode_video_format to return unsigned quantities.

8 years agoReduce the verbosity somewhat.
Steinar H. Gunderson [Wed, 18 Nov 2015 00:08:44 +0000 (01:08 +0100)]
Reduce the verbosity somewhat.

8 years agoAdd extra_lines information for 1080i.
Steinar H. Gunderson [Tue, 17 Nov 2015 22:13:25 +0000 (23:13 +0100)]
Add extra_lines information for 1080i.

8 years agoAdd some extra height information to decode_video_format().
Steinar H. Gunderson [Tue, 17 Nov 2015 20:16:09 +0000 (21:16 +0100)]
Add some extra height information to decode_video_format().

8 years agoFix parameter order.
Steinar H. Gunderson [Tue, 17 Nov 2015 18:04:56 +0000 (19:04 +0100)]
Fix parameter order.

8 years agoFix (sort of) the dimensions for mode 0x0800.
Steinar H. Gunderson [Tue, 17 Nov 2015 00:25:11 +0000 (01:25 +0100)]
Fix (sort of) the dimensions for mode 0x0800.

8 years agoAuto-tune the USB buffers based on the previous frame size instead of having them...
Steinar H. Gunderson [Tue, 17 Nov 2015 00:20:30 +0000 (01:20 +0100)]
Auto-tune the USB buffers based on the previous frame size instead of having them as a #define.

8 years agoAdd a function to get video format details.
Steinar H. Gunderson [Mon, 16 Nov 2015 23:59:23 +0000 (00:59 +0100)]
Add a function to get video format details.

8 years agoSmall cleanup.
Steinar H. Gunderson [Mon, 16 Nov 2015 22:56:27 +0000 (23:56 +0100)]
Small cleanup.

8 years agoFix a crash during shutdown.
Steinar H. Gunderson [Sat, 14 Nov 2015 12:55:34 +0000 (13:55 +0100)]
Fix a crash during shutdown.

8 years agoFix a queue access not under a mutex.
Steinar H. Gunderson [Sat, 14 Nov 2015 12:55:22 +0000 (13:55 +0100)]
Fix a queue access not under a mutex.

8 years agoUse even smaller transfers since evidently the kernel has problems allocating 512...
Steinar H. Gunderson [Mon, 9 Nov 2015 22:19:03 +0000 (23:19 +0100)]
Use even smaller transfers since evidently the kernel has problems allocating 512 kB ones. :-/

8 years agoAdd a simple .gitignore.
Steinar H. Gunderson [Sun, 8 Nov 2015 01:24:16 +0000 (02:24 +0100)]
Add a simple .gitignore.

8 years agoIf libusb_submit_transfer() fails, output the actual error number.
Steinar H. Gunderson [Sat, 31 Oct 2015 20:38:12 +0000 (21:38 +0100)]
If libusb_submit_transfer() fails, output the actual error number.

8 years agoBetter multi-card support; index them by number instead of just type.
Steinar H. Gunderson [Sun, 25 Oct 2015 11:37:32 +0000 (12:37 +0100)]
Better multi-card support; index them by number instead of just type.

8 years agoFix an error message.
Steinar H. Gunderson [Sun, 25 Oct 2015 10:39:49 +0000 (11:39 +0100)]
Fix an error message.

8 years agoDefault to queueing up more audio than video frames.
Steinar H. Gunderson [Tue, 13 Oct 2015 23:34:46 +0000 (01:34 +0200)]
Default to queueing up more audio than video frames.

8 years agoFix wraparound in some timecode comparisons.
Steinar H. Gunderson [Tue, 13 Oct 2015 23:05:06 +0000 (01:05 +0200)]
Fix wraparound in some timecode comparisons.

8 years agoIf we have an audio block with no video, send it on anyway (since audio continuity...
Steinar H. Gunderson [Tue, 13 Oct 2015 20:49:41 +0000 (22:49 +0200)]
If we have an audio block with no video, send it on anyway (since audio continuity is important).

8 years agoFix issues with the queue locking up when there is no signal.
Steinar H. Gunderson [Mon, 12 Oct 2015 22:09:40 +0000 (00:09 +0200)]
Fix issues with the queue locking up when there is no signal.

8 years agoSmall format update.
Steinar H. Gunderson [Mon, 12 Oct 2015 21:44:46 +0000 (23:44 +0200)]
Small format update.

8 years agoBe less verbose on overflow.
Steinar H. Gunderson [Mon, 12 Oct 2015 20:10:42 +0000 (22:10 +0200)]
Be less verbose on overflow.

8 years agoIncrease number of queued frames to 16.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:28:02 +0000 (21:28 +0200)]
Increase number of queued frames to 16.

8 years agoAdd support for stopping the dequeue thread.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:27:47 +0000 (21:27 +0200)]
Add support for stopping the dequeue thread.

8 years agoAdd support for callbacks in the dequeue thread.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:23:55 +0000 (21:23 +0200)]
Add support for callbacks in the dequeue thread.

The typical use for this would be setting up and tearing down an
OpenGL context or similar. You can fake it easily enough for
startup, but it's much worse for shutdown (which is coming soon).

8 years agoAdd a missing forward declaration.
Steinar H. Gunderson [Mon, 5 Oct 2015 20:49:08 +0000 (22:49 +0200)]
Add a missing forward declaration.

8 years agoDocument alternates 3 and 4.
Steinar H. Gunderson [Mon, 5 Oct 2015 20:48:24 +0000 (22:48 +0200)]
Document alternates 3 and 4.

8 years agoRemove a debug printf.
Steinar H. Gunderson [Mon, 5 Oct 2015 20:47:51 +0000 (22:47 +0200)]
Remove a debug printf.

8 years agoRun include-what-you-use.
Steinar H. Gunderson [Mon, 5 Oct 2015 20:47:26 +0000 (22:47 +0200)]
Run include-what-you-use.

8 years agoSwitch __SSE2__ defines over to __SSE4_1__, as we use ptest.
Steinar H. Gunderson [Mon, 5 Oct 2015 20:46:20 +0000 (22:46 +0200)]
Switch __SSE2__ defines over to __SSE4_1__, as we use ptest.

8 years agoAdd a (commented-out) useful AVX2 debugging function.
Steinar H. Gunderson [Wed, 30 Sep 2015 18:29:52 +0000 (20:29 +0200)]
Add a (commented-out) useful AVX2 debugging function.

8 years agoSupport multiple cards at the same time (although currently, they have to be of diffe...
Steinar H. Gunderson [Wed, 30 Sep 2015 18:27:06 +0000 (20:27 +0200)]
Support multiple cards at the same time (although currently, they have to be of different models).

8 years agoReduce the transfer size a bit, for better cache efficiency.
Steinar H. Gunderson [Wed, 30 Sep 2015 18:24:32 +0000 (20:24 +0200)]
Reduce the transfer size a bit, for better cache efficiency.

8 years agoRemove a lot of control transfers (they were from the day when I hardly understood...
Steinar H. Gunderson [Wed, 30 Sep 2015 18:22:43 +0000 (20:22 +0200)]
Remove a lot of control transfers (they were from the day when I hardly understood what was going on).

8 years agoYet more small AVX2 tweaks.
Steinar H. Gunderson [Tue, 22 Sep 2015 23:31:36 +0000 (01:31 +0200)]
Yet more small AVX2 tweaks.

8 years agoMake AVX2 code a bit cleaner.
Steinar H. Gunderson [Tue, 22 Sep 2015 23:16:11 +0000 (01:16 +0200)]
Make AVX2 code a bit cleaner.

Possibly also a cycle shorter, but hard to say without a benchmark.

8 years agoSome corrections about firmware upgrade.
Steinar H. Gunderson [Sun, 20 Sep 2015 11:16:34 +0000 (13:16 +0200)]
Some corrections about firmware upgrade.

8 years agoUpdate README; UltraStudio SDI works fine, if you just change the USB ID.
Steinar H. Gunderson [Sat, 19 Sep 2015 23:00:37 +0000 (01:00 +0200)]
Update README; UltraStudio SDI works fine, if you just change the USB ID.

8 years agoSome musings about firmware versions.
Steinar H. Gunderson [Sat, 19 Sep 2015 22:42:34 +0000 (00:42 +0200)]
Some musings about firmware versions.

8 years agoSmall, quite irrelevant fix for some debugging output.
Steinar H. Gunderson [Sat, 19 Sep 2015 20:51:04 +0000 (22:51 +0200)]
Small, quite irrelevant fix for some debugging output.

8 years agoWork around a compilation issue.
Steinar H. Gunderson [Sat, 19 Sep 2015 19:18:40 +0000 (21:18 +0200)]
Work around a compilation issue.

8 years agoRefactor from global variables into class members.
Steinar H. Gunderson [Sat, 19 Sep 2015 19:18:00 +0000 (21:18 +0200)]
Refactor from global variables into class members.

The first step on the way of supporting multiple devices.

8 years agoAdd an interleaved mode to split UYVY into YV and YY on-the-fly.
Steinar H. Gunderson [Fri, 18 Sep 2015 19:27:13 +0000 (21:27 +0200)]
Add an interleaved mode to split UYVY into YV and YY on-the-fly.

8 years agoAdd an SSE2/AVX2 fast path to fuse the memmem() into the memcpy.
Steinar H. Gunderson [Thu, 17 Sep 2015 22:14:45 +0000 (00:14 +0200)]
Add an SSE2/AVX2 fast path to fuse the memmem() into the memcpy.

8 years agoFix a typo.
Steinar H. Gunderson [Thu, 17 Sep 2015 20:45:38 +0000 (22:45 +0200)]
Fix a typo.

8 years agoSimplify decode_packs() through some pointer arithmetic.
Steinar H. Gunderson [Thu, 17 Sep 2015 20:35:46 +0000 (22:35 +0200)]
Simplify decode_packs() through some pointer arithmetic.

8 years agoMove to -Wall, and fix all -Wall warnings.
Steinar H. Gunderson [Thu, 17 Sep 2015 20:06:02 +0000 (22:06 +0200)]
Move to -Wall, and fix all -Wall warnings.

8 years agoUnify the audio and video add_frame functions.
Steinar H. Gunderson [Thu, 17 Sep 2015 20:03:50 +0000 (22:03 +0200)]
Unify the audio and video add_frame functions.

8 years agoAdd very rudimentary stopping support.
Steinar H. Gunderson [Tue, 15 Sep 2015 22:51:44 +0000 (00:51 +0200)]
Add very rudimentary stopping support.

8 years agoMore about performance.
Steinar H. Gunderson [Tue, 1 Sep 2015 20:51:57 +0000 (22:51 +0200)]
More about performance.

8 years agoInitial checkin.
Steinar H. Gunderson [Tue, 1 Sep 2015 20:48:32 +0000 (22:48 +0200)]
Initial checkin.