Commit Graph

10763 Commits

Author SHA1 Message Date
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
Martin Piatka
bc0a1e068a acap/pipewire: Add missing zero initializers 2025-10-14 10:50:23 +02:00
Martin Piatka
8d39d3148c aplay/pipewire: Add missing zero initializer 2025-10-14 09:33:05 +02:00
Martin Piatka
48cb1aded0 afilter/discard: Remove unused include 2025-10-14 09:30:39 +02:00
Martin Piatka
20b51fbc13 vdisp/pipewire: Remove unused include 2025-10-14 09:29:42 +02:00
Martin Pulec
c3fd68a449 testcard: accept sym. col names for other patterns 2025-10-08 15:47:52 +02:00
Martin Pulec
2833130910 testcard pattern blank: supp for sym names 2025-10-08 15:47:51 +02:00
Martin Pulec
41d3e1902f configure.ac: if file not foud, print missing lib 2025-10-08 15:47:31 +02:00
Martin Pulec
434d23ddd6 color.{c,h}: rename to color_space
color is too much general - the declarations relate to color spaces
2025-10-08 15:19:36 +02:00
Martin Pulec
b939d38cd9 vulkan format_info: return value instead of ref
do not tackle with references - needlessly making this more complex

With returning the variable, no static variables needed, just the
references need to be explicitly const (which were previously as well,
although implicitly).
2025-10-08 15:18:06 +02:00
Martin Pulec
cbf4269ccd vulkan format_info: static data constexpr
Mark the returned variables as constexpr. Having inline function that
returns reference (although const) to non-const static variable perhaps
disallow inlining. Some caller maight have issued const_cast<> to a
non-const reference and modify the value which may be allowed (the)
static value is non-const.

Setting the vars to non-const should solve the problem. Using constexpr
is just nicer (requires avoiding std::string). Returning the value
directy instead of reference should be OK as well.
2025-10-08 10:47:40 +02:00
Martin Pulec
4c8eec8273 vulkan: rename Y416 and VUYA vkd counterparts
Y416 was called UYVA16_422(_conv) which is incorrect, since the codec
subsampling is 4:4:4:4 (444 with alpha).

VUYA8 - added 4444 for the consistency (all YCbCr formats contain
subsampling).
2025-10-08 10:31:53 +02:00
Martin Pulec
082a189c1f fix CID 896222
not important at all
2025-10-08 08:56:58 +02:00
Martin Pulec
088e2308de vcap/file: fix locking
The fix commit 8c19440a (2025-10-01) locked in flush_capture_data(),
which was ok when called from rewind_file(). But that function is
called also from vidcap_file_process_message() which is called with
mutex already held (CID 896223).

So moving the lock from flush_captured_data() up to rewind_file().

Also CID 896221 is fixed - subsequent s->new_msg was called seemingly
without lock (double lock + 1x unlock considered unlocked). Now in this
context one pair lock/unlock was removed which means that the lock is
still held.

fixes CID 896221, CID 896223, commit 8c19440a
2025-10-08 08:56:50 +02:00
Martin Pulec
43e33e1399 vulkan: support VUYA
with shader
2025-10-07 16:01:56 +02:00
Martin Pulec
0dcedcb4a1 vulkan_sdl2: use correct log module prefix 2025-10-07 13:43:58 +02:00
Martin Pulec
aa9e886fc3 vulkan: format_info: do not use std::array
The metadata array was actually positionally indexed, which was error prone.

Use rather switch - the advantage is that also a warning is issued if
some enum member not handled and also solves the above.
2025-10-07 11:31:31 +02:00
Martin Pulec
dec438c8e3 vulkan_display: remove is_yCbCr_format
identically defined in vulkan_context.hpp
2025-10-07 11:16:10 +02:00
Martin Pulec
0486fa49af keycontrol: do not use operator>>(video_desc)
Similarly as in previous codec - parsing to std::string and then printing
back is unnecessary. Consider rather removing the operator>>.
2025-10-06 10:47:22 +02:00
Martin Pulec
840ed1faf0 keycontrol: print Transmitted vfmt + in codec
- s/Captured/Transmitted/ video format (has compressed codec)
- print the input codec in brackets
- do not parse the format from istringstream and print directly
2025-10-06 10:26:41 +02:00
Martin Pulec
a98c7dee24 ultragrid_rtp: IWYU 2025-10-06 09:46:28 +02:00
Martin Pulec
3b77220f23 vcap/testcard2: remove unused variable
unneeded since generic FPS ind. used
2025-10-06 09:32:11 +02:00
Martin Pulec
0ce208d026 video_rxtx: process SENDER_MSG_QUERY_VIDEO_MODE
moved from RTP - allows processing for all video_rxtx now

Note that (as just like previously), on the console if 'i' is pressed, the
compressed format is print, not Captured (as indicated by the message).
2025-10-06 08:56:03 +02:00
Martin Pulec
0921b1d30b CI Linux FFmpeg: build own dav1d
current FFmpeg code requires dav1d >1.0.0 but in Ubuntu 22.04 is just 0.9.2
2025-10-03 15:57:09 +02:00