Commit graph

1429 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
4b36c91fe8 plugin: Don't leak CUDA load exceptions 2023-04-05 18:51:12 +02:00
Carlos Baraza
d166a26d4c examples: Add rounded-rect Shader
Adapted from (https://github.com/Oncorporation/obs-shaderfilter/blob/master/data/examples/rounded_rect.shader) by @carlosbaraza.
2023-04-05 18:51:11 +02:00
Michael Fabian 'Xaymar' Dirks
2c4e001751 nvidia/vfx/superresolution: Use resize instead of reallocate 2023-04-05 18:51:11 +02:00
Michael Fabian 'Xaymar' Dirks
cfc463ec0d nvidia/cv/image: Store alignment for later use 2023-04-05 18:51:11 +02:00
Michael Fabian 'Xaymar' Dirks
faf85138fe nvidia/cv: NvCVImage_Dealloc returns void 2023-04-05 18:51:11 +02:00
Michael Fabian 'Xaymar' Dirks
3dd65e8815 cmake: Check for provider instead of feature 2023-04-05 18:51:10 +02:00
Xaymar
32ce289148 locale: New Crowdin updates (#590) 2023-04-05 18:51:10 +02:00
Michael Fabian 'Xaymar' Dirks
da339e6e26 project: Version 0.11.0a2 2023-04-05 18:51:09 +02:00
Michael Fabian 'Xaymar' Dirks
673f406539 ci: Don't run CodeQL on translation changes 2023-04-05 18:51:09 +02:00
Michael Fabian 'Xaymar' Dirks
bb03864664 filter/video-superresolution: Add Video Super-Resolution filter 2023-04-05 18:51:09 +02:00
Michael Fabian 'Xaymar' Dirks
cb88682f7c nvidia/vfx/superresolution: Add wrapper for Super-Resolution effect 2023-04-05 18:51:09 +02:00
Michael Fabian 'Xaymar' Dirks
02c6156f2e nvidia/vfx: Add wrapper for NVIDIA Video Effects SDK 2023-04-05 18:51:09 +02:00
Michael Fabian 'Xaymar' Dirks
04c3b88d5d nvidia/cv/texture: Wrapper for gs::texture Images 2023-04-05 18:51:08 +02:00
Michael Fabian 'Xaymar' Dirks
8784c91ec6 nvidia/cv/image: Wrapper for Images 2023-04-05 18:51:08 +02:00
Michael Fabian 'Xaymar' Dirks
84a7685d7b nvidia/cv: Add NVIDIA Computer Vision wrapper 2023-04-05 18:51:08 +02:00
Michael Fabian 'Xaymar' Dirks
4f9f3bb145 third-party: Add NVIDIA Maxine Video Effects SDK 2023-04-05 18:51:08 +02:00
Michael Fabian 'Xaymar' Dirks
7a94007283 nvidia/cuda: Don't be so extremely spammy 2023-04-05 18:51:08 +02:00
Michael Fabian 'Xaymar' Dirks
6fc18faab0 util/profiler: Adjust to match coding guidelines 2023-04-05 18:51:08 +02:00
Michael Fabian 'Xaymar' Dirks
61c143a0c8 util: Add is_close function 2023-04-05 18:51:07 +02:00
Michael Fabian 'Xaymar' Dirks
5279993f4b plugin: If CUDA is requested, ensure it is loaded first 2023-04-05 18:51:07 +02:00
Michael Fabian 'Xaymar' Dirks
0f92a4b499 nvidia/cuda/obs: Release stream before context 2023-04-05 18:51:07 +02:00
Michael Fabian 'Xaymar' Dirks
0f56f822c3 nvidia/cuda/context: Don't try to destroy device contexts 2023-04-05 18:51:07 +02:00
Michael Fabian 'Xaymar' Dirks
6ba51efceb nvidia/cuda/context: Log the current device name, UUId und LUId 2023-04-05 18:51:07 +02:00
Michael Fabian 'Xaymar' Dirks
1a5dad8d97 nvidia/cuda: Add functions to get device name, UUId and LUId 2023-04-05 18:51:07 +02:00
Michael Fabian 'Xaymar' Dirks
b4c7d5f91c util/library: Convert paths to native format 2023-04-05 18:51:06 +02:00
Michael Fabian 'Xaymar' Dirks
57f15b64f7 util/platform: Add Path and String conversion utility functions 2023-04-05 18:51:06 +02:00
Michael Fabian 'Xaymar' Dirks
8d7f2ffec7 filter/nv-face-tracking: Adjust to match coding guidelines 2023-04-05 18:51:05 +02:00
Michael Fabian 'Xaymar' Dirks
7f5916dd72 nvidia/ar: Adjust to match coding guidelines 2023-04-05 18:51:05 +02:00
Michael Fabian 'Xaymar' Dirks
cd8abac142 nvidia/cuda: Adjust to match coding guidelines 2023-04-05 18:51:05 +02:00
Xaymar
a52fe1a7e7 ci: Add CodeQL analysis 2023-04-05 18:51:04 +02:00
Michael Fabian 'Xaymar' Dirks
9563754bfb examples: Add 'Colorize' Filter Shader 2023-04-05 18:51:04 +02:00
Michael Fabian 'Xaymar' Dirks
85cd74a0a2 examples: Add 'Vignette' Filter Shader 2023-04-05 18:51:04 +02:00
Michael Fabian 'Xaymar' Dirks
e0f896c02a examples: Add 'Repeat' Filter Shader 2023-04-05 18:51:04 +02:00
Michael Fabian 'Xaymar' Dirks
9f2035cb20 examples: Add 'Posterize' Filter Shader 2023-04-05 18:51:04 +02:00
Michael Fabian 'Xaymar' Dirks
a7b9e3d28f examples: Add 'Spin Blur' Transition Shader 2023-04-05 18:51:03 +02:00
Michael Fabian 'Xaymar' Dirks
2b62d9a587 examples: Add 'Gaussian Blur' Filter Shader 2023-04-05 18:51:03 +02:00
Michael Fabian 'Xaymar' Dirks
6d9e729dd9 project: Fix pull request template 2023-04-05 18:51:03 +02:00
Xaymar
5d53246c1a locale: New Crowdin updates (#575) 2023-04-05 18:51:03 +02:00
Michael Fabian 'Xaymar' Dirks
a517514d37 gfx/blur: Fix type mismatch in OpenGL shaders 2023-04-05 18:51:03 +02:00
Michael Fabian 'Xaymar' Dirks
9daee80594 project: More template improvements 2023-04-05 18:51:02 +02:00
Michael Fabian 'Xaymar' Dirks
6969079e9c project: Improve issue and pr templates 2023-04-05 18:51:02 +02:00
Michael Fabian 'Xaymar' Dirks
8eef6ddd85 project: Version 0.11.0a1 2023-04-05 18:51:02 +02:00
Xaymar
c25231fcb3 locale: New Crowdin updates (#558) 2023-04-05 18:51:02 +02:00
Michael Fabian 'Xaymar' Dirks
733b325f98 gfx/blur/dual-filtering: Clean up code
Cleans up the code slightly, without affecting actual functionality
2023-04-05 18:51:02 +02:00
Michael Fabian 'Xaymar' Dirks
011bee032a 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
2023-04-05 18:51:01 +02:00
Michael Fabian 'Xaymar' Dirks
8a10ca93e5 util: Add Pascal Triangle and integer power 2023-04-05 18:51:01 +02:00
Michael Fabian 'Xaymar' Dirks
5d4f88e614 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.
2023-04-05 18:51:01 +02:00
Michael Fabian 'Xaymar' Dirks
1fcd141f10 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
2023-04-05 18:51:01 +02:00
Michael Fabian 'Xaymar' Dirks
cda430ccad gfx/shader: Apply coding guidelines 2023-04-05 18:51:01 +02:00
Michael Fabian 'Xaymar' Dirks
66ecc90988 filter/blur: Apply coding guidelines 2023-04-05 18:51:00 +02:00