0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
Commit Graph

6336 Commits

Author SHA1 Message Date
James Park
7d811499e0 Add "Area" scale filter
This new scale filter computes pixels by weighing the coverage area of
source pixels over the target pixel. This algorithm works well for both
upsampling and downsampling, but was mainly designed to upscale
high-quality low-resolution sources like RGB/HDMI retro consoles. I've
heard of people using odd workarounds like scaling up to very high
resolutions before scaling back down to preserve pixel shartpness. This
algorithm directly addresses this use-case in a much more direct
fashion.

The Area scale filter does a better job of preserving the thickness of
thin features than the Point filter.

The Area scale filter does not look at source pixels that lie outside
of the target pixel, leading to a much sharper image than Bilinear,
Bicubic, and Lanczos filters.

This filter should interpolate pixels in linear space, but OBS is not
equipped to do that at the moment.

libobs: Add GPU effect, and wire up scene serialization.

obs-filters: Add Area as an option for scale_filter.

UI: Add Area as an option for both scene items, and canvas downscaling.
2019-03-06 20:53:15 -08:00
Colin Edwards
eadeaeb3e6
Merge pull request #1710 from WizardCM/fix-settings-tab-order
UI: Update tab stop order in Settings
2019-03-03 11:41:52 -06:00
jp9000
2f3cb1804e libobs-d3d11: Reset handle and re-lock if texture rebuilt
If a texture has to be rebuilt due to a driver reset and is a keyed
mutex shared texture, make sure to reacquire the shared handle and
acquire the lock.
2019-03-03 08:43:06 -08:00
jp9000
8f3ea18276 libobs-d3d11: Use discrete function to get shared handle
Allows us to reacquire the shared handle if the texture is rebuilt.
2019-03-03 08:41:23 -08:00
jp9000
492f50ee87 libobs-d3d11: Set acquired bool when texture acquired
This is used when the device needs to be rebuilt.  Ensures that the
texture doesn't get locked again if the texture is rebuilt.
2019-03-03 08:39:47 -08:00
jp9000
a2201d5898 obs-ffmpeg: Always output SEI 2019-03-03 07:07:34 -08:00
jp9000
b8c78a340d obs-ffmpeg: Fix SEI data output
SEI was using the wrong variable for its size.
2019-03-03 07:07:34 -08:00
Jim
e1ebf1c610
Merge pull request #1711 from VodBox/mem-leak-fix
frontend-tools: Fix memory leak when reloading scripts
2019-03-03 04:10:08 -08:00
VodBox
9968772028 frontend-tools: Fix memory leak when reloading scripts 2019-03-03 21:45:37 +13:00
Colin Edwards
827919e9ca
Merge pull request #1696 from DDRBoxman/bmsdk
decklink: Update SDK to 10.11.4
2019-03-02 23:32:28 -06:00
derrod
89fbc5449e UI: Show video container warning when selecting MOV
MOV and MP4 are closely related and the warning message applies to both
of these container formats.

Closes #1683
2019-03-02 23:28:50 -06:00
Matt Gajownik
f429fb971b UI: Update tab stop order in Settings 2019-03-03 10:50:54 +11:00
Colin Edwards
0f8c405e15
Merge pull request #1692 from pkviet/audiodisabled
UI: Fix locale for 'disabled' devices in audio settings
2019-03-01 12:57:50 -06:00
Colin Edwards
9340f9874d
Merge pull request #1680 from DDRBoxman/azure
CI: macOS builds on Azure Pipelines
2019-03-01 11:36:59 -06:00
Colin Edwards
a09ad610af CI: macOS builds on Azure Pipelines 2019-03-01 11:36:22 -06:00
Colin Edwards
1e0cb89db1
Merge pull request #1705 from DDRBoxman/qsvcrash
obs-qsv11: Fix crash on destructor after init failure
2019-02-28 20:14:16 -06:00
Colin Edwards
4f6d167951 obs-qsv11: Fix crash on destructor after init failure 2019-02-28 20:11:21 -06:00
Jim
709aac5188
Merge pull request #1704 from DDRBoxman/qsvcrash
obs-qsv11: Don't try to free non allocated array on destruction
2019-02-28 18:07:23 -08:00
Colin Edwards
d8f254550f obs-qsv11: Don't try to free non allocated array on destruction 2019-02-28 17:56:12 -06:00
jp9000
748067c930 obs-ffmpeg: Fix NVENC blacklisted card check
Apparently, the parameters were the wrong way, making the test always
fail to detect a blacklisted adapter.
2019-02-28 06:34:13 -08:00
Colin Edwards
39c9bc6823 decklink: Update SDK to 10.11.4 2019-02-26 19:30:11 -06:00
jp9000
f2d7f5b2e7 obs-browser: Fix widgets being initially blank on high-DPI 2019-02-26 13:51:11 -08:00
jp9000
15b8ebb5e6 libobs: Update version to 23.0.1 2019-02-26 12:16:06 -08:00
jp9000
cea0a1e73a libobs-d3d11: Disable NV12 textures if NVENC unavailable
On NVIDIA devices, disable NV12 textures if NVENC unavailable just as a
safety precaution.
2019-02-26 12:09:00 -08:00
jp9000
340b8ec38e UI: Don't show "What's New" for new users 2019-02-26 12:00:27 -08:00
jp9000
587de2139d UI: Don't delete auto-remux file (just in case) 2019-02-26 11:29:00 -08:00
jp9000
ccd801b03e libobs-d3d11: Blacklist certain adapters from NV12
Some older adapters apparently can't handle NV12 properly.  Wonderful.
2019-02-26 08:37:55 -08:00
jp9000
6bf39f763d UI: Do not allow post-GPU rescaling on gpu encoders 2019-02-26 08:03:49 -08:00
jp9000
17e85f04fd libobs: Add func to get encoder caps by encoder pointer 2019-02-26 08:02:57 -08:00
jp9000
dccf686150 obs-ffmpeg: Fix bitrate being set on NVENC CQP/lossless 2019-02-26 07:43:38 -08:00
jp9000
ca6561758c UI: Fix Mixer allowing endless login retries 2019-02-26 07:24:22 -08:00
jp9000
1c4a6ca6c6 UI: Make workaround for Logitech plugin hard lock
In commit d17ee20863, we attempted to fix a race condition crash in the
Logitech plugin by deferring the "stream/recording/replay buffer active"
calls to the UI thread.  However, the Logitech plugin loop_function
funciton can call obs_frontend_streaming_active/etc functions while the
UI thread waits for the loop_function thread for many OBS events,
causing a hard lock in the Logitech plugin.  This fixes that by making
the obs_frontend_streaming_active/etc functions completely atomic
instead.  It's a bit of a hack but it's better than accessing objects.
2019-02-26 06:37:01 -08:00
jp9000
484c3847fc UI: Check CEF available when loading auth 2019-02-25 23:45:27 -08:00
jp9000
28860411dd libobs-d3d11: Improve check for NV12 texture support
Checks to make sure that DXGI_FORMAT_NV12 is actually supported by the
GPU.
2019-02-25 23:02:54 -08:00
pkv
f1cd604b62 UI: Fix locale for 'disabled' devices in audio settings 2019-02-25 23:06:10 +01:00
jp9000
8181f77609 UI: Rename a bunch of bad file names 2019-02-25 12:19:22 -08:00
jp9000
b1dfc9ccda image-source: Change max loaded slideshow images to 21
Just gives a bit more breathing room before images start having to load.
2019-02-25 08:21:28 -08:00
jp9000
5dca0fde5b enc-amf: Update translations 2019-02-25 08:07:08 -08:00
jp9000
a87afeb69b obs-ffmpeg: Add more blacklisted NVENC adapters 2019-02-25 08:05:38 -08:00
Gol-D-Ace
98f78fe3a7 Update translations from Crowdin 2019-02-25 15:11:33 +01:00
Jim
59b0b6fdbd
Merge pull request #1689 from cg2121/fix-replaybuffer-check-state
UI: Fix replay buffer checked state when no hotkey is set
2019-02-25 05:47:39 -08:00
Clayton Groeneveld
178fb21593 UI: Fix replay buffer checked state when no hotkey is set 2019-02-25 07:07:22 -06:00
Gol-D-Ace
d5e7ba511d UI: Refine strings for About dialog 2019-02-25 00:28:08 +01:00
Gol-D-Ace
ec42739ad5 Update translations from Crowdin 2019-02-24 23:26:47 +01:00
jp9000
e5fc045402 UI: Force Twitch moderation tools to system browser
In the Twitch chat dock window, the "Moderation Tools" link in the chat
settings should not navigate the window to the new URL; it should pop up
the URL in the user's system browser instead.
2019-02-24 01:02:06 -08:00
Richard Stanway
61e3a9084b
Merge pull request #1681 from Lordmau5/master
UI: Fix wrong filename building for Remux dialog
2019-02-24 01:44:43 +01:00
Lordmau5
af4c3ad030 UI: Fix wrong filename building for Remux dialog 2019-02-24 01:24:16 +01:00
jp9000
ef270c8ba0 obs-ffmpeg: Free NVENC textures after sending EOS
Prevents a crash when using the new lookahead feature, presumably
because those textures are in use when the EOS is sent.
2019-02-21 03:12:12 -08:00
jp9000
88247dae36 libobs: Update version to 23.0.0 2019-02-20 22:16:45 -08:00
jp9000
6e533d9a8a obs-browser, obs-vst: Update translations 2019-02-20 19:57:41 -08:00