Commit Graph

10805 Commits

Author SHA1 Message Date
Martin Pulec
185f7de4cf vcap/deltacast: modernize ClockChannel usage
(from SDK sample Sample_RX4K.cpp)

Removed setting the ClockSystem - not present even in example in SDK
6.13.1.
2025-10-31 16:21:51 +01:00
Martin Pulec
6d5ffbe3d5 deltacast_get_mode_name: print width
some 1080 modes have 2048 width
2025-10-31 16:21:51 +01:00
Martin Pulec
4172b96bee deltacast: remove huge metadata struct
Use functions deltacast_get_frame_{mode,name} instead and just a
skeleton mode metadata hard-coded - compute what is needed/possible
(name, 1001-variant).

functional changes:
- 1080p50 is now possible (24p format set incorrectly before).
- vcap: metadata for American formats are corretly set (clock_system
was not taken into accout before and European was set, leading in slightly
incorrect metadata - 30 FPS instead of 29.97)
- vcap: available modes has now different order (American-style ordered
first - FPS is slightly smaller) + 2 small typos ("1Hz" and "59.97")

Otherwise this is roughly a refactor.
2025-10-31 16:21:51 +01:00
Martin Pulec
a29e64140d deltacast_frame_modes: added 1000/1001 4K modes
Similar as for HD formats - the same mode is listed twice, differing in
clock_system, name and FPS.

removed duplicite VHD_VIDEOSTD_4096x2160p_25Hz
2025-10-31 16:21:50 +01:00
Martin Pulec
dd148d2b97 aplay/alsa: replace [[maybe_unused]] with GCC attr
Some quite old GCC (7.5 in U18.04) don't have c23 function
attributes. While this is a bit old distro but the feature is quite new
according to C standard so use GCC attribute for now (we will almost
certainly compile with clang/GCC in Linux).
2025-10-31 16:20:48 +01:00
Martin Pulec
960a36288d CI: compute checksums
compute SHA256 checksums for builds

this is useful at least for 2 reasons:
1. user can ensure that the build comes really from the CI (isn't
tampered)
2. can identify or match version with appropriate action run (the $VERSION
is usually always "continuous", except for releases)

The sha256 sum is currently only show in the protocol, not uploaded
to GH releases - this doesn't seem to be needed because GH currently
already prints the checksum by itself on the download (releases) page.

Skip computing checksum in Win when uplad-artifact is used - the zip
is actually created by the Action so we cannot compute the checksum
on it.

/sbin/sha256sum is not present in CI mac workers for some reason
2025-10-31 16:18:57 +01:00
Martin Pulec
c13daa7f16 CI win make bundle: remove unused commands
Remove commands that actually do nothing because uv-qt.exe is installed
by make install and the contents of bin/ subdirectory is not copied
"as is" as the command seem to imply.

+ use $(TARGET) in Makefile instead of bin/uv (which will be bin/uv.exe
in MSW but obviously it worked even without the extension)
2025-10-31 16:18:46 +01:00
Martin Pulec
9c9b28edc0 CI Win make bundle: reindent
shorter lines + respect shell formatting

+ dot before "exe" (glob)
+ leading 2 spaces instead of 4 to be consistent with the rest
2025-10-31 16:18:39 +01:00
Martin Pulec
4f5b4df4a7 vdisp/deltacast: set correct Amercian system
Althought there are in deltacast_frame_modes the modes for eg. 1080p29
and 1080p30 listed separately, both point to the same video standard
mode VHD_VIDEOSTD_S274M_1080p_30Hz. This is perhaps taken orignally from
some SDK samples, anyways. The clock system seem to be required to set
separate from the video standard. This was hard-coded in init to 1/1.
2025-10-31 16:13:48 +01:00
Martin Piatka
08692a1c60 random: Add include guard 2025-10-31 13:26:23 +01:00
Martin Piatka
c19711d0eb glx_common: Add include guard 2025-10-31 13:25:14 +01:00
Martin Piatka
5b14e52331 vdisp/vulkan: Remove redundant condition 2025-10-31 12:17:22 +01:00
Martin Piatka
cae143f51d lavc: Add some capabs documentation 2025-10-29 17:40:50 +01:00
Martin Piatka
fde12a8710 video_compress: Add some capabs documentation 2025-10-29 17:40:49 +01:00
Martin Pulec
a7322bdd5e configure: fix adding DELTA_INC
:+ instead of :- (if not empty, actually appended _without_ the space)

commit 3f9fe348 (2025-10-23)
2025-10-29 16:32:00 +01:00
Martin Piatka
58f9e61e12 audio/coreaudio: Add missing include guard 2025-10-24 14:37:38 +02:00
Martin Piatka
5d30e99a4d audio/jack: Make the sender & receiver variables a normal bool 2025-10-24 14:37:38 +02:00
Martin Piatka
25c9de7911 audio/jack: Move stdbool.h include to .c file 2025-10-24 14:37:38 +02:00
Martin Piatka
d18162521b audio/jack: Remove config.h 2025-10-24 14:37:37 +02:00
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