]>
git.sesse.net Git - nageru/log
Steinar H. Gunderson [Mon, 2 Nov 2015 19:47:20 +0000 (20:47 +0100)]
Generalize NUM_OUTPUTS a bit.
Steinar H. Gunderson [Mon, 2 Nov 2015 00:44:14 +0000 (01:44 +0100)]
Remove some debugging.
Steinar H. Gunderson [Mon, 2 Nov 2015 00:40:58 +0000 (01:40 +0100)]
Create the previews dynamically, in a number determined by the theme.
Steinar H. Gunderson [Sun, 1 Nov 2015 20:01:56 +0000 (21:01 +0100)]
Reduce the warning storm a bit.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:55:51 +0000 (20:55 +0100)]
Re-run IWYU, again with lots of manual cleanup.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:35:41 +0000 (20:35 +0100)]
Update to latest bmusb.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:35:36 +0000 (20:35 +0100)]
Add some primitive emergency card mapping. Useful for testing.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:28:53 +0000 (20:28 +0100)]
Make NUM_CARDS into a command-line flag.
Steinar H. Gunderson [Sun, 1 Nov 2015 17:06:23 +0000 (18:06 +0100)]
Specify unspecified gamma instead of lying and saying we use Rec. 709. Again, for the benefit of icky players.
Steinar H. Gunderson [Sun, 1 Nov 2015 16:53:06 +0000 (17:53 +0100)]
Switch to BT.601 Y'CbCr coefficients and back to limited range.
Finally makes MPlayer screenshots have correct colors and luma
range all the way through.
Steinar H. Gunderson [Sun, 1 Nov 2015 15:04:09 +0000 (16:04 +0100)]
Switch default gamma input curve to Rec. 709.
Steinar H. Gunderson [Sun, 1 Nov 2015 14:53:11 +0000 (15:53 +0100)]
Make output full-range, which seems to fix the issues with (at least) MPlayer/VLC rendering the colors too muted. Somehow the flag seems to get ignored, or else I am not setting it properly.
Steinar H. Gunderson [Sun, 1 Nov 2015 14:35:28 +0000 (15:35 +0100)]
Move the audio conversion to a slightly more logical place, and also make it handle no audio without crashing.
Steinar H. Gunderson [Sun, 1 Nov 2015 14:30:20 +0000 (15:30 +0100)]
Fix a bunch of colorspace issues, after practical testing. There is still some left in the output, though.
Steinar H. Gunderson [Sun, 1 Nov 2015 12:45:45 +0000 (13:45 +0100)]
Add some notes on GPU performance.
Steinar H. Gunderson [Sun, 1 Nov 2015 12:02:21 +0000 (13:02 +0100)]
Fix some Lua stack imbalances.
Steinar H. Gunderson [Sun, 1 Nov 2015 11:58:16 +0000 (12:58 +0100)]
Make Theme::register_class() private.
Steinar H. Gunderson [Sun, 1 Nov 2015 11:43:41 +0000 (12:43 +0100)]
Add a README.
Steinar H. Gunderson [Sun, 1 Nov 2015 01:23:13 +0000 (02:23 +0100)]
Add a simple .gitignore.
Steinar H. Gunderson [Sun, 1 Nov 2015 01:21:39 +0000 (02:21 +0100)]
Use the new texture bounce override instead of relying on a patched Movit.
Steinar H. Gunderson [Sun, 1 Nov 2015 01:17:25 +0000 (02:17 +0100)]
Remove a debug printf.
Steinar H. Gunderson [Sun, 1 Nov 2015 00:24:42 +0000 (01:24 +0100)]
Update the VU/LRA meters from the GUI thread; fixes an issue where they lock up.
Steinar H. Gunderson [Sat, 31 Oct 2015 23:57:13 +0000 (00:57 +0100)]
Replace libebur128 with the R128 code from ebumeter.
__Much faster (something like 10x even ignoring the fact that libebur128
gets slower and slower the more data you add), and gives us the true
loudness range. We lose the oversampled peak detection for now, though.
Steinar H. Gunderson [Sat, 31 Oct 2015 20:37:50 +0000 (21:37 +0100)]
Add some more check_error() calls, for debugging Mesa fence issues.
Steinar H. Gunderson [Sat, 31 Oct 2015 12:07:12 +0000 (13:07 +0100)]
Use true peak, not sample peak (EBU R128 compliance).
Steinar H. Gunderson [Sat, 31 Oct 2015 12:01:14 +0000 (13:01 +0100)]
Rework the LRA and VU meters into something much more like LRA and VU meters.
Steinar H. Gunderson [Sat, 31 Oct 2015 11:38:51 +0000 (12:38 +0100)]
Some refactoring of common VU functions.
Steinar H. Gunderson [Sat, 31 Oct 2015 11:08:27 +0000 (12:08 +0100)]
Fix meter display before we have any audio.
Steinar H. Gunderson [Sat, 31 Oct 2015 01:41:10 +0000 (02:41 +0100)]
Add the beginnings of a loudness range meter.
Steinar H. Gunderson [Thu, 29 Oct 2015 23:45:07 +0000 (00:45 +0100)]
Remove some now obsolete variables.
Steinar H. Gunderson [Thu, 29 Oct 2015 21:34:29 +0000 (22:34 +0100)]
Add missing audio level callback code.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:56:33 +0000 (21:56 +0100)]
Set the peak meter to red when peaking.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:44:39 +0000 (21:44 +0100)]
Move the audio level logic into MainWindow, where it has a much better home than GLWidget.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:38:56 +0000 (21:38 +0100)]
Set the right window title.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:36:35 +0000 (21:36 +0100)]
Remove obsolete class Window.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:26:38 +0000 (21:26 +0100)]
Various VU meter layout tweaks.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:02:39 +0000 (21:02 +0100)]
Add a peak display.
Steinar H. Gunderson [Thu, 29 Oct 2015 19:50:22 +0000 (20:50 +0100)]
Show the +/-1 dB target range.
Steinar H. Gunderson [Thu, 29 Oct 2015 19:36:53 +0000 (20:36 +0100)]
Fix VU meter range.
Steinar H. Gunderson [Wed, 28 Oct 2015 23:48:08 +0000 (00:48 +0100)]
Add the beginnings of a very simple VU meter, based on libebur128.
Steinar H. Gunderson [Tue, 27 Oct 2015 18:18:01 +0000 (19:18 +0100)]
Various tweaks to the UI layout.
Steinar H. Gunderson [Mon, 26 Oct 2015 00:29:15 +0000 (01:29 +0100)]
Various tweaks/fixes for the 16:9 forcing.
Steinar H. Gunderson [Mon, 26 Oct 2015 00:17:19 +0000 (01:17 +0100)]
Better handling of the aspect ratio stuff. Still some weirdness, though.
Steinar H. Gunderson [Sun, 25 Oct 2015 22:45:48 +0000 (23:45 +0100)]
Add a minimum size to all the buttons, so they jump less around when widths are changed.
Steinar H. Gunderson [Sun, 25 Oct 2015 22:14:11 +0000 (23:14 +0100)]
Add some keyboard shortcuts for selecting preview.
Steinar H. Gunderson [Sun, 25 Oct 2015 19:25:35 +0000 (20:25 +0100)]
Update bmusb submodule.
Steinar H. Gunderson [Sun, 25 Oct 2015 19:25:07 +0000 (20:25 +0100)]
Unify muxing between the local file and networking.
Steinar H. Gunderson [Sun, 25 Oct 2015 18:59:47 +0000 (19:59 +0100)]
Remove a debug output.
Steinar H. Gunderson [Sun, 25 Oct 2015 17:54:22 +0000 (18:54 +0100)]
Remove a debug output.
Steinar H. Gunderson [Sun, 25 Oct 2015 11:37:34 +0000 (12:37 +0100)]
Better multi-card support; index them by number instead of just type.
Steinar H. Gunderson [Sat, 24 Oct 2015 23:15:09 +0000 (01:15 +0200)]
Add a HTTP server for stream output.
Steinar H. Gunderson [Sun, 18 Oct 2015 13:48:30 +0000 (15:48 +0200)]
Add an EXTRAHEIGHT define instead of hardcoding 30.
Steinar H. Gunderson [Sun, 18 Oct 2015 13:47:03 +0000 (15:47 +0200)]
Use WIDTH and HEIGHT a few places instead of hard-coded 1280 and 720.
Steinar H. Gunderson [Wed, 14 Oct 2015 21:47:00 +0000 (23:47 +0200)]
Rework dts selection.
Instead of trying to copy earlier pts into dts, we derive some dts
from the frame type (syncing it with pts at opportune moments),
which should fix the dts > pts issues when dropping frames.
Steinar H. Gunderson [Tue, 13 Oct 2015 23:26:44 +0000 (01:26 +0200)]
Rework entire pts handling.
Now handles dropped video frames (with audio) correctly (by just
increasing pts and letting everything else stay the same), and also
inserts silence whenever needed. There are some new issues with
dts going above pts when this happens, but overall, this is
infinitely better than what we had.
Steinar H. Gunderson [Tue, 13 Oct 2015 22:54:36 +0000 (00:54 +0200)]
Make the resampler zero out samples on underrun instead of just leaving junk.
Steinar H. Gunderson [Tue, 13 Oct 2015 22:51:10 +0000 (00:51 +0200)]
Ease logging a tiny bit.
Steinar H. Gunderson [Mon, 12 Oct 2015 23:48:23 +0000 (01:48 +0200)]
Remove some unneeded std::.
Steinar H. Gunderson [Mon, 12 Oct 2015 22:11:21 +0000 (00:11 +0200)]
Fix issues with the queue locking up when there is no signal.
Steinar H. Gunderson [Mon, 12 Oct 2015 20:10:48 +0000 (22:10 +0200)]
Be less verbose on overflow.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:54:16 +0000 (21:54 +0200)]
Yet more Makefile tweaks.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:48:07 +0000 (21:48 +0200)]
Add missing file timebase.h.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:47:57 +0000 (21:47 +0200)]
Various fixes to the Makefile.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:35:33 +0000 (21:35 +0200)]
Switch to getting bmusb from a submodule.
Steinar H. Gunderson [Sun, 11 Oct 2015 23:16:10 +0000 (01:16 +0200)]
Support arbitrary SBS zooming (ie., zooming in on the little picture, too).
Steinar H. Gunderson [Sun, 11 Oct 2015 22:24:43 +0000 (00:24 +0200)]
Make the fade look maybe a tad more natural.
Steinar H. Gunderson [Sun, 11 Oct 2015 22:19:15 +0000 (00:19 +0200)]
Drop frames if there are clearly too many samples (typically happening at the start).
Steinar H. Gunderson [Sun, 11 Oct 2015 22:16:28 +0000 (00:16 +0200)]
Make quitting a tad bit more robust.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:55:19 +0000 (23:55 +0200)]
Decide pts in the mixer instead of in the encoder.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:08:27 +0000 (23:08 +0200)]
Activate B-frames.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:08:23 +0000 (23:08 +0200)]
Move back to mp4, now that everything seems to work well.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:06:54 +0000 (23:06 +0200)]
Set dts for audio; evidently needed to unconfuse players.
Steinar H. Gunderson [Sun, 11 Oct 2015 20:58:25 +0000 (22:58 +0200)]
Various fixes for out-of-order encoding (ie., B-frames). Still some issues, though.
Steinar H. Gunderson [Sun, 11 Oct 2015 18:57:34 +0000 (20:57 +0200)]
Compile with -Werror.
Steinar H. Gunderson [Sun, 11 Oct 2015 18:56:57 +0000 (20:56 +0200)]
Slightly more robust Lua error handling.
Steinar H. Gunderson [Sun, 11 Oct 2015 14:30:39 +0000 (16:30 +0200)]
Switch to mkv for the time being.
Steinar H. Gunderson [Sun, 11 Oct 2015 14:29:00 +0000 (16:29 +0200)]
Send audio all the way through to the encoder and muxer.
Steinar H. Gunderson [Sun, 11 Oct 2015 10:39:26 +0000 (12:39 +0200)]
Update loop filter to take into account ratio; based on email from Fons Adriaensen.
Steinar H. Gunderson [Sun, 11 Oct 2015 10:12:11 +0000 (12:12 +0200)]
Clean up some interfaces internal to H264Encoder.
Steinar H. Gunderson [Sat, 10 Oct 2015 23:05:07 +0000 (01:05 +0200)]
Add a resampler module, as start of sound support.
Steinar H. Gunderson [Sat, 10 Oct 2015 23:04:37 +0000 (01:04 +0200)]
Fix a warning.
Steinar H. Gunderson [Thu, 8 Oct 2015 23:42:51 +0000 (01:42 +0200)]
Hook up MixEffect, and add fades to the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 23:00:30 +0000 (01:00 +0200)]
Fix a warning.
Steinar H. Gunderson [Thu, 8 Oct 2015 22:59:32 +0000 (00:59 +0200)]
Set output YCbCr to 709; input might be 601 (which is weird), but output should not be in a HD world.
Steinar H. Gunderson [Thu, 8 Oct 2015 22:24:57 +0000 (00:24 +0200)]
Wire the transition names through to the UI.
Steinar H. Gunderson [Thu, 8 Oct 2015 21:12:37 +0000 (23:12 +0200)]
Flesh out the zooming logic in the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 20:34:14 +0000 (22:34 +0200)]
Hook up all three transition buttons to the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 19:35:02 +0000 (21:35 +0200)]
Hook up the channel click events.
Steinar H. Gunderson [Thu, 8 Oct 2015 19:15:11 +0000 (21:15 +0200)]
Hook up a third input, the SBS mix. Required hooking up ResizeEffect.
Steinar H. Gunderson [Thu, 8 Oct 2015 18:52:28 +0000 (20:52 +0200)]
Yet more quitting fixes. Still not quite there.
Steinar H. Gunderson [Thu, 8 Oct 2015 17:48:21 +0000 (19:48 +0200)]
Fix a crash on exit.
Steinar H. Gunderson [Thu, 8 Oct 2015 17:33:05 +0000 (19:33 +0200)]
De-semicolonify the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 17:32:21 +0000 (19:32 +0200)]
Make an optimization to the zoombox in the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 00:07:19 +0000 (02:07 +0200)]
Hook up some timers for the Lua theme, and make a more beautiful transition experience.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:50:07 +0000 (01:50 +0200)]
Even more Lua SBS cleanups/generalizations.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:48:42 +0000 (01:48 +0200)]
Some cleanups in the Lua SBS code.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:41:34 +0000 (01:41 +0200)]
Work around a crash caused by GC.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:39:55 +0000 (01:39 +0200)]
Move the side-by-side logic into Lua.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:36:41 +0000 (01:36 +0200)]
Print out errors in the setup chain callback.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:31:34 +0000 (01:31 +0200)]
Add set_vec4, and yet more fixes for add_effect in Lua.