Vittorio Giovara
2c01257819
amr: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
641761ac6e
alp: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
ffc4fd3cc2
alsa: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
00c5526fc8
aixdec: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
0ecd7106d7
aiff: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
14bbc23b68
afc: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
333a48d617
aea: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
5e9dd31e2d
adxdec: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
a4630dc046
ads: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
ced933a394
adp: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
06bc48a878
act: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
f696343d13
acm: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
ee9c142c2e
ace: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
bca70e7912
aax: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
c72095739c
aa: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
c465791d3b
4xm: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
b49e80a649
3dostr: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
ac10e3c47c
lavf: convert the generic layer to the new channel layout
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
c30e22c9fb
lavf: add a temporary compat layer for the channel layout API change
...
Mediates between old-style (de)muxers and new-style callers. Will be
removed once all the (de)muxers are converted to the new API.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
276c06726f
avcodecpar: switch to the new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
db6efa1815
avframe: switch to the new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
09b5d3fb44
lavc: deprecate channel count/layout changing side data
...
They are incompatible with the new channel layout scheme and no decoder
uses them.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
f423497b45
lavu: support AVChannelLayout AVOptions
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
f51e169d2b
fate: add a channel_layout API test
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
086a804806
avutil/channel_layout: Add a new channel layout API
...
The new API is more extensible and allows for custom layouts.
More accurate information is exported, eg for decoders that do not
set a channel layout, lavc will not make one up for them.
Deprecate the old API working with just uint64_t bitmasks.
Expanded and completed by Vittorio Giovara <vittorio.giovara@gmail.com>
and James Almer <jamrial@gmail.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Andreas Rheinhardt
dcc3f62270
avcodec/flashsv: Avoid deflating data
...
Currently priming the zlib decompressor involves compressing
data directly after having decompressed it and decompressing
it again in order to set the "dictionary" and to initialize
the adler32-checksum. Yet this is wasteful and can be simplified
by synthetizing the compressed data via non-compressed blocks.
This reduced the amount of allocations for the decoding part
of fate-vsynth1-flashsv2, namely from
total heap usage: 9,135 allocs, 9,135 frees, 376,503,427 bytes allocated
to
total heap usage: 2,373 allocs, 2,373 frees, 14,144,083 bytes allocated
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
88cccd1c73
avcodec/flashsv: Avoid copying packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Martin Storsjö
c3fea6d83b
aarch64: Only emit the PAC/BTI note section when targeting ELF
...
This avoids build errors if such features are enabled while targeting
another binary format. (Using such features on other platforms
might require some other form of signaling/setup though, but
the ELF specific .note section isn't applicable at least.)
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
Paul B Mahol
2ba38beb79
avfilter/vf_epx: stop doing read overflow
3 years ago
Michael Niedermayer
6f9b4b3e15
avcodec: Add dv marker bsf
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
31c4c99ff9
tools/target_dec_fuzzer: Adjust threshold for DFA
...
Fixes: Timeout
Fixes: 45351/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DFA_fuzzer-5768895011618816
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Paul B Mahol
58f867ffef
avfilter/avf_abitscope: rename macro to less generic one
3 years ago
Yiyuan GUO
2201c91fbf
avfilter/vf_palettegen: add protection against potential divide by zero
...
In libavfilter/vf_palettegen.c, the function get_avg_color requires
that box->len greater than zero to avoid dividing by zero. However,
the call sequence filter_frame -> get_palette_frame -> get_avg_color
may not satisfy this precondition. Fixes #9222 .
Signed-off-by: Yiyuan GUO <yguoaz@gmail.com>
3 years ago
Zhao Zhili
910a24eb33
avutil/hwcontext_vulkan: fix typo in undef
3 years ago
Paul B Mahol
1ab83dd369
avfilter/vf_fieldhint: add pattern mode of filtering
3 years ago
Paul B Mahol
c0f49378a9
avfilter/af_afftdn: allow user to control number of bands
3 years ago
Paul B Mahol
deffacb6b4
avfilter/af_afftdn: use correct variable in for loops
...
Tehnically changes nothing as they are same value currently.
3 years ago
Paul B Mahol
4eb76e7461
fate: add decimate filter test
3 years ago
Paul B Mahol
a71a3d1ed2
avfilter/af_afftdn: stop producing small impulsive noise at start of output
3 years ago
Paul B Mahol
19614921e9
avfilter/vf_decimate: also check for ready frames if not ppsrc is used
...
Fixes filtering when cascading multiple decimate filters.
3 years ago
James Almer
d794b36a77
avcodec/libsvtav1: remove version check macro workaround
...
The current minimum supported version defines the macro.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
50bc872635
avcodec/libsvtav1: fine tune qp mode settings
...
As requested in https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1829
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
4e47ebf38b
avcodec/libsvtav1: deprecate some options
...
svtav1-params should be used for these.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Paul B Mahol
07b8d6a897
avfilter/avf_showspectrum: stop rewriting pts
...
Also fix dropping of first frame for fullframe sliding.
3 years ago
Paul B Mahol
61224c856c
avfilter/af_afftdn: add way to control noise floor link for >1 channels
3 years ago
Paul B Mahol
3cb5a5f64c
avfilter/af_afftdn: improve residual tracking
3 years ago
Paul B Mahol
9e279c8c2d
avfilter/af_afftdn: rename some variables to less cryptic name
3 years ago
Paul B Mahol
b578324b1d
avfilter/af_afftdn: reduce some pointless pointer indirections
3 years ago
Paul B Mahol
447ca90bcf
avfilter/af_afftdn: use define for sfm flags mask and size
...
Instead of hardcoding values.
3 years ago
Paul B Mahol
546afd0d49
avfilter/af_afftdn: allow user to change ratio factor
...
While here change default to lower value as previous
value were causing too much smearing on time axis of spectrogram.
3 years ago