Commit Graph

3635 Commits

Author SHA1 Message Date
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
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
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
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
Martin Pulec
6878d5de4b Audio playback SDI: s/capture/playback 2021-11-04 10:13:35 +01:00
Martin Pulec
2e13a04dff Key control: print version
May be used for quick check if not running an obsolete UG during
runtime.
2021-11-01 09:20:44 +01:00
Martin Pulec
3c8c126ce9 nat.c: fixed uninitialized var (Coverity) 2021-10-27 14:35:07 +02:00
Martin Pulec
dfe80f3348 keyboard_control.cpp: refactor a bit the audio query stuff
(related to previous commmit)
2021-10-27 14:35:07 +02:00
Martin Pulec
2ec8eec912 Audio: display muted status even if not sending
Originally mute for both sender and receiver were dispatched by the
sender, which doesn't need to be present, however.
2021-10-27 13:31:17 +02:00
Martin Pulec
38b57ff076 GL: pretty print help
+ added SPOUT to Syphon for hide_window use case
2021-10-26 17:54:12 +02:00
Martin Pulec
04734e0ebc Define ug_strerror for thread-safe strerror abstraction 2021-10-26 10:49:07 +02:00
Martin Pulec
2594da5a09 Wav writer: report write errors 2021-10-26 10:17:29 +02:00
Martin Pulec
ef48f01727 Fixed video dec stats
Adding of displayed and corrupted frames was accidentaly removed by a779d96c.
2021-10-22 12:42:57 +02:00
Martin Pulec
940399988a Lavd: option to dump decompressed frame 2021-10-22 09:21:52 +02:00
Martin Pulec
0b621fdadc Libavcodec common: copy all planes with memcpy_data
This function may not be used at all but just to make sure.
2021-10-20 08:23:16 +02:00
Martin Pulec
a779d96c6d Logger: fixed wrong value message 2021-10-18 13:26:57 +02:00
Martin Pulec
ceb5f72b20 Lavc: set AVCodecContext::bits_per_raw_sample 2021-10-18 13:13:11 +02:00
Martin Pulec
bc076a4dc4 Libavcodec common: added r12l_to_gbrp16le 2021-10-18 11:23:27 +02:00
Martin Pulec
698ab75308 NAT PMP: updated timeout handling
- chech return value of getnatpmprequesttimeout()
- break the loop after 5 seconds (to avoid infinite loop)
2021-10-18 08:53:12 +02:00
Martin Pulec
c411addea4 Libavcodec common: added gbrp12le_to_r10k specialization 2021-10-15 16:47:04 +02:00
Martin Pulec
ed48629c94 Libavcodec common: replaced standalone funcs with generic ones 2021-10-15 16:45:04 +02:00
Martin Pulec
419e1ab3b2 Libavcodec common: added RGB conversions from GBRP16LE 2021-10-15 16:01:32 +02:00
Martin Pulec
aec5db7e06 GL disp.: set released members to 0
It isn't double-released, anyway, but just for sure.
2021-10-15 13:26:24 +02:00
Martin Pulec
90266a18e1 GPUJPEG dec.: fixed a crash with a new API 2021-10-15 11:45:32 +02:00
Martin Pulec
0f1bd891bd Libavcodec common: added r10k_to_gbrp16le 2021-10-15 11:45:29 +02:00
Martin Piatka
65b56142ba GL: Cleanup gl resources in the same thread they're initialized in 2021-10-15 10:22:02 +02:00
Martin Pulec
a2593b0a8a SMPTE bars: fixed column count
Smpte bars doesn't have the eight colum as EBU has.

Moreover the pattern is not complete - the bottom third contains
different data - mention this in help + todo.
2021-10-14 10:52:49 +02:00
Martin Pulec
19e4110e6b Image pattern generator: use enum to indicate bit depth 2021-10-14 10:52:48 +02:00
Martin Pulec
cfe793a23b Image pattern generator: adapt EBU bars gen also for SMPTE 2021-10-14 10:52:48 +02:00
Martin Pulec
2b47dd4acd Image pattern generator: added EBU bars 2021-10-14 10:52:48 +02:00
Martin Pulec
068f126a81 ALSA play.: param help clarification 2021-10-14 10:52:47 +02:00
Martin Pulec
e27bc421bd Audio dump: added usage 2021-10-14 10:52:47 +02:00
Martin Pulec
8f1074cd74 GCC 11 warning workaround
GCC 11 gives incorrect warning for unintialized strerror_buf on
strerror_buf.size(), which is, however, compile-time constant. As a
workaround a separate size constant is used.
2021-10-14 10:52:47 +02:00
Martin Pulec
3519d22f06 DeckLink cap.: refactor audio init a bit 2021-10-14 10:52:46 +02:00
Martin Pulec
2a511d58f5 DeckLink cap.: default audio BPS is 2 (originally 4)
When uncompressed it requires less bandwidth and it is more suitable for
compression and/or further processing.

+ fail if audio BPS or sample rate is invalid rather than displaying
  only a warning
+ removed unused FRAME_TIMEOUT
2021-10-14 10:52:43 +02:00
Martin Pulec
bd14f7fb70 Fixed rgb_rgba_to_gbrp
Incorrect BPP (3) was used for RGBA
2021-10-14 10:31:33 +02:00
Martin Piatka
bbaa729aa8 audio/export: Add missing const 2021-10-08 15:52:10 +02:00
Martin Piatka
782e0fdd95 audio/playback: dump module 2021-10-08 15:49:43 +02:00
Ben Roeder
cf2764750a fix type o found to find 2021-10-07 14:20:26 +01:00