0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs
jpark37 f27ece50c9 libobs: Optimize lanczos shader, remove scaling
Use bilinear filtering to reduce 36 taps to 25 for the regular path.
This works because the middle weights are always between 0 and 1,
allowing texture coordinates to be placed strategically to sample
correct ratios. I'm not sure about the undistort path, so I've left that
alone.

Also remove scaling added in #526, after which weight normalization is
unnecessary. If we want to use or invent an algorithm with alternate
downscaling properties, that's fine, but I don't think we should change
Lanczos scaling to mean something it's not. The scale implementation was
also seen not working when applied directly to scene items because of
assumptions made about the projection matrix.

Intel GPA, SetStablePowerState, Intel HD Graphics 530, D3D11
644x478 -> 1323x1080: 3890 us -> 3401 us
1920x1080 -> 1280x720: 2555 us -> 2261 us
2019-07-26 20:45:33 -07:00
..
audio-monitoring clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
callback clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
data libobs: Optimize lanczos shader, remove scaling 2019-07-26 20:45:33 -07:00
graphics libobs: Default sampler sometimes unset for GL 2019-07-25 21:54:23 -07:00
media-io libobs: obs-ffmpeg: win-dshow: Planar 4:2:2 video 2019-07-25 20:11:37 -07:00
util Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
CMakeLists.txt cmake: Install 'libobs.pc' under the correct 'libdir' 2019-06-21 21:27:53 +03:00
libobs.pc.in cmake: Install 'libobs.pc' under the correct 'libdir' 2019-06-21 21:27:53 +03:00
LibObsConfig.cmake.in cmake: Export plugin data destination 2014-09-27 09:41:32 -07:00
LibObsConfigVersion.cmake.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
obs-audio-controls.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-audio-controls.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-audio.c libobs: Buffer-smoothing enhancements 2019-07-05 09:13:18 -07:00
obs-avc.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-avc.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-cocoa.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-config.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-data.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-data.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-defs.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-display.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-encoder.c libobs: Fix formatting 2019-07-13 19:01:48 -07:00
obs-encoder.h libobs: Call both get_defaults and get_defaults2 2019-07-13 00:49:18 +02:00
obs-ffmpeg-compat.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hotkey-name-map.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hotkey.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hotkey.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hotkeys.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-interaction.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-internal.h libobs: Implement pausing of outputs 2019-07-07 16:38:22 -07:00
obs-module.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-module.h libobs: Fix formatting 2019-07-12 11:48:41 -07:00
obs-nix.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-output-delay.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-output.c libobs: Implement pausing of outputs 2019-07-07 16:38:22 -07:00
obs-output.h libobs: Implement pausing of outputs 2019-07-07 16:38:22 -07:00
obs-properties.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-properties.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scene.c libobs: Fix benign typo 2019-07-25 21:54:23 -07:00
obs-scene.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-service.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-service.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-source-deinterlace.c libobs: Improve timing of unbuffered deinterlacing 2019-07-20 21:00:59 -07:00
obs-source-transition.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-source.c libobs: obs-ffmpeg: win-dshow: Planar 4:2:2 video 2019-07-25 20:11:37 -07:00
obs-source.h libobs: Add "monitoring by default" source cap 2019-07-26 00:05:14 -07:00
obs-ui.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-video-gpu-encode.c libobs: Implement pausing of outputs 2019-07-07 16:38:22 -07:00
obs-video.c libobs: Rework RGB to YUV conversion 2019-07-22 01:12:35 -07:00
obs-view.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-win-crash-handler.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-windows.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs.c libobs: Add "monitoring by default" source cap 2019-07-26 00:05:14 -07:00
obs.h libobs: UI: Remove DrawBackdrop() to save fullscreen pass 2019-07-18 19:58:29 -07:00
obs.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obsconfig.h.in cmake: Add release candidate versions/cmake variables 2018-08-13 01:19:23 -07:00