]> git.sesse.net Git - nageru/log
nageru
8 years agoAdd a HTTP server for stream output.
Steinar H. Gunderson [Sat, 24 Oct 2015 23:15:09 +0000 (01:15 +0200)]
Add a HTTP server for stream output.

8 years agoAdd an EXTRAHEIGHT define instead of hardcoding 30.
Steinar H. Gunderson [Sun, 18 Oct 2015 13:48:30 +0000 (15:48 +0200)]
Add an EXTRAHEIGHT define instead of hardcoding 30.

8 years agoUse WIDTH and HEIGHT a few places instead of hard-coded 1280 and 720.
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.

8 years agoRework dts selection.
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.

8 years agoRework entire pts handling.
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.

8 years agoMake the resampler zero out samples on underrun instead of just leaving junk.
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.

8 years agoEase logging a tiny bit.
Steinar H. Gunderson [Tue, 13 Oct 2015 22:51:10 +0000 (00:51 +0200)]
Ease logging a tiny bit.

8 years agoRemove some unneeded std::.
Steinar H. Gunderson [Mon, 12 Oct 2015 23:48:23 +0000 (01:48 +0200)]
Remove some unneeded std::.

8 years agoFix issues with the queue locking up when there is no signal.
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.

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

8 years agoYet more Makefile tweaks.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:54:16 +0000 (21:54 +0200)]
Yet more Makefile tweaks.

8 years agoAdd missing file timebase.h.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:48:07 +0000 (21:48 +0200)]
Add missing file timebase.h.

8 years agoVarious fixes to the Makefile.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:47:57 +0000 (21:47 +0200)]
Various fixes to the Makefile.

8 years agoSwitch to getting bmusb from a submodule.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:35:33 +0000 (21:35 +0200)]
Switch to getting bmusb from a submodule.

8 years agoSupport arbitrary SBS zooming (ie., zooming in on the little picture, too).
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).

8 years agoMake the fade look maybe a tad more natural.
Steinar H. Gunderson [Sun, 11 Oct 2015 22:24:43 +0000 (00:24 +0200)]
Make the fade look maybe a tad more natural.

8 years agoDrop frames if there are clearly too many samples (typically happening at the start).
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).

8 years agoMake quitting a tad bit more robust.
Steinar H. Gunderson [Sun, 11 Oct 2015 22:16:28 +0000 (00:16 +0200)]
Make quitting a tad bit more robust.

8 years agoDecide pts in the mixer instead of in the encoder.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:55:19 +0000 (23:55 +0200)]
Decide pts in the mixer instead of in the encoder.

8 years agoActivate B-frames.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:08:27 +0000 (23:08 +0200)]
Activate B-frames.

8 years agoMove back to mp4, now that everything seems to work well.
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.

8 years agoSet dts for audio; evidently needed to unconfuse players.
Steinar H. Gunderson [Sun, 11 Oct 2015 21:06:54 +0000 (23:06 +0200)]
Set dts for audio; evidently needed to unconfuse players.

8 years agoVarious fixes for out-of-order encoding (ie., B-frames). Still some issues, though.
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.

8 years agoCompile with -Werror.
Steinar H. Gunderson [Sun, 11 Oct 2015 18:57:34 +0000 (20:57 +0200)]
Compile with -Werror.

8 years agoSlightly more robust Lua error handling.
Steinar H. Gunderson [Sun, 11 Oct 2015 18:56:57 +0000 (20:56 +0200)]
Slightly more robust Lua error handling.

8 years agoSwitch to mkv for the time being.
Steinar H. Gunderson [Sun, 11 Oct 2015 14:30:39 +0000 (16:30 +0200)]
Switch to mkv for the time being.

8 years agoSend audio all the way through to the encoder and muxer.
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.

8 years agoUpdate loop filter to take into account ratio; based on email from Fons Adriaensen.
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.

8 years agoClean up some interfaces internal to H264Encoder.
Steinar H. Gunderson [Sun, 11 Oct 2015 10:12:11 +0000 (12:12 +0200)]
Clean up some interfaces internal to H264Encoder.

8 years agoAdd a resampler module, as start of sound support.
Steinar H. Gunderson [Sat, 10 Oct 2015 23:05:07 +0000 (01:05 +0200)]
Add a resampler module, as start of sound support.

8 years agoFix a warning.
Steinar H. Gunderson [Sat, 10 Oct 2015 23:04:37 +0000 (01:04 +0200)]
Fix a warning.

8 years agoHook up MixEffect, and add fades to the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 23:42:51 +0000 (01:42 +0200)]
Hook up MixEffect, and add fades to the theme.

8 years agoFix a warning.
Steinar H. Gunderson [Thu, 8 Oct 2015 23:00:30 +0000 (01:00 +0200)]
Fix a warning.

8 years agoSet output YCbCr to 709; input might be 601 (which is weird), but output should not...
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.

8 years agoWire the transition names through to the UI.
Steinar H. Gunderson [Thu, 8 Oct 2015 22:24:57 +0000 (00:24 +0200)]
Wire the transition names through to the UI.

8 years agoFlesh out the zooming logic in the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 21:12:37 +0000 (23:12 +0200)]
Flesh out the zooming logic in the theme.

8 years agoHook up all three transition buttons to 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.

8 years agoHook up the channel click events.
Steinar H. Gunderson [Thu, 8 Oct 2015 19:35:02 +0000 (21:35 +0200)]
Hook up the channel click events.

8 years agoHook up a third input, the SBS mix. Required hooking up ResizeEffect.
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.

8 years agoYet more quitting fixes. Still not quite there.
Steinar H. Gunderson [Thu, 8 Oct 2015 18:52:28 +0000 (20:52 +0200)]
Yet more quitting fixes. Still not quite there.

8 years agoFix a crash on exit.
Steinar H. Gunderson [Thu, 8 Oct 2015 17:48:21 +0000 (19:48 +0200)]
Fix a crash on exit.

8 years agoDe-semicolonify the theme.
Steinar H. Gunderson [Thu, 8 Oct 2015 17:33:05 +0000 (19:33 +0200)]
De-semicolonify the theme.

8 years agoMake an optimization to the zoombox in 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.

8 years agoHook up some timers for the Lua theme, and make a more beautiful transition experience.
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.

8 years agoEven more Lua SBS cleanups/generalizations.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:50:07 +0000 (01:50 +0200)]
Even more Lua SBS cleanups/generalizations.

8 years agoSome cleanups in the Lua SBS code.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:48:42 +0000 (01:48 +0200)]
Some cleanups in the Lua SBS code.

8 years agoWork around a crash caused by GC.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:41:34 +0000 (01:41 +0200)]
Work around a crash caused by GC.

8 years agoMove the side-by-side logic into Lua.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:39:55 +0000 (01:39 +0200)]
Move the side-by-side logic into Lua.

8 years agoPrint out errors in the setup chain callback.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:36:41 +0000 (01:36 +0200)]
Print out errors in the setup chain callback.

8 years agoAdd set_vec4, and yet more fixes for add_effect in Lua.
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.

8 years agoHook over OverlayEffect, and make add_effect() take a variable number of parameters.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:11:42 +0000 (01:11 +0200)]
Hook over OverlayEffect, and make add_effect() take a variable number of parameters.

8 years agoHook up IntegralPaddingEffect.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:04:16 +0000 (01:04 +0200)]
Hook up IntegralPaddingEffect.

8 years agoHook up PaddingEffect.
Steinar H. Gunderson [Wed, 7 Oct 2015 23:02:34 +0000 (01:02 +0200)]
Hook up PaddingEffect.

8 years agoHook up ResampleEffect, and generalize things a bit.
Steinar H. Gunderson [Wed, 7 Oct 2015 22:56:42 +0000 (00:56 +0200)]
Hook up ResampleEffect, and generalize things a bit.

8 years agoImprove the help in the theme a bit.
Steinar H. Gunderson [Wed, 7 Oct 2015 22:24:23 +0000 (00:24 +0200)]
Improve the help in the theme a bit.

8 years agoAsk the Lua script for number of channels.
Steinar H. Gunderson [Wed, 7 Oct 2015 22:06:21 +0000 (00:06 +0200)]
Ask the Lua script for number of channels.

8 years agoHook up the cut button to Lua, so that it actually does something.
Steinar H. Gunderson [Wed, 7 Oct 2015 22:00:54 +0000 (00:00 +0200)]
Hook up the cut button to Lua, so that it actually does something.

8 years agoHook up the rest of the chains from Lua, too.
Steinar H. Gunderson [Wed, 7 Oct 2015 21:49:51 +0000 (23:49 +0200)]
Hook up the rest of the chains from Lua, too.

8 years agoInitial implementation of moving the theming logic to Lua. Still lots to do.
Steinar H. Gunderson [Wed, 7 Oct 2015 21:43:33 +0000 (23:43 +0200)]
Initial implementation of moving the theming logic to Lua. Still lots to do.

8 years agoTwiddle some aspect ratios.
Steinar H. Gunderson [Tue, 6 Oct 2015 19:39:07 +0000 (21:39 +0200)]
Twiddle some aspect ratios.

8 years agoHook up the last previews.
Steinar H. Gunderson [Tue, 6 Oct 2015 19:26:19 +0000 (21:26 +0200)]
Hook up the last previews.

8 years agoRemove the now unused preview size setting.
Steinar H. Gunderson [Tue, 6 Oct 2015 18:42:35 +0000 (20:42 +0200)]
Remove the now unused preview size setting.

8 years agoUse Movit also for the display logic; a bit more setup on the mixer side, but much...
Steinar H. Gunderson [Tue, 6 Oct 2015 18:03:06 +0000 (20:03 +0200)]
Use Movit also for the display logic; a bit more setup on the mixer side, but much less on the display side, and it avoids an expensive bump to RGB textures for things like the pure previews.

8 years agoRefcount the input frames directly instead of trying to free them after-the-fact...
Steinar H. Gunderson [Tue, 6 Oct 2015 17:17:00 +0000 (19:17 +0200)]
Refcount the input frames directly instead of trying to free them after-the-fact; simpler, lets us release them earlier, and will make for much easier passing of full effect chains to the previews.

8 years agoFix edge clamping behavior with out self-allocated textures.
Steinar H. Gunderson [Mon, 5 Oct 2015 23:18:46 +0000 (01:18 +0200)]
Fix edge clamping behavior with out self-allocated textures.

8 years agoDrop writing the dump.h264 file; our muxing is okay enough by now.
Steinar H. Gunderson [Mon, 5 Oct 2015 23:05:25 +0000 (01:05 +0200)]
Drop writing the dump.h264 file; our muxing is okay enough by now.

8 years agoReinstate 16 audio frames (should match video).
Steinar H. Gunderson [Mon, 5 Oct 2015 22:56:31 +0000 (00:56 +0200)]
Reinstate 16 audio frames (should match video).

8 years agoImport latest bmusb.
Steinar H. Gunderson [Mon, 5 Oct 2015 20:49:20 +0000 (22:49 +0200)]
Import latest bmusb.

8 years agoMove some render targets to 16-bit RGB to save texture memory.
Steinar H. Gunderson [Mon, 5 Oct 2015 19:04:03 +0000 (21:04 +0200)]
Move some render targets to 16-bit RGB to save texture memory.

8 years agoUse the new Movit functionality to save a texture upload for the preview.
Steinar H. Gunderson [Mon, 5 Oct 2015 18:50:00 +0000 (20:50 +0200)]
Use the new Movit functionality to save a texture upload for the preview.

8 years agoFix USB buffer size.
Steinar H. Gunderson [Mon, 5 Oct 2015 17:50:29 +0000 (19:50 +0200)]
Fix USB buffer size.

8 years agoHook up the preview window to a different chain.
Steinar H. Gunderson [Mon, 5 Oct 2015 00:00:47 +0000 (02:00 +0200)]
Hook up the preview window to a different chain.

8 years agoPrepare for multiple output channels from the mixer.
Steinar H. Gunderson [Sun, 4 Oct 2015 23:44:34 +0000 (01:44 +0200)]
Prepare for multiple output channels from the mixer.

8 years agoMake the Mixer own the resource pool, as we will be getting more chains.
Steinar H. Gunderson [Sun, 4 Oct 2015 23:09:27 +0000 (01:09 +0200)]
Make the Mixer own the resource pool, as we will be getting more chains.

8 years agoClean up the surface stuff in Mixer, now that we have Qt/epoxy interop working.
Steinar H. Gunderson [Sun, 4 Oct 2015 22:52:23 +0000 (00:52 +0200)]
Clean up the surface stuff in Mixer, now that we have Qt/epoxy interop working.

8 years agoMove chroma subsampling into its own function.
Steinar H. Gunderson [Sun, 4 Oct 2015 22:47:06 +0000 (00:47 +0200)]
Move chroma subsampling into its own function.

8 years agoGet rid of the ugly allocate-a-dummy-frame trick.
Steinar H. Gunderson [Sun, 4 Oct 2015 22:42:01 +0000 (00:42 +0200)]
Get rid of the ugly allocate-a-dummy-frame trick.

8 years agoMove the allocators into CaptureCard.
Steinar H. Gunderson [Sun, 4 Oct 2015 22:33:07 +0000 (00:33 +0200)]
Move the allocators into CaptureCard.

8 years agoCleanup in Mixer.
Steinar H. Gunderson [Sun, 4 Oct 2015 22:28:34 +0000 (00:28 +0200)]
Cleanup in Mixer.

Basically put much more state in the object instead of the thread,
and also fix some Valgrind hits.

8 years agoMove all mixer stuff into a class.
Steinar H. Gunderson [Sun, 4 Oct 2015 21:52:56 +0000 (23:52 +0200)]
Move all mixer stuff into a class.

8 years agoRun IWYU (plus lots of manual fiddling).
Steinar H. Gunderson [Sun, 4 Oct 2015 20:49:25 +0000 (22:49 +0200)]
Run IWYU (plus lots of manual fiddling).

8 years agoHook up the cut button to something that is not really cut, but is more useful than...
Steinar H. Gunderson [Sun, 4 Oct 2015 17:52:26 +0000 (19:52 +0200)]
Hook up the cut button to something that is not really cut, but is more useful than nothing.

8 years agoBetter aspect ratio to begin with -- hotfix until we get to lock the aspect ratio.
Steinar H. Gunderson [Sun, 4 Oct 2015 16:21:30 +0000 (18:21 +0200)]
Better aspect ratio to begin with -- hotfix until we get to lock the aspect ratio.

8 years agoMakefile cleanups.
Steinar H. Gunderson [Sun, 4 Oct 2015 16:19:06 +0000 (18:19 +0200)]
Makefile cleanups.

8 years agoUse QGLWidget instead of QOpenGLWidget, as the latter is too slow.
Steinar H. Gunderson [Sun, 4 Oct 2015 16:06:15 +0000 (18:06 +0200)]
Use QGLWidget instead of QOpenGLWidget, as the latter is too slow.

8 years agoFix a compile error related to gl.h choices.
Steinar H. Gunderson [Sun, 4 Oct 2015 15:32:24 +0000 (17:32 +0200)]
Fix a compile error related to gl.h choices.

8 years agoFix a warning.
Steinar H. Gunderson [Sun, 4 Oct 2015 15:31:18 +0000 (17:31 +0200)]
Fix a warning.

8 years agoHook up display (via a separate RGBA texture) to the UI.
Steinar H. Gunderson [Sun, 4 Oct 2015 15:29:40 +0000 (17:29 +0200)]
Hook up display (via a separate RGBA texture) to the UI.

8 years agoFiddle a bit to get epoxy and Qt to work better together.
Steinar H. Gunderson [Sun, 4 Oct 2015 14:23:15 +0000 (16:23 +0200)]
Fiddle a bit to get epoxy and Qt to work better together.

8 years agoAdd a wrapper to make fences refcounted, as we will soon be needing to split them...
Steinar H. Gunderson [Sun, 4 Oct 2015 14:07:24 +0000 (16:07 +0200)]
Add a wrapper to make fences refcounted, as we will soon be needing to split them for several users.

8 years agoTake the Movit shader directory from pkg-config.
Steinar H. Gunderson [Sun, 4 Oct 2015 00:55:02 +0000 (02:55 +0200)]
Take the Movit shader directory from pkg-config.

8 years agoRemove some unused variables.
Steinar H. Gunderson [Sat, 3 Oct 2015 19:46:26 +0000 (21:46 +0200)]
Remove some unused variables.

8 years agoChange some names in the .ui file.
Steinar H. Gunderson [Sat, 3 Oct 2015 18:54:58 +0000 (20:54 +0200)]
Change some names in the .ui file.

8 years agoChange some sizes.
Steinar H. Gunderson [Sat, 3 Oct 2015 18:53:22 +0000 (20:53 +0200)]
Change some sizes.

8 years agoAdd a clean target.
Steinar H. Gunderson [Sat, 3 Oct 2015 18:53:11 +0000 (20:53 +0200)]
Add a clean target.

8 years agoIntroduce a rudimentary main GUI (not wired up yet).
Steinar H. Gunderson [Sat, 3 Oct 2015 14:34:36 +0000 (16:34 +0200)]
Introduce a rudimentary main GUI (not wired up yet).

8 years agoRemove some TODO.
Steinar H. Gunderson [Sat, 3 Oct 2015 10:29:43 +0000 (12:29 +0200)]
Remove some TODO.

8 years agoDo not release input frames until we are (definitely) done rendering them.
Steinar H. Gunderson [Sat, 3 Oct 2015 10:27:55 +0000 (12:27 +0200)]
Do not release input frames until we are (definitely) done rendering them.

8 years agoRemove unused stuff from the mixer.
Steinar H. Gunderson [Sat, 3 Oct 2015 10:11:10 +0000 (12:11 +0200)]
Remove unused stuff from the mixer.

8 years agoDrop the version dependent reading; always use 130.
Steinar H. Gunderson [Sat, 3 Oct 2015 10:08:58 +0000 (12:08 +0200)]
Drop the version dependent reading; always use 130.