Commit graph

1217 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
44b961f54a util: Add is_close function 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
b46775a920 plugin: If CUDA is requested, ensure it is loaded first 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
23ccec8b62 nvidia/cuda/obs: Release stream before context 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
6b2c7869ff nvidia/cuda/context: Don't try to destroy device contexts 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
69d0aa9746 nvidia/cuda/context: Log the current device name, UUId und LUId 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
90194ade6f nvidia/cuda: Add functions to get device name, UUId and LUId 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
33d771d479 util/library: Convert paths to native format 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
66999a55ff util/platform: Add Path and String conversion utility functions 2021-06-17 13:48:29 +02:00
Michael Fabian 'Xaymar' Dirks
cdb2f51ab6 filter/nv-face-tracking: Adjust to match coding guidelines 2021-06-16 13:34:47 +02:00
Michael Fabian 'Xaymar' Dirks
2ef2425a02 nvidia/ar: Adjust to match coding guidelines 2021-06-16 13:34:47 +02:00
Michael Fabian 'Xaymar' Dirks
ebbe5e92a8 nvidia/cuda: Adjust to match coding guidelines 2021-06-16 13:34:47 +02:00
Xaymar
a897bd0252 ci: Add CodeQL analysis 2021-06-15 23:50:22 +02:00
Michael Fabian 'Xaymar' Dirks
58c8d20f01 examples: Add 'Colorize' Filter Shader 2021-06-15 21:44:23 +02:00
Michael Fabian 'Xaymar' Dirks
9314a6a94e examples: Add 'Vignette' Filter Shader 2021-06-15 21:44:23 +02:00
Michael Fabian 'Xaymar' Dirks
df53b96ef3 examples: Add 'Repeat' Filter Shader 2021-06-15 21:44:23 +02:00
Michael Fabian 'Xaymar' Dirks
5f4f6f8f19 examples: Add 'Posterize' Filter Shader 2021-06-15 21:44:23 +02:00
Michael Fabian 'Xaymar' Dirks
c9687d482d examples: Add 'Spin Blur' Transition Shader 2021-06-15 21:44:23 +02:00
Michael Fabian 'Xaymar' Dirks
a919e29692 examples: Add 'Gaussian Blur' Filter Shader 2021-06-15 21:44:23 +02:00
Michael Fabian 'Xaymar' Dirks
0db11b97b5 project: Fix pull request template 2021-06-15 21:27:19 +02:00
Xaymar
3190acfd18
locale: New Crowdin updates (#575) 2021-06-15 21:11:18 +02:00
Michael Fabian 'Xaymar' Dirks
e5b2667f9b gfx/blur: Fix type mismatch in OpenGL shaders 2021-06-15 21:10:45 +02:00
Michael Fabian 'Xaymar' Dirks
7b412825ce project: More template improvements 2021-06-15 20:55:19 +02:00
Michael Fabian 'Xaymar' Dirks
e3c8aa01f9 project: Improve issue and pr templates 2021-06-15 20:18:20 +02:00
Michael Fabian 'Xaymar' Dirks
a6da3f447b project: Version 0.11.0a1 2021-06-09 03:56:37 +02:00
Xaymar
5071dc0798
locale: New Crowdin updates (#558) 2021-06-09 03:46:52 +02:00
Michael Fabian 'Xaymar' Dirks
7c262ed38b gfx/blur/dual-filtering: Clean up code
Cleans up the code slightly, without affecting actual functionality
2021-06-09 03:46:14 +02:00
Michael Fabian 'Xaymar' Dirks
8971bad218 gfx/blur/gaussian: Fix Gaussian Kernel generation
While the previous method worked, it matches no other implementation including a reference implementation. The new implementation almost perfectly matches the reference implementation and uses oversampling to achieve the goal. This has the downside of limiting the blur size to just 64, but it is necessary in order to achieve correct results.

Fixes #573
2021-06-09 03:46:14 +02:00
Michael Fabian 'Xaymar' Dirks
d6a8385ab5 util: Add Pascal Triangle and integer power 2021-06-09 03:46:14 +02:00
Michael Fabian 'Xaymar' Dirks
edd1162a48 gfx/blur: Reduce code duplication with shared file
A lot of the blur effects share quite a bit of code, which can be offloaded into a single include.
2021-06-09 03:46:14 +02:00
Michael Fabian 'Xaymar' Dirks
f6b662ff21 filter/blur: Don't pass bool as TEXCOORD1
Using a 'bool' as TEXCOORD1 is undefined behavior, so we should not abuse the intermediate shading storage like this.

Fixes #559
2021-06-08 06:02:01 +02:00
Michael Fabian 'Xaymar' Dirks
ddb0007b91 gfx/shader: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
e8f333e42d filter/blur: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
da0e8b3377 filter/displacement: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
36847a1fd4 filter/dynamic-mask: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
3e2af7ee9a filter/sdf-effects: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
b0bcad906c filter/shader: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
90f0593eb1 filters/transform: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
f9c5907c10 gfx: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
f7d8758465 nvidia/cuda: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
bf91ed7ba7 obs/gs: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
33ef4b0d68 obs: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
5ae479fecd source/mirror: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
39a972139c source/shader: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
c71e8fe9d4 transition/shader: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
cf30768e7e util: Remove unused legacy function 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
a54f1a144b util: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
7065691e7b project: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
708dd58745 ffmpeg: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
6ab48b8f6d encoders/codecs: Apply coding guidelines 2021-06-08 05:44:22 +02:00
Michael Fabian 'Xaymar' Dirks
06bf44880b encoders/handlers/amf: Apply coding guidelines 2021-06-08 05:44:22 +02:00