Commit graph

803 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
05363706ca nvidia/vfx/superresolution: Round to nearest instead of truncate
Slightly improves the accuracy of the scaled size calculations.
2021-09-28 03:59:42 +02:00
Michael Fabian 'Xaymar' Dirks
9e992b27b8 nvidia/cuda: Add cuMemsetD# functions 2021-09-28 03:59:42 +02:00
Michael Fabian 'Xaymar' Dirks
d865058f3a encoders/aom-av1: AV1 encoder based on libaom 2021-09-27 23:15:24 +02:00
Michael Fabian 'Xaymar' Dirks
61d7bb36a1 obs/encoder-factory: Don't require implementing all virtual functions
As not all encoders need all functions, classes inheriting from this should not need to implement all of them as no-ops. Instead the header should take care of this, which reduces duplicated empty code paths.
2021-09-27 23:15:24 +02:00
William Pettersson
cdf718217f
util/logging: Don't reuse vargs (#632)
As vargs may be modified by some functions, we should not reuse it and instead create a copy of it. This fixes a segfault on logging calls happening with GCC, and potentially may fix other compilers and platforms as well.
2021-09-20 11:17:51 +02:00
Michael Fabian 'Xaymar' Dirks
3902672095 project: Fix various warnings 2021-09-07 05:22:15 +02:00
Michael Fabian 'Xaymar' Dirks
5bc6b2473d project: Unify logging structure 2021-09-07 05:22:15 +02:00
Michael Fabian 'Xaymar' Dirks
20769762c7 project: Don't leak exceptions if possible 2021-09-07 05:22:15 +02:00
Michael Fabian 'Xaymar' Dirks
f65d8f2f8c encoder/ffmpeg: Fix incorrect translations 2021-06-24 17:25:39 +02:00
Michael Fabian 'Xaymar' Dirks
b87c309fbb plugin: Don't leak CUDA load exceptions 2021-06-24 15:46:23 +02:00
Michael Fabian 'Xaymar' Dirks
b2d635aa0b nvidia/vfx/superresolution: Use resize instead of reallocate 2021-06-24 13:40:14 +02:00
Michael Fabian 'Xaymar' Dirks
4beeda2713 nvidia/cv/image: Store alignment for later use 2021-06-24 13:40:14 +02:00
Michael Fabian 'Xaymar' Dirks
0d9ecce8d6 nvidia/cv: NvCVImage_Dealloc returns void 2021-06-24 13:40:14 +02:00
Michael Fabian 'Xaymar' Dirks
155c6e7acf filter/video-superresolution: Add Video Super-Resolution filter 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
b3ca0ce684 nvidia/vfx/superresolution: Add wrapper for Super-Resolution effect 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
dd31be9a37 nvidia/vfx: Add wrapper for NVIDIA Video Effects SDK 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
4dfefa66f1 nvidia/cv/texture: Wrapper for gs::texture Images 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
412af66564 nvidia/cv/image: Wrapper for Images 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
e52dc58bdc nvidia/cv: Add NVIDIA Computer Vision wrapper 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
d5bd34da08 nvidia/cuda: Don't be so extremely spammy 2021-06-23 16:27:04 +02:00
Michael Fabian 'Xaymar' Dirks
dce5c6b644 util/profiler: Adjust to match coding guidelines 2021-06-23 16:27:04 +02:00
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
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
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