]>
git.sesse.net Git - nageru/log
Steinar H. Gunderson [Tue, 12 Jan 2016 23:27:05 +0000 (00:27 +0100)]
Add a class for measuring L/R correlation (not used yet).
Steinar H. Gunderson [Tue, 12 Jan 2016 20:22:07 +0000 (21:22 +0100)]
Make the license blurb read-only.
Steinar H. Gunderson [Tue, 12 Jan 2016 20:20:24 +0000 (21:20 +0100)]
Hook up the OK button in the about dialog.
Steinar H. Gunderson [Tue, 12 Jan 2016 20:13:11 +0000 (21:13 +0100)]
Add a version number and such to the about dialog.
Steinar H. Gunderson [Tue, 12 Jan 2016 20:08:09 +0000 (21:08 +0100)]
Add an about dialog with licenses, as per GPLv3 requirements.
Steinar H. Gunderson [Tue, 12 Jan 2016 00:51:19 +0000 (01:51 +0100)]
Add some useful (pending) upstream patches that have not gone in yet.
Steinar H. Gunderson [Tue, 12 Jan 2016 00:40:25 +0000 (01:40 +0100)]
Give frel=1.0 to peak resampler; supposedly faster according to zita-resampler upstream.
Steinar H. Gunderson [Tue, 12 Jan 2016 00:00:58 +0000 (01:00 +0100)]
Add a final makeup gain, trying to set the level straight at +0 LU (more or less; we cannot fully replicate the gating).
Steinar H. Gunderson [Mon, 11 Jan 2016 22:54:28 +0000 (23:54 +0100)]
Make it possible to override the level compressor with the gain staging knob.
Steinar H. Gunderson [Mon, 11 Jan 2016 20:45:34 +0000 (21:45 +0100)]
Hook up the level compressor auto checkbox.
Steinar H. Gunderson [Mon, 11 Jan 2016 20:38:39 +0000 (21:38 +0100)]
Remove redundant constant declaration.
Steinar H. Gunderson [Mon, 11 Jan 2016 20:29:25 +0000 (21:29 +0100)]
Tweak the transition button UI some more.
Steinar H. Gunderson [Mon, 11 Jan 2016 20:29:17 +0000 (21:29 +0100)]
Improve GPLv3 compliance.
Steinar H. Gunderson [Mon, 11 Jan 2016 20:22:24 +0000 (21:22 +0100)]
Switch static image.
This is a bit less blotchy/contrasty, which makes it more comfortable
to fade to/from. A cropped version of
https://pixabay.com/no/bakgrunn-kurset-abstrakt-m%C3%B8nster-728537/
which is CC0 / public domain licensed, and as such fits nicely into
our GPLv3 distribution.
Steinar H. Gunderson [Sun, 10 Jan 2016 20:24:01 +0000 (21:24 +0100)]
Add keyboard shortcuts for the menu entries.
Steinar H. Gunderson [Sun, 10 Jan 2016 19:57:12 +0000 (20:57 +0100)]
Hook up the exit menu item.
Steinar H. Gunderson [Sun, 10 Jan 2016 19:57:04 +0000 (20:57 +0100)]
Add a menu item to start a new video segment (cut/cue, except that would be a confusing name).
Steinar H. Gunderson [Sun, 10 Jan 2016 19:52:52 +0000 (20:52 +0100)]
Make the transition buttons larger.
Steinar H. Gunderson [Sun, 10 Jan 2016 19:47:55 +0000 (20:47 +0100)]
Better error messages on avio_open2 failure.
Steinar H. Gunderson [Sun, 10 Jan 2016 13:20:42 +0000 (14:20 +0100)]
Remove a no-longer-correct comment.
Steinar H. Gunderson [Sun, 10 Jan 2016 13:02:40 +0000 (14:02 +0100)]
Make a separate shutdown from the destructor for the H.264 encoder.
Steinar H. Gunderson [Sun, 10 Jan 2016 11:12:14 +0000 (12:12 +0100)]
Remove some more std::.
Steinar H. Gunderson [Sun, 10 Jan 2016 01:38:34 +0000 (02:38 +0100)]
Fix a syntax error in the theme.
Steinar H. Gunderson [Sun, 10 Jan 2016 01:35:51 +0000 (02:35 +0100)]
Do sorting using STL instead of home-grown macro magic.
Steinar H. Gunderson [Sun, 10 Jan 2016 00:18:59 +0000 (01:18 +0100)]
Remove some commented-out code.
Steinar H. Gunderson [Sun, 10 Jan 2016 00:15:39 +0000 (01:15 +0100)]
Deglobalify the rest of H264Encoder(Impl), so we can have multiple ones going.
Steinar H. Gunderson [Sat, 9 Jan 2016 23:59:41 +0000 (00:59 +0100)]
Move H264Encoder into an impl, to avoid header conflicts with Qt.
Steinar H. Gunderson [Fri, 8 Jan 2016 00:23:35 +0000 (01:23 +0100)]
If we have waiting B-frames at the end of the encode, encode them as such.
Steinar H. Gunderson [Thu, 7 Jan 2016 23:41:07 +0000 (00:41 +0100)]
More H.264 shutdown fixes.
Steinar H. Gunderson [Thu, 7 Jan 2016 23:00:34 +0000 (00:00 +0100)]
Rename copy_thread to encode_thread.
Steinar H. Gunderson [Thu, 7 Jan 2016 22:28:56 +0000 (23:28 +0100)]
Make sure no frames are lost in storage on shutdown.
Steinar H. Gunderson [Thu, 7 Jan 2016 21:54:29 +0000 (22:54 +0100)]
Remove a useless int return.
Steinar H. Gunderson [Thu, 7 Jan 2016 21:51:04 +0000 (22:51 +0100)]
Make current_IDR_display non-global.
Steinar H. Gunderson [Thu, 7 Jan 2016 21:49:58 +0000 (22:49 +0100)]
Make current_frame_display non-global.
Steinar H. Gunderson [Thu, 7 Jan 2016 21:44:02 +0000 (22:44 +0100)]
Make current_frame_type non-global.
Steinar H. Gunderson [Thu, 7 Jan 2016 21:17:28 +0000 (22:17 +0100)]
Make current_frame_encoding non-global.
Steinar H. Gunderson [Thu, 7 Jan 2016 21:08:22 +0000 (22:08 +0100)]
Small refactoring in H264Encoder::copy_thread_func().
Steinar H. Gunderson [Wed, 6 Jan 2016 22:23:01 +0000 (23:23 +0100)]
Remove more std:: instances.
Steinar H. Gunderson [Tue, 5 Jan 2016 23:26:52 +0000 (00:26 +0100)]
Clean up resources in the global ResourcePool on exit, in order to avoid some assert failures.
Steinar H. Gunderson [Sat, 2 Jan 2016 11:28:48 +0000 (12:28 +0100)]
Fix an issue where we could get remap warnings and add random scales for fading to the static picture.
Steinar H. Gunderson [Sat, 2 Jan 2016 00:27:04 +0000 (01:27 +0100)]
Do value massaging for interlaced signals right at the start of the theme.
Steinar H. Gunderson [Thu, 31 Dec 2015 16:52:14 +0000 (17:52 +0100)]
Only load images once; add a cache.
Steinar H. Gunderson [Wed, 30 Dec 2015 13:23:50 +0000 (14:23 +0100)]
Make side-by-side handle other inputs than 1280x720.
Steinar H. Gunderson [Wed, 30 Dec 2015 13:16:46 +0000 (14:16 +0100)]
Update bmusb.
Steinar H. Gunderson [Wed, 30 Dec 2015 13:15:30 +0000 (14:15 +0100)]
Also show the frame rate.
Steinar H. Gunderson [Wed, 30 Dec 2015 13:08:28 +0000 (14:08 +0100)]
Ease debugging of new video modes a bit.
Steinar H. Gunderson [Wed, 30 Dec 2015 12:48:10 +0000 (13:48 +0100)]
Show the current resolution next to the inputs.
Steinar H. Gunderson [Wed, 30 Dec 2015 00:34:08 +0000 (01:34 +0100)]
Fix a typo.
Steinar H. Gunderson [Thu, 24 Dec 2015 22:29:58 +0000 (23:29 +0100)]
Do not compile the non-HQ fade chains, since we do not need them; speeds up startup a lot.
Steinar H. Gunderson [Thu, 24 Dec 2015 12:51:38 +0000 (13:51 +0100)]
Use the shared resource pool everywhere.
Steinar H. Gunderson [Thu, 24 Dec 2015 12:36:49 +0000 (13:36 +0100)]
Add rescaling variants to all the chains in the theme.
Steinar H. Gunderson [Thu, 24 Dec 2015 00:43:42 +0000 (01:43 +0100)]
Make a Lua function for enumerating the cartesian products of parameters, instead of nesting the for loops ourselves.
Steinar H. Gunderson [Thu, 24 Dec 2015 00:05:32 +0000 (01:05 +0100)]
Refactor the fade chain generation a bit.
Steinar H. Gunderson [Wed, 23 Dec 2015 23:52:42 +0000 (00:52 +0100)]
Refactor the SBS chain generation a bit.
Steinar H. Gunderson [Wed, 23 Dec 2015 13:35:58 +0000 (14:35 +0100)]
Transparently send signals through a deinterlacer as needed.
Steinar H. Gunderson [Wed, 23 Dec 2015 12:36:22 +0000 (13:36 +0100)]
Shorten white_balance_effect in the Lua code.
Steinar H. Gunderson [Wed, 23 Dec 2015 12:18:00 +0000 (13:18 +0100)]
Make a metadata-only version of InputState to be sent to Lua, in order to not be stuck in the GC.
Steinar H. Gunderson [Wed, 23 Dec 2015 11:40:38 +0000 (12:40 +0100)]
Do signal mapping in get_width/get_height.
Steinar H. Gunderson [Wed, 23 Dec 2015 11:07:38 +0000 (12:07 +0100)]
Unify video-to-video and video-to-picture fade chains.
Steinar H. Gunderson [Wed, 23 Dec 2015 01:14:32 +0000 (02:14 +0100)]
Redo get_width/get_height to not work on a LiveInputWrapper, since we do not really know which one to use before we have selected the chain (at which point it really is too late).
Steinar H. Gunderson [Wed, 23 Dec 2015 01:13:08 +0000 (02:13 +0100)]
Add some maybe-helpful comments.
Steinar H. Gunderson [Tue, 22 Dec 2015 19:17:22 +0000 (20:17 +0100)]
Expose width and height information to Lua during get_chain().
Useful for choosing e.g. between chains that contain scalers versus not,
and then later also deinterlacers.
Steinar H. Gunderson [Tue, 22 Dec 2015 00:09:54 +0000 (01:09 +0100)]
Remove unused member.
Steinar H. Gunderson [Tue, 22 Dec 2015 00:08:27 +0000 (01:08 +0100)]
Small helpful comment.
Steinar H. Gunderson [Tue, 22 Dec 2015 00:03:47 +0000 (01:03 +0100)]
Some comment fixes about frame history.
Steinar H. Gunderson [Tue, 22 Dec 2015 00:00:21 +0000 (01:00 +0100)]
Whitespace fix.
Steinar H. Gunderson [Mon, 21 Dec 2015 23:58:38 +0000 (00:58 +0100)]
Change history length to 5, as Movit ends up using YADIF and not w3fdif.
Steinar H. Gunderson [Mon, 21 Dec 2015 00:32:06 +0000 (01:32 +0100)]
Update the commented-out phase timing code for some renamed variables.
Steinar H. Gunderson [Tue, 15 Dec 2015 23:31:40 +0000 (00:31 +0100)]
Switch to memory barriers, now that Mesa 11.1 has them (ATI always had problems with flushing).
Steinar H. Gunderson [Sun, 13 Dec 2015 20:39:54 +0000 (21:39 +0100)]
Deal with a Movit change.
Steinar H. Gunderson [Mon, 23 Nov 2015 00:44:27 +0000 (01:44 +0100)]
Redo frame buffering again.
This partially reverts
86f32b5a in that it removes the exact counting;
however, the system wasn't safe at all (threading, for instance, but
more generally, that the entire state could change between display and
get chain). Put all the state within the chain setup instead.
Steinar H. Gunderson [Sun, 22 Nov 2015 22:50:44 +0000 (23:50 +0100)]
Remove another unused member variable.
Steinar H. Gunderson [Sun, 22 Nov 2015 22:47:10 +0000 (23:47 +0100)]
Remove an unused member variable.
Steinar H. Gunderson [Sun, 22 Nov 2015 22:39:36 +0000 (23:39 +0100)]
Fix a race on the r128 object.
Steinar H. Gunderson [Sun, 22 Nov 2015 22:34:24 +0000 (23:34 +0100)]
Fix another uninitialized sound data issue.
Steinar H. Gunderson [Sun, 22 Nov 2015 22:18:23 +0000 (23:18 +0100)]
Fix a small memory leak in GLWidget.
Steinar H. Gunderson [Sun, 22 Nov 2015 22:08:38 +0000 (23:08 +0100)]
Fix an off-by-two that could lead to undefined samples in the buffer in panic situations.
Steinar H. Gunderson [Sun, 22 Nov 2015 21:42:42 +0000 (22:42 +0100)]
A small #include fix.
Steinar H. Gunderson [Sun, 22 Nov 2015 21:42:35 +0000 (22:42 +0100)]
Send on the interlaced flag properly.
Steinar H. Gunderson [Sun, 22 Nov 2015 20:25:24 +0000 (21:25 +0100)]
Remove an unused variable.
Steinar H. Gunderson [Sun, 22 Nov 2015 20:20:56 +0000 (21:20 +0100)]
Rework signal connection in preparations for deinterlacing.
Several improvements:
- Hold three fields in history instead of one.
- Make input_frames exact; no more chains holding on to input frames
that they do not actually use for anything (so they can be released
sooner).
- Much less roundabout code to give the textures to the input;
the LiveInputWrapper will now simply fetch them from the mixer itself.
Steinar H. Gunderson [Sun, 22 Nov 2015 00:16:33 +0000 (01:16 +0100)]
Update bmusb.
Steinar H. Gunderson [Sat, 21 Nov 2015 23:52:32 +0000 (00:52 +0100)]
Split interlaced frames into two fields that are sent along separately to the mixer. Still no proper deinterlacing, but at least 1080i inputs do not look completely garbled.
Steinar H. Gunderson [Sat, 21 Nov 2015 21:17:59 +0000 (22:17 +0100)]
Unify the texture upload paths a bit.
Steinar H. Gunderson [Sat, 21 Nov 2015 20:51:35 +0000 (21:51 +0100)]
Open up for inputs that are different from the native resolution. No deinterlacing or proper scaling yet, though.
Steinar H. Gunderson [Wed, 18 Nov 2015 00:08:51 +0000 (01:08 +0100)]
Reduce the verbosity somewhat.
Steinar H. Gunderson [Tue, 17 Nov 2015 20:51:26 +0000 (21:51 +0100)]
Fix y_offset calculation if we should change the PBO size.
Steinar H. Gunderson [Tue, 17 Nov 2015 20:16:30 +0000 (21:16 +0100)]
Adapt to the new decode_video_format() prototype.
Steinar H. Gunderson [Tue, 17 Nov 2015 19:08:11 +0000 (20:08 +0100)]
Some restructuring in the offsets to make it less cryptic.
Steinar H. Gunderson [Tue, 17 Nov 2015 18:53:55 +0000 (19:53 +0100)]
Fix a hard-coded offset constant.
Steinar H. Gunderson [Tue, 17 Nov 2015 18:37:37 +0000 (19:37 +0100)]
If we reset the resampling queue, do not try to add audio from the section we skipped over; things will go horribly out of sync.
Steinar H. Gunderson [Tue, 17 Nov 2015 18:30:12 +0000 (19:30 +0100)]
Add a paranoia assert.
Steinar H. Gunderson [Tue, 17 Nov 2015 18:27:13 +0000 (19:27 +0100)]
Rework silence handling a bit; in particular, if num_samples == 0, add silence.
Steinar H. Gunderson [Tue, 17 Nov 2015 18:22:14 +0000 (19:22 +0100)]
Better diagnostics when the time code is changing.
Steinar H. Gunderson [Tue, 17 Nov 2015 01:06:49 +0000 (02:06 +0100)]
Fix a crash bug when avcodec_fill_audio_frame() decided we needed more alignment.
Steinar H. Gunderson [Mon, 16 Nov 2015 23:59:56 +0000 (00:59 +0100)]
Use the new decode_video_format() function from bmusb.
Steinar H. Gunderson [Mon, 16 Nov 2015 21:48:31 +0000 (22:48 +0100)]
Rename a local variable for clarity.
Steinar H. Gunderson [Mon, 16 Nov 2015 21:47:08 +0000 (22:47 +0100)]
Make the implausible audio length check work with lower frame rates.
Steinar H. Gunderson [Mon, 16 Nov 2015 21:46:45 +0000 (22:46 +0100)]
Add an extra byte of headroom to the buffer so that overlong frames are not treated as correct ones.
Steinar H. Gunderson [Mon, 16 Nov 2015 20:39:54 +0000 (21:39 +0100)]
Support true variable input frame rate instead of hard-coding to 60.