Martin Pulec
89a4050c76
lib_common: move dlopen etc compat to separate src
...
It is a bit needless to compile the dlerror() commat in a huge number of
sources including that file. Moreover, the compat functions are not
direcly linked to modules' infrastructure in UG, which was piggy-backed
to.
2022-03-11 10:48:49 +01:00
Martin Pulec
c5c9fe8b2f
autotools: do not override explicit -O with -Ofast
...
Do not set -Ofast for selected sources when CFLAGS contains some
optimization (-O) level option.
2022-02-25 14:32:29 +01:00
Martin Piatka
f642e68e90
Makefile: GUI: Use distclean instead of clean
...
Clean does not remove the resulting binary, which causes GUI to not
rebuild even with "make clean && make".
2022-02-23 13:34:02 +01:00
Martin Pulec
f62e04d15f
fixed replace_all()
...
In response to Coverity CID 383367 - it is perhaps false positive but
there has been another small bug - the step should be length of to, not
from (which may be longer).
+ written a test for it
2022-02-21 15:32:00 +01:00
Martin Pulec
84cd181d19
Makefile [macOS]: deploy VideoMasterHD only if compiled
2022-01-13 16:59:02 +01:00
Martin Pulec
994b76d5bb
Makefile: remove headers from VideoMasterHD SDK
...
Really remove headers from VideoMasterHD SDK when deploying.
2022-01-13 16:59:02 +01:00
Martin Piatka
782e0fdd95
audio/playback: dump module
2021-10-08 15:49:43 +02:00
Martin Pulec
572b4ce5cd
Factored out WAV reader to separate file
2021-09-14 16:17:09 +02:00
Martin Pulec
f49012c9a1
Added disrupt (jitter) capture filter
...
For debugging only.
2021-09-14 08:40:03 +02:00
Martin Pulec
63b39edd09
Supress all warnings for zfec
...
Clang doesn't understand -Wno-old-style-declaration and this is easier.
The source isn't ours anyway.
2021-09-07 13:31:38 +02:00
Martin Pulec
6294152cfd
Makefile: nvcc - do not use "-Xcompiler -MD"
...
Do not pass -MD to compiler (-Xcompiler) with nvcc since generated
dependencies are wrong - depending on temporary sources in
/tmp rather then on the real sources.
-MD needs to be passed directly to nvcc (without -Xcompiler) but CUDA
9.1 doesn't support -MD thus using separate commands for code and deps
generation.
2021-08-19 09:27:22 +02:00
Martin Pulec
e8e7a8749d
Makefile: s/GEN_DEPENDENCIES/POSTPROCESS_DEPS/
...
The defined command is actually not generating dependencies (gcc -M
does) but only postprocessing them for use in Makefile (generating empty
rules for otherwise unresolved deps).
2021-08-19 09:10:42 +02:00
Martin Pulec
1322de1659
Makefile: do not use .cu.o for CUDA objects
...
The suffix doesn't work well with dependencies - the stem is then
without .cu.o extension but the generated .d file is suffixed .cu.d.
2021-08-11 13:14:46 +02:00
Martin Pulec
93a3abb8ac
Make: remove hardcoded dependencies on all headers
...
From now only affected objects are be rebuilt if a header changes and
not all as it used to be until now.
References:
- https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html
- https://stackoverflow.com/questions/8025766/makefile-auto-dependency-generation
(answer from Beta)
2021-08-11 13:14:46 +02:00
Martin Pulec
0b668e9a05
Lavc: run the UG conversions in parallel
...
+ create helper for that
+ macro for default color shifts
2021-08-09 14:07:26 +02:00
Martin Pulec
2e3a78ff0f
Configure/make: use realpath with python if cmd not avail
2021-07-20 09:43:57 +02:00
Martin Pulec
de36119322
Make: get VideoMasterHD directly from SDK
...
Removed data/redists/VideoMaster*.
Now it copies directly from SDK, paths need to be fixed as done with
.github/scripts/macOS/prepare_nonfree_sdks.sh.
2021-07-19 14:08:21 +02:00
Martin Pulec
d47c708e9e
Configure: detect also system zfec
...
Detect and use zfec provided by python-zfec3 in Ubuntu.
+ added option --with-zfec for custom path
2021-06-29 08:59:25 +02:00
Martin Pulec
ee801e6c38
Out-of-tree build fixes
...
- fixed when the build dir is not even in the tree (git)
- the path to QT worked only if $(srcdir) is relative (configure was
invoked with relative path)
2021-06-28 14:42:27 +02:00
Martin Pulec
613c62bf54
Lavc: fixed get_decoder_from_uv_to_uv
...
Improved UG decoder selection in get_decoder_from_uv_to_uv - now is
selected nearest better codec.
+ written a test for the above
2021-05-25 10:11:30 +02:00
Martin Pulec
1712072628
Added AppStream metadata
2021-05-20 11:43:59 +02:00
Martin Pulec
af05b44fcf
Separated pattern generator from testcard
...
Note: currently depends on testcard_common so it was moved as a core
object.
2021-05-05 09:00:58 +02:00
Martin Pulec
314239e248
added gpujpeg unit test
2021-04-30 08:57:51 +02:00
Martin Pulec
fff6332fcc
Makefile: distcheck - check also reflector
2021-04-12 15:53:13 +02:00
Martin Pulec
d5d226d9f9
Makefile: simplified macOS building
2021-04-12 15:53:13 +02:00
Martin Pulec
b30c1bb0c1
configure: pass Qt CFLAGS only where needed
...
When taken from qmake, QT_CFLAGS introduce disruptive -isysroot. Also
defines things like -pipe, -O2, -mmacosx-version-min, -Wxxxx and -fPIC,
which we obviously don't want to take globally from Qt.
2021-04-12 15:53:13 +02:00
Martin Pulec
ee4bdbf34a
Make zfec optional
2021-03-09 16:05:36 +01:00
Martin Pulec
1b9aa3314d
SpeexDSP: remove a submodule
...
Now it is a normal dependency.
2021-03-09 08:14:37 +01:00
Martin Pulec
f7aba33ee7
Makefile: process also when there is '@' in Qt path [Mac]
2021-03-05 10:59:36 +01:00
Martin Pulec
83e2d7087a
Fixed Speex references to SpeexDSP
...
To be clear that we are actually using SpeexDSP.
2021-03-03 15:01:54 +01:00
Martin Pulec
c909c09df7
Speex is actually not needed at all
...
Needed is only SpeexDSP.
2021-03-03 15:01:47 +01:00
Martin Pulec
d7a2da21d7
Makefile: zfec - create directory
2021-02-24 16:18:14 +01:00
Martin Pulec
18cc2b1252
Zfec as a submodule
2021-02-24 13:42:12 +01:00
Martin Pulec
5b261f2825
Moved ag_plugin to data
2021-02-24 09:51:42 +01:00
Martin Pulec
0e6986599e
Use upstream speex as a submodule
...
The library has been split to speex and speexdsp - we need both.
2021-02-23 15:00:57 +01:00
Martin Pulec
4643b36b98
Do not ship NAT PMP - use system library
2021-02-15 08:19:12 +01:00
Martin Pulec
a2bf03a478
Include Speex COPYING directly in UG COPYRIGHT
2020-11-25 16:28:01 +01:00
Martin Pulec
f364cc0a8c
Added NAT PMP
2020-11-23 09:12:43 +01:00
Martin Pulec
0e8712c703
Makefile: do not rebuild CUDA DLL repeatedly [Win]
...
Make tend to recompile CUDA module DLLs repeatedly because the compiler
doesn't update .lib file modification timestamp therefor make thinks
that the library needs to be recompiled.
2020-11-03 14:09:44 +01:00
Martin Pulec
9cfcf3464c
Dynamically open JACK transport as well
2020-10-16 15:57:17 +02:00
Martin Pulec
d1b2a43d84
GitHub CI: use make install for Win
2020-10-12 12:06:52 +02:00
Martin Pulec
72bc7c45a0
Updated documentation
2020-10-08 11:06:20 +02:00
Martin Pulec
8e242b9b2c
Makefile: doc installation updates
...
- install bugreport script to doc dir
- docdir - uses PACKAGE_NAME name by default if defined (take from
autoconf)
- install remaining docs
2020-10-08 11:06:11 +02:00
Martin Piatka
4dcf316276
Add simple profiler
...
Only built when -DBUILD_PROFILED is defined. To enable profiling set
output file name using the UG_PROFILE enviroment variable. The profiler
will then output a file which contains profiling data viewable in
Chromium (chrome://tracing). Use the macro PROFILE_FUNC at the start of
c++ functions you want to include in the profiling
2020-09-30 12:55:15 +02:00
Martin Pulec
e86e66147c
Lavc: added R10k/R12L conv from/to AV_PIX_FMT_YUV444P16LE
...
+ conversion AV_PIX_FMT_YUV444P10LE->R10k
2020-09-21 14:34:03 +02:00
Martin Pulec
745f247dbc
Make: distcheck - check module errors
...
This check for errors caused by wrong module dependencies.
2020-09-16 11:56:51 +02:00
Martin Pulec
f81219e17c
Makefile: fixed out-of-tree install
2020-08-25 13:10:51 +02:00
Martin Pulec
8fa5ce2d28
Removed QuickTime
...
The API is no longer present in macOS Catalina
2020-08-06 15:48:07 +02:00
Martin Pulec
0f0e943c0d
Configure: accept NDI_SDK_PATH if present
2020-07-21 15:58:44 +02:00
Martin Pulec
bb34d74c1c
Install screen-capture-recorder-x64.dll as a dll
2020-07-21 15:44:27 +02:00