0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs/media-io
Hans Petter Selasky 0e4ea14ba1 libobs: Implement and use better scaling function for 64-bit integers
As os_gettime_ns() gets large the current scaling methods, mostly by casting
to uint64_t, may lead to numerical overflows. Sweep the code and use
util_mul_div64() where applicable.

Signed-off-by: Hans Petter Selasky <hps@selasky.org>
2020-04-05 20:27:28 +02:00
..
audio-io.c libobs: Implement and use better scaling function for 64-bit integers 2020-04-05 20:27:28 +02:00
audio-io.h libobs: Implement and use better scaling function for 64-bit integers 2020-04-05 20:27:28 +02:00
audio-math.h libobs/media-io: Add common audio math functions 2015-06-26 03:40:27 -07:00
audio-resampler-ffmpeg.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
audio-resampler.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
format-conversion.c libobs: fix building modules once installed 2019-11-27 14:00:15 -05:00
format-conversion.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
frame-rate.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
media-io-defs.h libobs: Move macro to internal C file 2017-10-02 07:36:02 -07:00
media-remux.c libobs, obs-ffmpeg, win-dshow: Fix FFmpeg 4.0 deprecation 2019-07-29 20:34:13 -07:00
media-remux.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-fourcc.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-frame.c libobs: Add YUV alpha formats 2019-08-11 11:26:22 -07:00
video-frame.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-io.c libobs: Implement and use better scaling function for 64-bit integers 2020-04-05 20:27:28 +02:00
video-io.h libobs, obs-x264: Fix compiler warnings 2020-01-21 15:18:09 -06:00
video-matrices.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-scaler-ffmpeg.c libobs, obs-x264: Fix compiler warnings 2020-01-21 15:18:09 -06:00
video-scaler.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00