Commit Graph

11385 Commits

Author SHA1 Message Date
Martin Piatka
cae185534c hd-rum-recompress: Avoid copying shared_ptr 2026-03-03 14:10:43 +01:00
Martin Piatka
6a5678b9f1 hd-rum-recompress.cpp: Add missing zero initializers 2026-03-03 14:10:43 +01:00
Martin Piatka
8fa39a7e99 hd-rum-recompress.cpp: Remove config includes 2026-03-03 14:10:43 +01:00
Martin Piatka
b85c17bc0b hd-rum-decompress: Add missing assert include 2026-03-03 14:10:43 +01:00
Martin Piatka
a79fbfee9d hd-rum-recompress.h: Remove config includes 2026-03-03 14:10:43 +01:00
Martin Piatka
e417b4c970 video_rxtx/sage: Remove config includes 2026-03-03 14:10:43 +01:00
Martin Piatka
e528314e3b video_rxtx/loopback: Remove config includes 2026-03-03 14:10:43 +01:00
Martin Piatka
37fae7eb44 video_rxtx/ihdtv: Remove config includes 2026-03-03 14:10:42 +01:00
Martin Piatka
eff2cbbc84 tools/ipc_frame_ug: Add copyright header 2026-03-03 14:10:42 +01:00
Martin Piatka
ae24fa6159 tools/ipc_frame_ug: Remove config includes 2026-03-03 14:10:42 +01:00
Martin Pulec
260798824d vdec/cmpto_j2k: adapt to updated probe API
pixfmt_desc::subsampling is now `enum subsampling`, not int
2026-03-03 11:29:25 +01:00
Martin Pulec
fb964ae47e vcomp/jpegxs: fix exitting when no frame sent
eg. `uv -c jpegxs` (only)

broken since 942a76725 (2026-02-24)

The `stop` var was actually needed this so revert this occurence but
improve to push to the encoder just if configured.
2026-03-03 09:03:09 +01:00
Martin Pulec
fa313a75b6 vcomp/jpegxs: properly end the queue
Do not bypass the queue by passing empty frame (poison pill) directly to
output queue but leave it passing normally through the pipeline ending
what is needed.

The output queue now can be 1 frame long.

This prevents accumulating frames when not being able to send the frame
at given pace (eg. `-l 10M` and bitrate=20M - this is just an approxmation,
clearly user won't set this but can occur eg. when coonected to 100M
link while the default bittrate is higher for FHD).
2026-03-03 08:52:29 +01:00
Martin Pulec
76223f8e7f vcomp/gpujpeg,jpegxs: improve msg on wrong config
if unknown parameter is passed, use more accurate err emssage

- also use ERROR in gpujpeg
- while IS_KEY_PREFIX is used, it can be also missing value to a known
parameter (eg. jpegxs:bitrate) so mention this as well
2026-03-03 07:54:50 +01:00
Martin Pulec
21fc584896 vcomp/jpegxs: parse_fmt: fix parsing value
fix 697d4bdb (2026-02-23), CID 900814

If parameter without value is passed, atoi(1) is called causing
crash. Currently, all of the parameters (except "help", which is already
handled) should have a value. But user may enter incorrectly a parameter
without value, eg. "blabla" causing the crash.
2026-03-03 07:47:06 +01:00
Martin Pulec
42fbe285eb configure.ac: --with-object-remove - example added 2026-03-03 07:39:04 +01:00
Martin Pulec
4e8e2fa652 decode_planar_parallel: add doxygen documenation
mainly important is the notice that decoding to planar formats (currently
to i420) should not be used
2026-03-03 07:38:51 +01:00
Martin Pulec
e667364445 vdec/jpegxs: configure_with: assert out_codec set
it is actually expected
2026-03-02 12:52:59 +01:00
Martin Pulec
8dd32d1515 vdec/jpegxs: subsampling strongly typed
+ removed the conditon comparing to 0 (should not be the case)
+ improved the message
+ remove no longer unused UNUSED()
2026-03-02 12:52:59 +01:00
Martin Pulec
76f5c60ccb pixfmt_desc: use the enum for subsampling
instead of just an int; the doxy documentation is no longer needed
(enum is documented by itself)
2026-03-02 12:52:59 +01:00
Martin Pulec
e366327553 configure.ac: set C standard to gnu2x for clang<17
to be able to compile normally without setting std in CFLAGS

+ remove it from macos-14 CI

clang 15 as in macOS 14 doesn't support c23 [[attributes]] such as
[[gnu::always_inline]]
2026-03-02 12:52:55 +01:00
Martin Pulec
bd353297ea from_lavc_vid_conv.c: mark one conversion as 02
(faster)
2026-02-27 16:07:15 +01:00
Martin Pulec
50a0fc05fb from_planar: revert back some optimizations
that seem to make a difference as for tool/benchmark_ff_convs (tested
again on x64 with gcc and arm64 with clang)

+ allow setting CFLAGS/CXXFLAGS from cmdline

most of the optimizations is applied just for clang (OPTIMIZED_FOR)

It is not necessary to apply the flags to all - some conversions seem
to be faster without, eg. gbrap->RGB(A).
2026-02-27 16:07:14 +01:00
Martin Pulec
cb5076b768 tools/Makefile: use pkg-config for libavcodec path
eg. when in non-system searched as on Mac with Homebrew
2026-02-27 16:07:14 +01:00
Martin Pulec
bd15860f0c OPTMIZED_FOR: update doc 2026-02-27 16:07:14 +01:00
Martin Pulec
9d2dcc36d1 build: do not use -Ofast
-Ofast is basically -O3 + -ffast-math

But from my measurements (x64 gcc and arm64 clang), it doesn't make
any difference as tested with `tools/convert benchmark`. Actually,
currently almost no conversion uses floating point math except of
vc_copylineUYVYtoRGBA, for which the -ffast-math didn't have any
performance impact.
2026-02-27 16:07:11 +01:00
Martin Piatka
8e1801ecdf disp/v4l2: Remove config includes 2026-02-27 13:09:54 +01:00
Martin Piatka
2526aa7407 disp/pipewire: Add copyright header 2026-02-27 12:56:52 +01:00
Martin Piatka
ed78ac032e disp/pipewire: Remove config includes 2026-02-27 12:55:47 +01:00
Martin Piatka
9e44d81550 disp/null: Remove config includes 2026-02-27 12:50:45 +01:00
Martin Piatka
2e63275b3b disp/unix_sock: Remove config includes 2026-02-27 12:49:49 +01:00
Martin Piatka
2ee3f6d82f disp/multiplier: Remove config includes 2026-02-27 12:48:40 +01:00
Martin Piatka
2eedef0801 disp/gl_vdpau: Add copyright header 2026-02-27 12:47:29 +01:00
Martin Piatka
b11b9f64f1 disp/gl_vdpau: Remove config includes 2026-02-27 12:44:14 +01:00
Martin Piatka
2c8b99074a disp/drm: Remove config includes 2026-02-27 12:42:13 +01:00
Martin Piatka
3a2b76ef33 disp/blend: Remove config includes 2026-02-27 12:38:36 +01:00
Martin Piatka
e6373942db decompress/cineform: Remove config includes 2026-02-27 11:59:32 +01:00
Martin Piatka
06cb9e5f2c compress/uyvy: Remove config includes 2026-02-27 11:59:32 +01:00
Martin Piatka
87895afcad compress/none: Remove config includes 2026-02-27 11:59:32 +01:00
Martin Piatka
7e7c44c6a1 utils/udp_holepunch: Remove config includes 2026-02-27 11:59:32 +01:00
Martin Pulec
68a8d7dcfa Revert "CI ARM: temporarily disable aplay/aes67"
This reverts commit 9245675d1b.

after migration to bookworm it compiles
2026-02-27 10:57:26 +01:00
Martin Pulec
a3661006ab update ARM runners to bookworm 2026-02-27 10:57:11 +01:00
Martin Pulec
0eda833282 CI ARM debootstrap: do not check sigs
not really needed (the risk is low) and so remove to simplify

(--no-check-gpg is --no-check-sigs in newer debootstrap versions)
2026-02-27 10:05:07 +01:00
Martin Pulec
b93c6d12f0 tools/benchmark_ff_convs: updated to the new API
.from_planar_func needs to be set from conv metadata now
2026-02-27 09:49:19 +01:00
Martin Pulec
65ef40ab55 ci macos-14 runner (arm64) set C standard to gnu2x
Improves the commit 4136c263 from last week - we usually expect gnu
extensions, although doesn't seem to cause problems in this case (but eg.
the asm keywords won't work /not used here because is arm64/ - __asm__
would be required instead).
2026-02-27 09:22:15 +01:00
Martin Pulec
9cf4d7d1c3 from_planar.h: sort functions alphabetically 2026-02-27 09:22:15 +01:00
Martin Pulec
45bb28c9a0 CI: enable SVT-JPEG-XS
only for Win + non-ARM Linux - doesn't seem to be officially supported
in neither ARM nor macOS

configure.ac - require just SVT-JPEG-XS 0.9 as is in msys Win package
(proxy mode commented out - isn't needed to set to "proxy_mode_full"
explicitly, anyways)
2026-02-27 09:22:09 +01:00
Martin Pulec
bb16efd994 vdec/jpegxs: respect pitch+shifts
after recent changes pretty strightforward
2026-02-27 09:20:56 +01:00
Martin Pulec
eeaea93bf6 vdec/jpegxs: allow decoding 10-bit Y444 to UYVY
This should be the last compat needed (in respect to the encoder producing
4:2:0 only in 8-bit - lavc encoder is not considered but it will likely
work just with encoded UYVY, anyways).
2026-02-27 09:20:56 +01:00
Martin Pulec
5a8df005a6 vdec/jpegxs: compat for 420 decode to UYVY
this may be quite useful because very few displays (if any) support I420
2026-02-27 09:20:56 +01:00