Commit Graph

5449 Commits

Author SHA1 Message Date
Martin Pulec
f74ea13cc1 Fixed compilation when HTTP SDP is disabled 2021-11-25 15:49:24 +01:00
Martin Pulec
e28c79f717 Fixed some warnings 2021-11-25 15:49:19 +01:00
Martin Pulec
2a43758fd6 Audio: init encoder only if needed
+ rename audio_coder to audio_encoder to make sure that it is used for
  sender only
2021-11-25 15:49:04 +01:00
Martin Pulec
5a233180fa lavc: small improvements
- use "& ~1" for even rounding
- my_task(_data) - more reasonable name + static
2021-11-25 12:09:21 +01:00
Martin Pulec
8c5b10aa67 lavc: use task_run_parallel() for pixfmt convert 2021-11-25 12:09:21 +01:00
Martin Pulec
8b72672b67 lavc: do not set thread mode specially for JPEG
This is already set by set_thread_mode().
2021-11-25 12:09:16 +01:00
Martin Pulec
a29c1904cd lavc JPEG: fixed broken JPEG if threads=no
Fixed broken JPEG produced by current FFmpeg if slices > 1 and
threads = 1.
2021-11-25 12:08:54 +01:00
Martin Pulec
fe97093084 GitHub CI [Linux, FFmpeg]: fixed SVT-VP9
Fixed SVT-VP9 patch not applying - we need more repo depth now
 (increased 1000->5000 commits - 2000 would take 18 MiB, 5000 24 MiB,
 which is stil decent).
2021-11-25 10:54:58 +01:00
Martin Pulec
c047d5acfe parallel_conv: use task_run_parallel 2021-11-24 16:22:24 +01:00
Martin Pulec
323631f133 Lavd: do pixfmt conversions in parallel 2021-11-24 16:22:24 +01:00
Martin Pulec
7ea5def885 Added task_run_parallel 2021-11-24 16:22:19 +01:00
Martin Pulec
f0c63651d2 libavcodec_common: av_to_uv_convert - use const rgb_shift 2021-11-24 13:26:40 +01:00
Martin Pulec
92efc67966 Added get_cpu_core_count() 2021-11-24 11:13:54 +01:00
Martin Pulec
ae1650239d ALSA play.: probing format - try to set discovered sample rate
Try to set discovered sample rate rather then the requested one (if the
requested one is not possible, obviously). The previous behavior might
have led to failure to negotiate acceptable format.
2021-11-23 16:29:32 +01:00
Martin Pulec
af4888d697 Fixed handling of newly reserved PT 95 2021-11-23 12:54:26 +01:00
Martin Pulec
c24b76a7b0 Fixed a typo 2021-11-23 10:53:16 +01:00
Martin Pulec
f5139cf81f Lavc: respect any subsampling, not only 422
Until now, even for 444 input pixel format was preferred 422 encoding.
2021-11-19 09:17:46 +01:00
Martin Pulec
696c569364 Added yuv42{0,2}p10le_to_rgb30 2021-11-18 14:45:26 +01:00
Martin Pulec
d87ca840d0 Lavd: advertise all possible decompresses with a low priority
It is possible that there exists a decoder even without the for swscale
but not sure therefore give it a low priority.
2021-11-18 13:45:28 +01:00
Martin Pulec
f22d7cb859 Dummy: advertise R10k by default 2021-11-18 13:45:28 +01:00
Martin Pulec
5e2e976227 Splashscreen: improved background gradient
Use non-linear gradient for the background to avoid sharp borders of the
background visible with on finer displays.
2021-11-18 13:45:03 +01:00
Martin Pulec
1950e6f5fd video_compress.cpp: use logger 2021-11-15 14:48:27 +01:00
Martin Pulec
52935fbdc9 GL: set depth to 10 + print actual depth
Freeglut ignores the bit depth setting, anyway.
2021-11-15 10:51:27 +01:00
Martin Pulec
03b60c9931 OpenGL: support for 10-bit RGB
R10k is now displayed natively with OpenGL.

Note: context isn't explicitly set to 10 bits as specified in [1]. It
looks like freeglut doesn't support glutInitDisplayString() with 10-bit
configuration. Anyways, using AMDGPU and 10-bit DP doesn't seem to
require it, glGetIntegerv(GL_*_BITS..) returns 10 without explicit
signalization.

[1] https://www.amd.com/system/files/documents/10-bit-video-output.pdf
2021-11-12 15:42:19 +01:00
Martin Pulec
300fe4cb1b Testcard: added key=val syntax also for video format 2021-11-12 15:22:17 +01:00
Martin Pulec
035658f211 Testcard: decrease indention level for codec listing 2021-11-12 15:22:17 +01:00
Martin Pulec
5de79bd6be Testcard: encode full depth with R10k 2021-11-12 15:22:17 +01:00
Martin Pulec
ca5834ca9e Added vc_copylineRG48toR10k 2021-11-12 15:22:16 +01:00
Martin Pulec
55aa09d57b GL disp.: fixed using PBO by default
Inverted condition was used by c2bf052d causing PBO being disabled by
default but enabled on Raspi - it should be actually the opposite.
2021-11-12 11:58:21 +01:00
Martin Pulec
1f4fe64760 configure: fixed OpenGL build when lavc not present
Do not add dependency/build hwaccel_libav_common.o if libavcodec is not
present as a dependency for OpenGL display.
2021-11-12 11:24:17 +01:00
Martin Pulec
f9890e47da Image pattern generator: fixed NL in exception explanation string
Standard exceptions (eg. from stol) doesn't have newlines in what() so
do not pass it with custom ones but print it in the handler.
2021-11-12 09:57:36 +01:00
Martin Pulec
81bb2d7397 Image pattern generator: simplified a bit 2021-11-12 09:54:46 +01:00
Martin Pulec
e2bedca34d Image pattern generator: fixed gradient2
- "gradient" is prefix of "gradient2" and the first was checked earlier
  thus gradient2 was never selected
- incorrect check for boundaries with min instead of max
2021-11-12 09:38:15 +01:00
Martin Pulec
e3db89af46 .github/scripts/macOS/sign.sh: do not leak password 2021-11-09 15:12:30 +01:00
Martin Pulec
3af2d021bc UltraGrid 1.7 v1.7 2021-11-09 10:43:09 +01:00
Martin Pulec
240630357a Updated splashscreen to 1.7 2021-11-09 10:43:08 +01:00
Martin Pulec
7add441e60 Updated version color to bright_blue 2021-11-09 10:43:08 +01:00
Martin Pulec
24ce0447d6 s/Short log/Changes/ in GH release 2021-11-09 10:43:08 +01:00
Martin Pulec
0ef1c0c92b Updated README.md
Small clarifications/cleanups
2021-11-09 10:21:38 +01:00
Martin Pulec
b273b3597f Rang: enable also other 3-/4-bit ANSI colors
Enabled remaining 3-/4-bit ANSI colors as per:
https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit

rang.hpp header is now synced with:
https://github.com/MartinPulec/rang/blob/master/include/rang.hpp
2021-11-09 10:21:35 +01:00
Martin Pulec
01d69310ae Merge pull request #204 from tmenari/bugfix/decklink-3d
[decklink] fix stereo 3D supportedFlags
2021-11-09 10:21:21 +01:00
Thomas Menari
c2978c0031 [decklink] fix stereo 3D supportedFlags 2021-11-08 16:00:22 -08:00
Martin Pulec
1b3b27eb7c Updated copyright dates for modified files 2021-11-08 15:43:14 +01:00
Martin Pulec
2521925c87 DeckLink: return to default BPS == 4
This partially reverts 2a511d58. The value 4 should be default now (best
quality), BPS==2 should be perhaps set later by a preset (after/if
implemented).
2021-11-08 09:22:32 +01:00
Martin Pulec
d3fa4437e5 Reed-solomon: added decoder stub
Added stub allowing dummy decode (without error correction) for the
receiver basic run.
2021-11-05 13:47:15 +01:00
Martin Pulec
30db5b4fed RS: loop readibility fix 2021-11-05 12:03:44 +01:00
Martin Pulec
e5716f3f5c Reserve PT 95 for future use in UG
+ do not abort on unknown PT in audio
2021-11-05 10:43:59 +01:00
Martin Pulec
65435cb45f RTP PT: commented PT_JPEG
Clarify that PT_JPEG isn't our JPEG but RFC-compliant.
2021-11-05 10:43:59 +01:00
Martin Pulec
0cfc4c778a Video decoder: support unknown FPS values
Support FPS values that are not understood by UG (FPSd == 0) and
replace it by 30.

This is a forward compatibility feature when there may be special meaning FPS
values (unlimited etc.) but it can still be displayed, especially by displays
that don't honor FPS value like OpenGL.
2021-11-05 10:43:57 +01:00
Martin Pulec
c84d62f4ed Logger: oneshot messages suppport 2021-11-05 10:39:33 +01:00