Martin Piatka
f029fa483d
lavc: x265: Enable constrained intra
...
This greatly decreases the time needed for decoder to display clear
image after dropped packets.
Open GOP is already implicitly disabled by intra-refresh, disabling it
explicitly just hides the warning.
2022-03-03 16:15:41 +01:00
Martin Piatka
6696de65da
lib_common: Simplify library map initialization
2022-03-02 15:56:24 +01:00
Martin Piatka
3cfb1935c3
lib_common: Fix module multiple initialization detection
2022-03-02 15:56:24 +01:00
Martin Piatka
0d2dad43e2
capture_filter.h: Remove function prototype
...
This function was removed a long time ago in
32f7932a25
2022-03-02 15:56:23 +01:00
Martin Pulec
43a8f49bbd
Fixed crash from commit 54befa49
...
Fixed incorrect number of channels allocated when there is channel
remapping, eg.:
uv -s testcard -r dummy --audio-channel-map 0:1
The problem occurs in code introduced by commit 54befa49 but the array
is also used elsewhere, namely read by decode_audio_frame().
2022-03-02 11:24:09 +01:00
Martin Pulec
91d5054677
configure, config_unix.h: removed some obsolete includes/checks
2022-03-02 11:24:02 +01:00
Martin Pulec
875c938ea0
speex_resampler: param quality was not respected
...
Although param was processed, DEFAULT_RESAMPLE_QUALITY (=10) was always
set.
2022-03-01 16:11:18 +01:00
Martin Pulec
3e7ccbda6c
configure.ac: enlarge fields (lavs summ. is wider)
2022-03-01 16:11:18 +01:00
Martin Pulec
daa33d5bb6
configure.ac: fixed wrong summary if EWS not present
2022-03-01 16:11:18 +01:00
Martin Pulec
f59c6e8dba
Makefile.convert: fixed misc.cpp path
2022-03-01 16:11:17 +01:00
Martin Piatka
e25bdba283
video_codec: Remove sse compatibility macro
...
bsrli and bssli are supported since gcc 4.8 and clang 3.7 (7 years old).
Supporting older compilers does not make sense anymore since
UltraGrid needs c++17 support.
2022-03-01 13:27:24 +01:00
Martin Piatka
474fa9dadb
utils: Add wrapper for std::from_chars with fallback
2022-03-01 13:27:24 +01:00
Martin Piatka
7120b1e6d2
conference display rewrite
...
Scaling is now done directly in yuv
2022-02-28 12:58:14 +01:00
Martin Piatka
38ed4341ff
hd-rum-decompress: Remove profiling macro
...
This function is called too often & causes the profile trace to bloat.
2022-02-28 12:56:06 +01:00
Martin Pulec
6cd6847e88
GPUJPEG dec.: fixed returning error from probe
2022-02-25 16:09:52 +01:00
Martin Pulec
5501829f68
libavcodec: fixed -Og warning
2022-02-25 14:48:03 +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 Pulec
c8b5986591
video testcard: fixed reading from file
...
+ moved to separate function
2022-02-25 13:47:33 +01:00
Martin Pulec
e879f0e44b
convert tool compilation fixes
2022-02-25 12:09:22 +01:00
Martin Pulec
08547f65f9
DELTACAST: fixed num conv warnings [Win]
2022-02-25 09:39:59 +01:00
Martin Pulec
9c4bb885cc
DeckLink cap.: fail if not able to set val
...
These values are now now only set if user explicitly requests, thus let
it fail if not able to set.
2022-02-25 08:41:48 +01:00
Martin Pulec
48db3e11fb
DeckLink cap.: do not set connection and conversion
...
Do not set connection and conversion unless user specifies explicitly.
+ moved the set/check stuff to macro
2022-02-25 08:41:48 +01:00
Martin Pulec
40b57bb793
DeckLink cap.: moved initializers directly to struct
2022-02-25 08:41:47 +01:00
Martin Pulec
fff72f8f0a
DeckLink cap.: Windows compilation fix
...
BMDVideoOutputConversionMode is enum in Windows (compared to uint32_t in
Linux) and thus the compiler complains about the int->enum cast.
2022-02-25 08:40:33 +01:00
Martin Pulec
9f762fb102
DeckLink disp.: fix not supported conversion mode
...
refers to GitHub issue #215
2022-02-24 16:19:44 +01:00
Martin Pulec
0412a2c1dc
misc.h: renamed macro parameters (clarity)
2022-02-24 15:09:43 +01:00
Martin Pulec
dc299a8f1d
libavcodec_common.h: added conversions from GBRAP
2022-02-24 11:56:07 +01:00
Martin Pulec
e62fa27c11
GL: verbose dump pressed key
2022-02-24 11:56:06 +01:00
Martin Pulec
b48ce2af53
export.c: refactor a bit
...
+ accept help option also as other than first parameter
2022-02-24 11:56:06 +01:00
Martin Pulec
1322190dc4
NDI cap.: issue warning if UYVA is received
...
YUVA is unsupported and thus alpha channel will be dropped, which may
not be desired.
2022-02-24 11:56:06 +01:00
Martin Pulec
1489214cf3
GPUJPEG dec.: decode alpha if present
2022-02-24 11:56:06 +01:00
Martin Pulec
b0d1e661cb
GPUJPEG enc.: option to encode alpha for RGBA
2022-02-24 11:56:03 +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
4776c41916
RTP: replace perror with logger
2022-02-23 11:46:30 +01:00
Martin Pulec
acb38feea9
NDI cap.: accept H.264/HEVC
...
Accept H.264/HEVC and pass it through.
Also upgrade to NDIlib_audio_frame_v3_t to potentially support also
non-PCM codecs in future.
2022-02-23 11:30:08 +01:00
Martin Pulec
c321ed4cc0
GitHub CI C/C++: use PCP from upstream
...
It should be now able to build in Windows.
2022-02-23 10:17:19 +01:00
Martin Pulec
dfcf6cda5e
NDI cap.: really add the bandwidth opt (not only help)
2022-02-22 14:11:09 +01:00
Martin Pulec
0c41a98044
NDI cap.: addded option to set bandwidth
2022-02-22 12:14:28 +01:00
Martin Pulec
6749a5a823
NDI cap.: default val for NDIlib_recv_create_v3_t
...
Since default C++ constructors are no longer used for NDI,
zero-initialization intializes NDIlib_recv_create_v3_t::bandwidth to 0,
which is NDIlib_recv_bandwidth_lowest.
2022-02-22 12:07:57 +01:00
Martin Pulec
8448389c5d
video testcard MIDI: some fixes
...
- initialize ring-buffer prior to playing music
- print error if playing music fails
2022-02-22 09:01:31 +01:00
Martin Pulec
d1d9a1c9b5
module_get_path_str: added comments
...
Added comments to describe the behavior and ensure that this is correct
and resulting string is properly null-terminated.
2022-02-22 08:49:40 +01:00
Martin Pulec
c8270d50a5
Video testcard: MIDI - multiplatform
...
Create MIDI file name with tmpnam instead of mkstemp.
2022-02-22 08:47:53 +01:00
Martin Pulec
b5d2f40335
GitHub CI Win: Version.txt is not present in NDI
...
Windows distribution of NDI usually doesn't contain Version.txt so do
not use it. Moreover the previous way of creating the version file (in
.bashrc) was not perfect.
Write at least NDI major version if NDI_VERSION is not present.
2022-02-22 08:23:07 +01:00
Martin Pulec
e2174fba31
GitHub CI C/C++ [Win]: updated CUDA toolkit
...
To fix failed run:
https://github.com/CESNET/UltraGrid/actions/runs/1876551209
2022-02-21 16:22:25 +01:00
Martin Pulec
c9661c4e67
GitHub CI Coverity: use full path for the cache
...
For some reason, using implicit path caused the Coverity tool not to be
stored ("Cache Size: ~0 MB (22 B)" in Post Cache step).
2022-02-21 15:32:03 +01:00
Martin Pulec
69145ce011
fixed Coverity CID 383373
2022-02-21 15:32:03 +01:00
Martin Pulec
0f50bc2cb9
dismiss Coverity CID 383366 383369
...
The null init value doesn't need to be explicitly given, thus avoid it
to dissmis the Coverity warning.
2022-02-21 15:32: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
8e133a88d2
get_framerate_test: fixed wrong guard + ext
2022-02-21 15:31:38 +01:00
Martin Pulec
9231848bd5
GitHub CI C/C++ [Win]: fixed JACK2 installation
...
JACK installed with Chocolatey ceased to run unattendedly thus
installing it directly now.
2022-02-21 14:57:26 +01:00