Commit Graph

10786 Commits

Author SHA1 Message Date
Martin Piatka
036eeed0aa audio/jack: Replace TRUE and FALSE macros 2025-10-24 14:37:37 +02:00
Martin Piatka
bc2bad51fc audio.cpp: Replace TRUE and FALSE macros 2025-10-24 14:37:37 +02:00
Martin Pulec
ff3e34ef33 vcomp/lavc: remove codec_params
After recent changes, the map was accessed exclusively with
get_codec_params so squash the data there.
2025-10-24 11:23:00 +02:00
Martin Pulec
fd38dbfadb CI Linux FFmpeg: build with liboapv
to support APV in Linux binary builds
2025-10-24 11:23:00 +02:00
Martin Pulec
f9b950f6d9 vcomp/lavc: add Advanced Professional Video
+ reindent av_to_uv_map struct
2025-10-24 11:22:59 +02:00
Martin Pulec
0ef456957a vcomp/lavc: common metadata for some compressions
There are (less common) compressions, that basically takes default
parameters so it is not necessary to keep record for them separately.

The struct, however, is used as the list of available/supported
compressions so now iterating over all UG codecs and including codecs
with the predicate !get_ug_to_av_codec(ug_codec).

Mostly just refactor, just compression_priority has been changed for those
that had 5xx values (J2K, HFYU, FFV1) to `500 + codec_id` - assuming that
those should have distinct values but the actual order doesn't matter.
2025-10-24 11:22:10 +02:00
Martin Pulec
f59cee56a6 vcomp/lavc: simplify cond 2025-10-24 10:43:56 +02:00
Martin Pulec
673266fa79 vdec/lavc: fix preferred_decoder selection
Unsure if it didn't work ever or was broken at some time point but it
haven't worked just now. As only "dav1d" was preferred for AV1 and this
is selected by default, no functional change actually as for now.
2025-10-24 10:43:56 +02:00
Martin Pulec
7dd9a4410f vdec/lavc: remove metadata struct
It was used als for ug_codec<->av_codec, which is unneeded, already
done in lavc_utils. This also causes that every new codec must have been
added there.

Keep just the preferred_encoder part.
2025-10-24 10:42:42 +02:00
Martin Pulec
d45c971cf8 Makefile: create share/ultragrid separately
install -D in coreutil 8.22 (CentOS 7) didn't have the same semantic
as later versions if specified together with --target-dir (creating the
target dir). Syntax `install -D -m 644 x dst/x` (specifying dstfile name)
would also work as one command as well.
2025-10-23 10:38:30 +02:00
Martin Pulec
3f9fe348bd configure: delta: new SDK (6.3X inc path)
VideoMaster 6.30 and above has slightly different include path so in addition
to the original add the new -I path.
2025-10-23 10:00:26 +02:00
Martin Piatka
7d4517aab8 debug.h: Add missing default initializer for show_timestamps 2025-10-22 12:58:25 +02:00
Martin Piatka
c8546e028e screen_x11: Fix root window check 2025-10-22 12:14:27 +02:00
Martin Piatka
df2aee51e7 hd-rum-recompress: Remove redundant check
The new operator either returns a valid pointer or throws and exception, so the condition is always false
2025-10-22 12:09:56 +02:00
Martin Piatka
8e4378f8ba video_codec: Fix potential out of bounds read 2025-10-22 11:56:29 +02:00
Martin Piatka
cce89ad3a6 utils/video_frame_pool: Use rethrow expression
Throwing the exception by name can cause unnecessary copying
2025-10-21 15:42:54 +02:00
Martin Piatka
00decb9176 disp/vulkan: Use rethrow expression
Throwing the exception by name can cause unnecessary copying
2025-10-21 15:42:13 +02:00
Martin Piatka
7b64bf12c9 hd-rum-decompress: Add missing initializers 2025-10-20 15:50:41 +02:00
Martin Piatka
fc2f2f0f5f hd-rum-decompress: Make class final and mark overriden methods 2025-10-20 15:50:41 +02:00
Martin Piatka
353637c0b5 ug_input: Add missing initializers 2025-10-20 15:50:41 +02:00
Martin Piatka
b4a20f27d8 ug_input: Make class final and mark overriden methods 2025-10-20 15:50:41 +02:00
Martin Piatka
ea91f802f0 vdisp/pipe: frame_recv_delegate: Add virtual dtor
Dtor is overriden in subclasses, so it needs to be virtual
2025-10-20 15:50:41 +02:00
Martin Piatka
ec48dacebe pbuf.h: Add missing include guard 2025-10-20 15:50:41 +02:00
Martin Piatka
0d4bf9f802 pdb.h: Add missing include guard 2025-10-20 15:50:41 +02:00
Martin Piatka
194a06259e audio/wav_reader: Add missing include guard 2025-10-20 15:50:40 +02:00
Martin Pulec
da5c166935 CI Windows: updated Spout build
the CMakeList.txt in upstream changed build location

+ print missing items in configure.ac
2025-10-20 11:41:56 +02:00
Martin Piatka
e75a5bc99f testcard_common: Don't compare pointer to VIDEO_CODEC_NONE 2025-10-17 12:25:00 +02:00
Martin Piatka
2e53e19e94 export: Return pointer as NULL instead of false 2025-10-17 12:25:00 +02:00
Martin Piatka
c3cc477bf3 vulkan/compile_shaders.sh: Default value for SOURCE_PATH 2025-10-17 12:25:00 +02:00
Martin Piatka
2494f7f886 vulkan/compile_shaders.sh: Fix ShellCheck SC2068 2025-10-17 12:25:00 +02:00
Martin Piatka
0fcb96096a hd-rum-recompress: Add missing include guard 2025-10-17 12:25:00 +02:00
Martin Piatka
b1b9bc25e0 hd-rum-decompress: Add missing include guard 2025-10-17 12:25:00 +02:00
Martin Piatka
573a7ce636 md5.h: Add missing include guard 2025-10-17 12:24:59 +02:00
Martin Piatka
eb5e77b980 compat/aligned_malloc: Add missing include guard 2025-10-17 09:55:11 +02:00
Martin Piatka
75388e0412 GUI: ultragrid_window: Remove unused method 2025-10-15 13:39:53 +02:00
Martin Piatka
bd0ac4c87f GUI: recv_report: Rename reset() to avoid shadowing
The parent class QProgressBar already has a reset() method so rename to avoid confusion
2025-10-15 13:39:10 +02:00
Martin Piatka
3dcd9ee31b GUI: recv_loss: Rename reset() to avoid shadowing
The parent class QProgressBar already has a reset() method so rename to avoid confusion
2025-10-15 13:38:55 +02:00
Martin Piatka
bd5bbe21b5 decompress/cineform: Use MOD_NAME 2025-10-15 12:38:13 +02:00
Martin Piatka
99473ff102 decompress/cineform: Code quality improvements 2025-10-15 12:35:07 +02:00
Martin Piatka
5200381253 decompress/cineform: Remove unneeded fields 2025-10-15 12:32:01 +02:00
Martin Piatka
e8171e2f97 decompress/cineform: Return null on failed init 2025-10-15 11:29:45 +02:00
Martin Piatka
15bdf0be85 decompress/cineform: Add missing initializers 2025-10-15 11:26:31 +02:00
Martin Piatka
6c9c238f43 decompress/cineform: Remove unused field 2025-10-15 11:21:37 +02:00
Martin Pulec
92b19f0f42 suppress CID 896356 2025-10-14 13:17:10 +02:00
Martin Pulec
09f82871f4 compat/endian: sync with GPUJPEG
ported changes from GPUJPEG, mostly cosmetic

For Win32 implementation, winsock2 is not used at all - Windows stdlib.h
contains _byteswap_* family so it is better to use these and not pull
the whole winsock2.h header struff (and also the winsock library but this
is irrelevannt for UG because we need to link with it unconditionally).
2025-10-14 13:17:10 +02:00
Martin Piatka
f3f7f5885e compress/cineform: Use string_view cfg parsing 2025-10-14 10:50:25 +02:00
Martin Piatka
495d6e7fb9 compress/cineform: Use MOD_NAME 2025-10-14 10:50:24 +02:00
Martin Piatka
d4e20f4823 compress/cineform: Use unique_ptr in init 2025-10-14 10:50:24 +02:00
Martin Piatka
1dc709cb13 compress/cineform: Add missing initializers 2025-10-14 10:50:24 +02:00
Martin Piatka
86988b1a3e disp/unix_sock: Various code quality improvements 2025-10-14 10:50:24 +02:00