Paul B Mahol
e5ac70042e
avformat/aiff: add support for ADPCM N64 decoder
...
(cherry picked from commit 0fdf549a890f276243ba62f194e0ec08b10df60f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-09-22 23:46:29 +00:00
Paul B Mahol
00eef74336
avformat/adxdec: add AHX support
...
(cherry picked from commit b40bb6ad1e5739dd7927f3be5c2a06fb8aeef0cb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-09-22 23:46:29 +00:00
Michael Niedermayer
745cb6f8c7
configure: Put modules added from almpeg under --enable-gpl as suggested by several members of the GA
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-09-22 23:46:29 +00:00
asivery
97bfb606e3
avformat/aeadec, avcodec/atrac1: Fix 8 and 4-channel ATRAC1 support
...
Signed-off-by: asivery <asivery@protonmail.com >
(cherry picked from commit 81cdf42222961c2959f1ede2d86fea0d1dcbbfcb)
2025-09-22 23:46:29 +00:00
Paul B Mahol
e0638cee0a
avcodec/adpcm: improve decooding output for 4-bit ADPCM IMA WAV
...
(cherry picked from commit f11422f1a6251e2b3c42b4044efbc722b863778d)
2025-09-22 23:46:29 +00:00
Paul B Mahol
066432ebcf
avcodec: add ADPCM IMA Escape audio decoder
...
(cherry picked from commit 4a663e78c4421da226e7d480d6767de803ee2122)
2025-09-22 23:46:29 +00:00
Paul B Mahol
5d6c9a15eb
avcodec: add ADPCM Circus decoder
...
(cherry picked from commit cdd3d794c7e01e4d6f485e7b975a4b9107d3f2fd)
2025-09-22 23:46:29 +00:00
Paul B Mahol
f6dfb20302
avcodec: add ADPCM PSXC audio decoder
...
(cherry picked from commit a4055b5cc6d77c26867948e24de6bdfd5c0e6a3b)
2025-09-22 23:46:29 +00:00
Paul B Mahol
a4f778890b
avcodec/adpcm: fix non-4bit adpcm ima wav decoding
...
(cherry picked from commit f4e05abeded46515bd7b4248fc7d65df82d9af2a)
2025-09-22 23:46:29 +00:00
Paul B Mahol
30fc5b1baa
avcodec: add ADPCM IMA Magix decoder
...
(cherry picked from commit 2ec3ad2122484ce2c84f6ba055c5ebc1661c5b14)
2025-09-22 23:46:29 +00:00
Paul B Mahol
58c0711fca
avcodec: add ADPCM IMA HVQM2 decoder
...
(cherry picked from commit 480e36592d5fc27a47e378d62570824613f26b7b)
2025-09-22 23:46:29 +00:00
Paul B Mahol
1943b31cdd
avcodec/adpcm: fix overflow in mono ADPCM IMA HVQM4
...
(cherry picked from commit 6a9b0f7272a0725abbe6f887f766fb5f1f119a66)
2025-09-22 23:46:29 +00:00
Paul B Mahol
5fc9c79f53
avcodec: add ADPCM Silicon Graphics N64 decoder
...
(cherry picked from commit 13484237fdf19c9d927b8a64b81d00100a4178c3)
2025-09-22 23:46:29 +00:00
Paul B Mahol
648b5d017d
avcodec: add ADPCM IMA PDA decoder
...
(cherry picked from commit ab9f7513d55cfd87d1a1ce22d02abffbfb9bb296)
2025-09-22 23:46:29 +00:00
Paul B Mahol
424dbb03ae
avcodec: add ADPCM IMA HVQM4 decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
(cherry picked from commit bae3cecfa6f1fbc765d95d84ef4a377aedbca8bb)
2025-09-22 23:46:29 +00:00
Paul B Mahol
e95171fbff
avcodec: add AHX parser
...
(cherry picked from commit ddcb47c4c512bf49b22cc6b2d07fade0f96377e3)
2025-09-22 23:46:29 +00:00
Paul B Mahol
b2e821310b
avcodec: add AHX decoder
...
(cherry picked from commit 039dc23d185214b8b0ef2bbccae197ceb5ad42a2)
2025-09-22 23:46:29 +00:00
Michael Niedermayer
b1cbc7c8ff
configure: strip non numeric trailer from gcc version
...
Fixes: ../configure: 7820: [: Illegal number: 13-win32
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-09-22 21:41:42 +00:00
Andreas Rheinhardt
b815431126
Revert "avformat/tls_openssl: add av_assert0() for tls_shared"
...
This reverts commits fd55c4b5f7
(for tls_openssl.c) and c74181a04b
(for tls_gnutls.c).
It is impossible for a pointer to a member of a structure
to be NULL: If the containing structure exists, the member
exists and can't have a NULL address; if the containing
structure does not exist, then getting a pointer to the
substructure via &c->tls_shared would already be undefined
behavior.
Reviewed-by: Kacper Michajłow <kasper93@gmail.com >
Reviewed-by: Steven Liu <lingjiujianke@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-22 22:02:03 +02:00
Andreas Rheinhardt
db6cd6c6bf
avformat/tls_openssl: Don't call functions inside FFMIN
...
It may call the function multiple times.
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org >
Reviewed-by: Steven Liu <lingjiujianke@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-22 21:58:00 +02:00
Brad Smith
ced4a6ebc9
libavutil/arm: Rename the HWCAP defines
...
Rename the HWCAP defines to use the same naming scheme as AArch64 and PPC.
Signed-off-by: Brad Smith <brad@comstyle.com >
2025-09-22 07:28:21 -04:00
Brad Smith
cdae5c3639
libavutil/arm: Make use of elf_aux_info() on FreeBSD/OpenBSD
...
- FreBSD/OpenBSD have elf_aux_info() on arm
- Wrap AT_HWCAP as the value is different for BSD vs Linux (16 vs 25)
Signed-off-by: Brad Smith <brad@comstyle.com >
2025-09-22 07:16:24 -04:00
Andreas Rheinhardt
c9168717bf
avcodec/h274: Make H274FilmGrainDatabase a shared object
...
Right now, the private contexts of every decoder supporting
H.274 film grain synthesis (namely H.264, HEVC and VVC)
contain a H274FilmGrainDatabase; said structure is very large
700442B before this commit) and takes up the overwhelming
majority of said contexts: Removing it reduces sizeof(H264Context)
by 92.88%, sizeof(HEVCContext) by 97.78% and sizeof(VVCContext)
by 99.86%. This is especially important for H.264 and HEVC
when using frame-threading.
The content of said film grain database does not depend on
any input parameter; it is shareable between all its users and
could be hardcoded in the binary (but isn't, because it is so huge).
This commit adds a database with static storage duration to h274.c
and uses it instead of the elements in the private contexts above.
It is still lazily initialized as-needed; a mutex is used
for the necessary synchronization. An alternative would be to use
an AV_ONCE to initialize the whole database either in the decoders'
init function (which would be wasteful given that most videos
don't use film grain synthesis) or in ff_h274_apply_film_grain().
Reviewed-by: Niklas Haas <ffmpeg@haasn.dev >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-22 04:54:22 +02:00
zhanghongyuan
b5e0d9f648
fftools/opt_common: add separator line to show_filters output
...
Add a separator line to show_filters() function output to maintain
consistent formatting with other show functions like show_codecs,
show_formats_devices, etc. This provides uniform formatting across
all command-line output functions for better readability and
parsing by external tools.
2025-09-22 02:47:40 +00:00
Krzysztof Pyrkosz
f1a155d975
avcodec/aarch64/vvc: Optimize dmvr_hv_10
...
Before and after on A53:
dmvr_hv_10_12x20_neon: 1838.2 ( 3.02x)
dmvr_hv_10_20x12_neon: 1330.2 ( 1.83x)
dmvr_hv_10_20x20_neon: 2148.2 ( 1.85x)
dmvr_hv_12_12x20_neon: 1839.2 ( 3.02x)
dmvr_hv_12_20x12_neon: 1330.6 ( 1.83x)
dmvr_hv_12_20x20_neon: 2147.2 ( 1.85x)
dmvr_hv_10_12x20_neon: 1755.0 ( 3.17x)
dmvr_hv_10_20x12_neon: 1165.8 ( 2.09x)
dmvr_hv_10_20x20_neon: 1876.1 ( 2.12x)
dmvr_hv_12_12x20_neon: 1754.4 ( 3.17x)
dmvr_hv_12_20x12_neon: 1167.8 ( 2.09x)
dmvr_hv_12_20x20_neon: 1878.8 ( 2.12x)
2025-09-21 19:39:27 +00:00
Niklas Haas
0bd5a7d371
avfilter/vf_colordetect: only report detected properties on EOF
...
Instead of reporting them also when the filtergraph is suddenly destroyed
mid-stream, e.g. during the `ffmpeg` tool's early init.
2025-09-21 13:28:58 +02:00
Niklas Haas
843920d5d6
avfilter/x86/vf_idetdsp: add AVX2 and AVX512 implementations
...
The only thing that changes slightly is the horizontal sum at the end.
2025-09-21 11:02:41 +00:00
Niklas Haas
4c067d0778
avfilter/x86/vf_idetdsp: generalize 8-bit macro
...
This is mostly compatible with AVX as well, so turn it into a macro.
2025-09-21 11:02:41 +00:00
Niklas Haas
00e05bcd68
tests/checkasm: add vf_idet checkasm
2025-09-21 11:02:41 +00:00
Niklas Haas
326abf359f
avfilter/vf_idetdsp: use consistent uint8_t pointer type
...
Even for 16-bit DSP functions. Instead, cast the pointer inside the
function.
2025-09-21 11:02:41 +00:00
Niklas Haas
60dbcc5321
avfilter/vf_idetdsp: pass actual bit depth
...
More informative and IMO cleaner; some implementations may want to
differentiate by exact bit depth or support 32 bit down the line.
2025-09-21 11:02:41 +00:00
Niklas Haas
56bb187ca9
avfilter/vf_idet: correctly update dsp function on format change
...
Currently, this never updates on change from high bit depth to low bit depth.
2025-09-21 11:02:41 +00:00
Niklas Haas
2b67137daa
avfilter/vf_idet: correctly reset pixdesc on format change
2025-09-21 11:02:41 +00:00
Niklas Haas
5830743363
avfilter/vf_idet: separate DSP parts
...
To avoid pulling in the entire libavfilter when using the DSP functions
from checkasm.
The rest of the struct is not needed outside vf_idet.c and was moved there.
2025-09-21 11:02:41 +00:00
Niklas Haas
367febc491
avfilter/vf_idet: expose DSP init function internally
...
For checkasm.
2025-09-21 11:02:41 +00:00
Zhao Zhili
e02e6d54b0
tests/fate/demux: add hxvs test case
2025-09-21 17:42:19 +08:00
Zhao Zhili
dcddb2bf08
avformat: add hxvs demuxer
2025-09-21 17:42:19 +08:00
Brad Smith
db0b86a4ad
avformat/udp: fix warning about unused varible
...
libavformat/udp.c:283:9: warning: unused variable 'i' [-Wunused-variable]
Signed-off-by: Brad Smith <brad@comstyle.com >
2025-09-20 22:59:50 -04:00
Michael Niedermayer
55e71768cf
avformat/dhav: Fix off by length of read element error
...
Fixes: out of array read
Fixes: BIGSLEEP-445383648
Fixes: crash_input_1/2/3.dhav
Found-by: Google Big Sleep
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-09-21 00:49:44 +00:00
Lynne
8d65da767b
lavf: fix demuxing of FLAC files with id3v2 tags
...
Due to the recent id3v2 refactor, FLAC was left out due to
earlier code not checking for id3v2 presence on FLAC.
Without the id3v2 data parsed, detection of FLAC and therefore
demuxing fails.
Fixes 9d037c54f2
2025-09-20 22:46:39 +09:00
Lynne
99285cba21
lavf/id3v2: report incorrect BOM value on error
2025-09-20 22:46:35 +09:00
Henrik Gramner
82b5a0faba
vp9: Remove 8bpc AVX asm for inverse transforms
...
There's very little performance difference vs SSE2/SSSE3 and most
systems will use the AVX2 implementations anyway.
This reduces code size and compilation time by a significant amount.
2025-09-19 23:12:59 +00:00
Henrik Gramner
0b5d46ee1c
vp9: Add 8bpc AVX2 asm for inverse transforms
2025-09-19 23:12:59 +00:00
Andreas Rheinhardt
49b5c17e09
avformat/mccdec: Constify data
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:31:10 +02:00
Andreas Rheinhardt
cce1af5413
avformat/mccenc: Hardcode codec names
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:31:05 +02:00
Andreas Rheinhardt
f65875c082
avformat/mccdec: Avoid relocations
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:31:02 +02:00
Andreas Rheinhardt
e965fe9057
avformat/mccenc: Avoid relocations
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:30:59 +02:00
Andreas Rheinhardt
28f0b7a237
avformat/mccenc: Add newlines to logmessages
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:30:53 +02:00
Andreas Rheinhardt
3c79219e93
avformat/mccenc: Check version-timecode compatibility earlier
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:30:33 +02:00
Andreas Rheinhardt
159330016c
avformat/mccenc: Deduplicate strings
...
Reviewed-by: Jacob Lifshay <programmerjake@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-09-20 00:30:28 +02:00