Commit Graph

7543 Commits

Author SHA1 Message Date
Martin Pulec
61ba4e58b8 CI ARM Linux: install XIMEA+natpmp 2023-03-16 14:00:22 +01:00
Martin Pulec
0afadd4c41 CI Linux/install_others.sh: small improvement
make deps in /var/tmp implicitly
2023-03-16 14:00:22 +01:00
Martin Pulec
25881d6feb CI ARM Linux: install NDI 2023-03-16 14:00:22 +01:00
Martin Pulec
0537b33863 CI Linux/install_others.sh: do not require sudo
is not present in ARM workers
2023-03-16 14:00:21 +01:00
Martin Pulec
ee3179472b CI Linux/install_others.sh: fail if cached installer not found
The feature is relied upon, anyways, so it is better to fail early if we
cannot install NDI.
2023-03-16 14:00:21 +01:00
Martin Pulec
8cdabc3655 CI Linux: do not install NDI lib
not needed for compilation
2023-03-16 14:00:21 +01:00
Martin Pulec
bd1f7d415e CI Linux install_other.sh: option to specify one dep 2023-03-16 14:00:21 +01:00
Martin Pulec
70808fcc55 CI ARM: removed repo workaround
seems no longer valid (U22.04 GitHub host worker)
2023-03-16 14:00:21 +01:00
Martin Pulec
d7ae1de568 CI Linux install_others: live555 to function 2023-03-16 14:00:21 +01:00
Martin Pulec
2295b6a109 CI ARM: enable holepunch,speex,ews and zfec
- cmake needs to be held in a specific version because the more current
  version doesn't work with chrooted qemu-user-static arm
2023-03-16 14:00:20 +01:00
Martin Pulec
3235dbba53 CI ARM: copy whole .github subdirectory
there will be another files, like install-common-deps.sh that can be used
2023-03-16 14:00:20 +01:00
Martin Pulec
4afbabcf90 configure: run tests only if feature requested (or auto) 2023-03-16 14:00:20 +01:00
Martin Piatka
1b51cb9816 sdl2: Report options in capabilities 2023-03-16 13:22:27 +01:00
Martin Piatka
1a261d6ee0 capabilities: Move device option helper to a header 2023-03-16 13:22:27 +01:00
Martin Piatka
4a40ed67a2 GUI: Display settings: don't show displays that don't have any settings 2023-03-16 13:22:26 +01:00
Martin Piatka
0d1ac09863 GUI: Refactor codec settings 2023-03-16 13:22:26 +01:00
Martin Piatka
33e1d15f6d GUI: Build display settings from capabilities 2023-03-16 13:22:26 +01:00
Martin Piatka
90e83a5b66 GUI: Remove hardwired display settings 2023-03-16 13:20:43 +01:00
Martin Piatka
7c4597b4e6 GUI: Factor compress settings form building into function 2023-03-16 13:20:43 +01:00
Martin Piatka
932a2aa33f GUI: Add display options from capabilities 2023-03-16 13:20:42 +01:00
Martin Piatka
95556f5e53 GUI: available_settings: Parse & store device options 2023-03-16 13:20:42 +01:00
Martin Piatka
bec900bb54 GL: report options in capabilities 2023-03-16 13:20:42 +01:00
Martin Piatka
68d30a4f6b capabilities: Add device options 2023-03-16 13:20:41 +01:00
Martin Pulec
a62f503100 skip net tests in GitHub CI
In ARM chroot, all other tests fail so it is perhaps better to bail out
in CI altogether.

This partially reverts commit 393b6f9eaf.
2023-03-15 15:33:46 +01:00
Martin Pulec
e46d5cfed3 CI ARM: configure - require present features
Explicitly require features that are already present in the builds
(tenative, some may be removed, but just to ensure that features that
should be present get not removed by accident).
2023-03-15 15:33:44 +01:00
Martin Pulec
42af0b8846 CI ARM: install libsoxr
To be consistent for arm64 builds (no Raspberry) with armhf, where the
package is already implicitly installed.
2023-03-15 10:21:46 +01:00
Martin Pulec
ece4f2d1ca CI Linux x86-64: ensure accels are compiled-in 2023-03-15 09:06:15 +01:00
Martin Pulec
cb1ac1c90c configure: screen_pw - compact a bit 2023-03-15 08:43:45 +01:00
Martin Pulec
342faa1f69 configure: remove old libavcodec compat
the lavc version 57.107.100 is something like from 2017
2023-03-15 08:43:45 +01:00
Martin Pulec
c2f4853d94 configure: GPUJPEG - export PKG_CONFIG_PATH
If variable PKG_CONFIG_PATH is not already exported, the assignment won't be
effective.
2023-03-15 08:43:45 +01:00
Martin Pulec
d633b8eec2 configure: removed no longer used cppunit bits 2023-03-15 08:43:16 +01:00
Martin Pulec
f293d9708d configure: simplified sdl handling
+ do check only if needed
2023-03-14 13:21:21 +01:00
Martin Pulec
d2c00ff3f8 split utils/text to string.c and text.c 2023-03-14 13:21:12 +01:00
Martin Pulec
c9e5f620cd audio/capture: get rid of audio_init_state_ok
replaced with convenient INIT_NOERR

+ removed all remaining references (audio.h, host.cpp)
2023-03-14 10:52:17 +01:00
Martin Pulec
fbdbe754d9 portaudio: refactor
similar to the previous commit
2023-03-14 10:35:53 +01:00
Martin Pulec
e447317678 alsa: small refactor
- renamed audio_alsa_help() to audio_alsa_list_devices()
- moved to whole usage of alsa cap to audio_cap_alsa_help (+ fixed
  prototype)
2023-03-14 10:31:41 +01:00
Martin Pulec
faaebc8e06 CI Linux: ensure that GUI doesn't fail in first 10 secs 2023-03-14 09:59:27 +01:00
Martin Pulec
490c189aba removed help from audio playback API
it is no longer used in this way
2023-03-14 08:50:22 +01:00
Martin Pulec
8ed94363ef audio/playback/dummy: print help if requested or incorr usage 2023-03-14 08:22:09 +01:00
Martin Pulec
4120343069 dummy.cpp->dummy.c 2023-03-14 08:18:24 +01:00
Martin Pulec
34d13ba3d7 SDL2: use frame data deleter for textures 2023-03-13 16:26:14 +01:00
Martin Pulec
fb57137d7f vf_alloc_desc_data: aligned allocate
Use aligned allocation + huge pages in Linux. This may improve
performance, at least the second may reduce TLB cache misses.
2023-03-13 16:26:14 +01:00
Martin Pulec
0c731e93b8 lavcd: remove unused param warnings when no sws 2023-03-13 16:26:14 +01:00
Martin Pulec
2bf5afe521 SDL2: rewritten to C 2023-03-13 16:26:14 +01:00
Martin Pulec
5b0eb5b43d SDL2: optimized - write directly to SDL_texture
This was supposed to improve the performance/throughput of the SDL2
display because we'd avoid unnecessary frame copy.

From the measurements, it doesn't seem to improve too much (0-10%
depending on the actual setup).
2023-03-13 16:26:14 +01:00
Martin Pulec
a1ceee1d10 SDL1/2: use common get_splashscreen
+ removed direct references to splashscreen.h in GL and caca
2023-03-13 16:26:14 +01:00
Martin Pulec
319a1812b8 SDL2: exit gracefully on reconf error
- set reconfigured desc only if the reconfiguration succeeds (otherwise
  next frames think we are OK and it most likely leaks to a crash)
- if the reconfiguration actually fails, call exit_uv() - this is
  perhaps a better behavior, since otherwise periodic reinitialization
  (with possible re-creating window occurs, which may be annoying to
  user and the state is unusable, anyways)
2023-03-13 16:26:14 +01:00
Martin Pulec
0eeb8082b3 SDL2: removed rang.hpp dependency 2023-03-13 16:26:13 +01:00
Martin Pulec
cdcf1abc30 video decompressors: update copyright dates 2023-03-13 16:26:13 +01:00
Martin Pulec
71e32109ad text pp: ignore some magickwand warnings
triggers following warning with GCC 12.2.1 (assigns (enum PixelChannel) unsigned underlying type):

    /usr/include/ImageMagick-7/MagickCore/pixel-accessor.h:111:26: warning: comparison is always false due to limited range of data type [-Wtype-limits]
      111 |   if (((ssize_t) channel < 0) || ((ssize_t) channel >= MaxPixelChannels))
2023-03-13 16:26:11 +01:00