Andreas Rheinhardt
7722704774
avcodec/sgienc: Combine av_log() statements
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
2aef81b063
avcodec/sgienc: Mark encoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
3e75631541
avcodec/sgidec: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
6c697aee52
avcodec/tmv: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
a85bb5d7e6
avcodec/ulti: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
bfee34caae
avcodec/ws-snd1: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
9a7fe43c0f
avcodec/xxan: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
e645f0f0d3
avcodec/xxan: Cleanup generically on init failure
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
703abb3c0e
avcodec/xsubenc: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
42c0cf89fe
avcodec/xsubdec: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
88f0d6b60c
avcodec/xl: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
44a893f09c
avcodec/xfacedec: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
dbdad78b40
avcodec/xan: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
85e1d469af
avcodec/xan: Cleanup generically on init failure
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
13f10dc15e
avcodec/yuv4dec: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
ced33a2cde
avcodec/y41penc: Mark encoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
b509692c62
avcodec/y41pdec: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
c53f39abc3
avcodec/yop: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
b143f8c26a
avcodec/cljrdec: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
a6bed40865
avcodec/loco: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
5ff030f922
avcodec/pcm: Mark decoders as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
5634ce234a
avcodec/pcm: Make encoders init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
6643eaaa30
avcodec/adpcmenc: Mark encoders as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
87a5d9821f
avcodec/adpcm: Mark decoders as init-threadsafe
...
They don't modify any global state
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
868368aa38
avcodec/cdtoons: Mark decoder as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
6d4b969515
avcodec/a64multienc: Mark encoders as init-threadsafe
...
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Paul B Mahol
51f8848e36
avfilter/af_stereotools: add support for commands
4 years ago
Paul B Mahol
eebf19ccd8
avfilter/af_stereotools: add timeline support
4 years ago
Paul B Mahol
456146356a
avfilter/af_stereotools: add two more modes
4 years ago
Marton Balint
87c1b74233
fftools/cmdutils: also print warnings when using -sinks and -sources
...
Signed-off-by: Marton Balint <cus@passwd.hu>
4 years ago
Marton Balint
a6f6726a81
avdevice/decklink: warn about too old decklink API version
...
Signed-off-by: Marton Balint <cus@passwd.hu>
4 years ago
Marton Balint
acaf6c625b
avdevice/decklink_enc: simplify usage of buffercount type
...
Also remove some leftover declaration of CreateDeckLinkIteratorInstance().
Signed-off-by: Marton Balint <cus@passwd.hu>
4 years ago
Marton Balint
ff373bb4a8
avdevice/decklink_dec: add support for 50/60 fps timecode
...
Signed-off-by: Marton Balint <cus@passwd.hu>
4 years ago
Marton Balint
eca12f4d5a
avutil/timecode: add av_timecode_init_from_components
...
Signed-off-by: Marton Balint <cus@passwd.hu>
4 years ago
Marton Balint
2d90d51c56
avutil/timecode: allow drop frame timecodes for multiples of 30000/1001 fps
...
Signed-off-by: Marton Balint <cus@passwd.hu>
4 years ago
James Almer
53b4550bdd
avutil/film_grain_params: fix doxy for ar_coeff_* fields
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Andreas Rheinhardt
0639f5c294
avcodec/pthread_slice: Don't use static variable, fix race
...
ff_slice_thread_init() uses a static variable to hold a function
pointer, although the value of said pointer needn't be saved between
different runs of this function at all.
The reason for this being so is probably that said pointer points to
a static function (if used); but storage class specifiers like "static"
are not part of the type of an object and so including it in the pointer
declaration is wrong (anyway, "static" means different things in both
contexts: for the function declaration it affects linkage, for the
variable storage duration).
Using a static variable here can lead to races, e.g. when initializing
VP9 (for which said function pointer was added) and H.264 with slice
threading. The latter has the FF_CODEC_CAP_INIT_THREADSAFE flag set and
is therefore unaffected by the lock guarding initializations of
decoders.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Andreas Rheinhardt
4e26520039
avcodec/mpeg12enc: Disallow using MPEG-2 intra VLC table for mpeg1video
...
Using MPEG-2 intra VLC tables is spec-incompliant for MPEG-1 and given
that an MPEG-1 bitstream can't signal whether MPEG-2 intra VLC tables
have been used the output is broken. Therefore this option is removed
immediately without any deprecation period.
Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Paul B Mahol
0c8a0d3a56
avfilter/af_acrossover: add per output band gain
4 years ago
Paul B Mahol
13df9bfbcb
avutil/avsscanf: fix possible overreads when dealing with %c or %s
4 years ago
Paul B Mahol
b0298ad4e5
avfilter/af_acrossover: remove pointless allocation of static size
4 years ago
Paul B Mahol
0a5ff19643
avfilter/af_acrossover: document roll-off of each filter order
4 years ago
Paul B Mahol
ba6e2a2d05
avfilter/af_acrossover: move coefficients and state to simple arrays
4 years ago
Paul B Mahol
aa3566a8ee
avfilter/af_anequalizer: add timeline and slice support
4 years ago
James Almer
c35cf9fe53
avcodec/cbs_h2645: remove dead code in cbs_h2645_replace_ps()
...
Missed in 0720e15c03
. PS units are now guaranteed
to always be reference counter.
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
233a99e191
avcodec/cbs_av1: ensure Sequence Header unit content is always reference counted
...
Prevents a NULL pointer dereference.
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
052b4c3481
avcodec/vaapi_av1: read film grain param values from AV1Frames
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
6aa45a2769
avcodec/dxva2_av1: read film grain param values from AV1Frames
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
003aeeb3f6
avcodec/nvdec_av1: read film grain param values from AV1Frames
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
eee7ba8dba
avcodec/av1dec: infer and store film grain param values in AV1Frame
...
They are not always coded in the bistream for each frame. In some cases, the
values need to be taken from a reference frame.
See section 6.8.20 from the AV1 spec.
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago