ff_qsv_print_iopattern, ff_qsv_print_error and ff_qsv_print_warning can be
used outside of lavc. In addition, ff_qsv_map_error is used in
libavcodec/qsv.c only, so remove ff_ from ff_qsv_map_error and make it
static.
Signed-off-by: Haihao Xiang
---
libavcodec/Makefile| 2 +-
libavco
Dump iopattern mode and the SDK error/warning desciptions for qsv based
filters and iopattern mode for qsvenc
Signed-off-by: Haihao Xiang
---
libavcodec/qsvenc.c | 1 +
libavfilter/qsvvpp.c | 21 +--
libavfilter/qsvvpp.h | 10 +
libav
> 2020年11月23日 下午3:23,Nikola Pajkovsky 写道:
>
> Nikola Pajkovsky writes:
>
>> Nikola Pajkovsky writes:
>>
>> Ping?
>
> Ping. Steven, Andreas, can you look at the the latest iteration of the
> path?
>
>>> init.mp4 can be expanded with strftime() the same way as
>>> hls_segment_filename.
>>>
Nikola Pajkovsky writes:
> Nikola Pajkovsky writes:
>
> Ping?
Ping. Steven, Andreas, can you look at the the latest iteration of the
path?
>> init.mp4 can be expanded with strftime() the same way as
>> hls_segment_filename.
>>
>> Signed-off-by: Nikola Pajkovsky
>> ---
>> v2: fix memleak on s
When update_grain is zero, the parameters should be taken from a
reference frame instead.
---
libavcodec/dxva2_av1.c | 59 +-
1 file changed, 30 insertions(+), 29 deletions(-)
diff --git a/libavcodec/dxva2_av1.c b/libavcodec/dxva2_av1.c
index c6cbd48f5f..35
On 11/23/2020 9:08 AM, Lynne wrote:
From e11df30e25f1b27a4ec3efb7dc894b8cf59113d2 Mon Sep 17 00:00:00 2001
From: Lynne
Date: Thu, 12 Nov 2020 12:44:30 +0100
Subject: [PATCH v3 1/4] libavutil: introduce AVFilmGrainParams side data
This patch introduces a new frame side data type AVFilmGrainPar
Nov 22, 2020, 21:28 by jamr...@gmail.com:
> On 11/12/2020 4:28 PM, Lynne wrote:
>
>> Nov 12, 2020, 19:46 by jamr...@gmail.com:
>>
>>> On 11/12/2020 2:42 PM, Lynne wrote:
>>>
This patch introduces a new frame side data type AVFilmGrainParams for use
with video codecs which are able to use
On Tue, Nov 17, 2020 at 02:18:46PM +0100, Matthieu Bouron wrote:
> On Mon, Nov 09, 2020 at 06:26:46PM +0100, Matthieu Bouron wrote:
> > On Mon, Nov 02, 2020 at 12:42:19PM +0100, Matthieu Bouron wrote:
> > > Currently skip_samples is set to start_pad if sample_time is lesser or
> > > equal to 0. Thi
Signed-off-by: Paul B Mahol
---
doc/filters.texi | 15 +++
libavfilter/Makefile | 1 +
libavfilter/af_asupcut.c | 248 +++
libavfilter/allfilters.c | 1 +
4 files changed, 265 insertions(+)
create mode 100644 libavfilter/af_asupcut.c
diff --g
ff_riff_info_conv deals with riff metadata already, so, not need to add
those metadata in avi_metadata_conv
---
libavformat/avidec.c | 8
1 file changed, 8 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 7e527e15ee..75a76b995d 100644
--- a/libavformat/avidec.c
---
libavformat/av1.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/libavformat/av1.c b/libavformat/av1.c
index 0cbffb1fd8..5512c4e0f7 100644
--- a/libavformat/av1.c
+++ b/libavformat/av1.c
@@ -375,6 +375,20 @@ int ff_isom_write_av1c(AVIOContext *pb, const uint8_t
*buf, int
Libavcodec can now handle the AV1CodecConfigurationRecord structure
as-is when passed as extradata, so the standard behavior of
read-box-into-extradata should suffice, just like with AVC and HEVC.
---
libavformat/mov.c | 30 +-
1 file changed, 1 insertion(+), 29 deletio
Until now an API user with a non-libavformat MP4 or Matroska demuxer
would have had to manually filter the extradata to skip the first four
bytes when passing data to libavcodec, so that only the OBUs would
remain. Now the AV1CodecConfigurationRecord structure can be passed
to libavcodec as-is. Thi
Libavcodec can now handle the standard AV1CodecConfigurationRecord
extradata as-is.
---
libavformat/matroskadec.c | 4
1 file changed, 4 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 44db2c8358..da0fadd47a 100644
--- a/libavformat/matroskadec.c
+++ b/l
From: Mark Thompson
This is useful in decoders and parsers, matching the way that bitstream
filters read extradata from AVCodecParameters.
---
libavcodec/cbs.c | 77
libavcodec/cbs.h | 11 +++
2 files changed, 50 insertions(+), 38 deletions(-)
This lets us re-utilize the extradata-related checks in the CBS
to add support for passing the AV1CodecConfigurationRecord
as extradata as-is without further filtering.
---
libavcodec/av1_parser.c | 2 +-
libavcodec/av1dec.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --g
On Wed, Nov 11, 2020 at 7:39 AM Anton Khirnov wrote:
> Quoting Thierry Foucu (2020-11-07 00:10:17)
> > ---
> > libavformat/avidec.c | 17 +
> > 1 file changed, 17 insertions(+)
> >
> > diff --git a/libavformat/avidec.c b/libavformat/avidec.c
> > index 578cf68ce1..7e527e15ee 10064
This way API clients can just pass the AV1CodecConfigurationRecord
as extradata as-is without further filtering.
---
libavcodec/cbs_av1.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c
index 9badfe31e4..9ae2f59872
There are no ff_sine_windows for 2^i, 0 <= i < 5, so one should check
for the index being >= 5.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sinewin_tablegen.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/sinewin_tablegen.h b/libavcodec/sinewin_tablegen.h
in
The floating point AAC decoder is the only user of these tables, so it
makes sense to move them there. Furthermore, initializing the ordinary
power-of-two sinetables is currently not thread-safe and if the 120- and
960-point sinetables were not moved, one would have to choose whether
to guard initi
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sinewin_tablegen.h | 43 ++
libavcodec/sinewin_tablegen_template.c | 1 +
2 files changed, 44 insertions(+)
diff --git a/libavcodec/sinewin_tablegen.h b/libavcodec/sinewin_tablegen.h
index 1959074189..ced3b7874c 1
Possible because ff_init_ff_sine_windows() is now threadsafe.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/atrac1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c
index b2a2d5e6a1..31ec323370 100644
--- a/libavcodec/atrac1.c
+++
Signed-off-by: Andreas Rheinhardt
---
libavcodec/atrac3plus.h| 4 ++--
libavcodec/atrac3plusdec.c | 16 +++-
libavcodec/atrac3plusdsp.c | 8
3 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/libavcodec/atrac3plus.h b/libavcodec/atrac3plus.h
index 3c39e293
The floating point kbd tables for 120 and 960 samples are only used by
the floating point decoder whereas the fixed point kbd tables for 128
and 1024 samples are only used by the fixed point AAC decoder. So move
these tables to their only users. This ensures that there are not
accidentally used som
Easy now that initializing the ff_sine_* tables is thread-safe.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/nellymoserdec.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index d667d9ce79..49a21b43ce 100644
Signed-off-by: Andreas Rheinhardt
---
libavcodec/aacdec_template.c | 10 ++
libavcodec/aacenc.c | 6 +-
libavcodec/aactab.c | 14 ++
libavcodec/aactab.h | 3 +++
4 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/libavcodec/aacdec_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/nellymoserenc.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c
index 9d22ac8cca..e5c9806be8 100644
--- a/libavcodec/nellymoserenc.c
+++ b/libavcodec/ne
Commit 1a29804558c13ef512d9ef73a9b0d782af4fa5f2 guarded several
initializations of static data in the AAC decoders with an AVOnce and
set the FF_CODEC_CAP_INIT_THREADSAFE flag, believing the former to be
sufficient for the latter. It wasn't, because several of these static
tables are shared with ot
Signed-off-by: Andreas Rheinhardt
---
libavcodec/nellymoserenc.c | 41 ++
1 file changed, 24 insertions(+), 17 deletions(-)
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c
index e5c9806be8..aea9fe286c 100644
--- a/libavcodec/nellymoserenc.
There are actually only 14 elements in each ff_sine_windows array.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sinewin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/sinewin.h b/libavcodec/sinewin.h
index 7b64096a71..1348740905 100644
--- a/libavcodec/sinew
Signed-off-by: Andreas Rheinhardt
---
libavcodec/aactab.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/aactab.h b/libavcodec/aactab.h
index ce6a7ba1d2..f950c13eee 100644
--- a/libavcodec/aactab.h
+++ b/libavcodec/aactab.h
@@ -95,7 +95,6 @@ DECLARE_ALIGNED(32, extern float, ff_aa
This automatically makes the eamad, eatqi and mdec init-threadsafe.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/eamad.c | 1 +
libavcodec/eatqi.c | 1 +
libavcodec/mdec.c | 1 +
libavcodec/mpeg12.c | 15 ---
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12.c | 54 ++---
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index e5c611414b..e9eff0c48e 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mp
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261enc.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index 909bc23bb4..af836e4b30 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -322,8 +322,7 @@ void ff_h26
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index 47bad4e57f..9c848eb7e8 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -25,6 +25,8 @@
* H.261 codec
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261dec.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 8a49e7d894..377842c6fb 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -26,6 +26,7 @
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261dec.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 377842c6fb..e7e07240ae 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -50,
Signed-off-by: Andreas Rheinhardt
---
libavcodec/asvdec.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c
index 6b6d7b3fa7..d40535bed4 100644
--- a/libavcodec/asvdec.c
+++ b/libavcodec/asvdec.c
@@ -25,6 +25,7 @@
#inc
Signed-off-by: Andreas Rheinhardt
---
libavcodec/asvdec.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavcodec/asvdec.c b/libavcodec/asvdec.c
index d40535bed4..a72e11b848 100644
--- a/libavcodec/asvdec.c
+++ b/libavcodec/asvdec.c
@@ -48,2
Signed-off-by: Andreas Rheinhardt
---
libavcodec/wavpack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c
index 58122c948c..e02a56aa35 100644
--- a/libavcodec/wavpack.c
+++ b/libavcodec/wavpack.c
@@ -1712,5 +1712,5 @@ AVCodec ff_wav
This automatically makes the DSD formats as well as DST and WavPack
init-threadsafe.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dsd.c | 8 +++-
libavcodec/dsddec.c | 1 +
libavcodec/dstdec.c | 1 +
libavcodec/wavpack.c | 3 ++-
4 files changed, 7 insertions(+), 6 deletions(-)
di
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dsddec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dsddec.c b/libavcodec/dsddec.c
index 375e49341f..9814c9eb82 100644
--- a/libavcodec/dsddec.c
+++ b/libavcodec/dsddec.c
@@ -27,11 +27,11 @@
*/
#include
This automatically makes indeo4/5 init-threadsafe.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/indeo4.c | 1 +
libavcodec/indeo5.c | 2 +-
libavcodec/ivi.c| 13 -
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/libavcodec/indeo4.c b/libavcodec/indeo4.c
inde
By switching from ff_init_vlc_sparse() to ff_init_vlc_from_lengths() one
can replace a table of codes of type uint16_t by a table of symbols of
type uint8_t, saving space.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/wma.h | 3 +--
libavcodec/wmadata.h | 20
libavco
Signed-off-by: Andreas Rheinhardt
---
libavcodec/wmadec.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 2b9499eba7..9c79556bb5 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -112,7 +112,7 @@ static av_cold
Signed-off-by: Andreas Rheinhardt
---
libavcodec/atrac.c | 27 +++
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/libavcodec/atrac.c b/libavcodec/atrac.c
index 12e8997dbc..bf9878be45 100644
--- a/libavcodec/atrac.c
+++ b/libavcodec/atrac.c
@@ -30,6 +30,8 @
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/mlp.c | 17 ++---
> 1 file changed, 10 insertions(+), 7 deletions(-)
>
> diff --git a/libavcodec/mlp.c b/libavcodec/mlp.c
> index ddbab60c4e..74363c3b95 100644
> --- a/libavcodec/mlp.c
> +++ b/libavcodec/mlp.c
Nov 23, 2020, 15:06 by jamr...@gmail.com:
> On 11/23/2020 9:08 AM, Lynne wrote:
>
>
>> From e11df30e25f1b27a4ec3efb7dc894b8cf59113d2 Mon Sep 17 00:00:00 2001
>> From: Lynne
>> Date: Thu, 12 Nov 2020 12:44:30 +0100
>> Subject: [PATCH v3 1/4] libavutil: introduce AVFilmGrainParams side data
>>
>> T
On 11/23/2020 4:10 PM, Jan Ekström wrote:
Until now an API user with a non-libavformat MP4 or Matroska demuxer
would have had to manually filter the extradata to skip the first four
bytes when passing data to libavcodec, so that only the OBUs would
remain. Now the AV1CodecConfigurationRecord stru
On 11/23/2020 8:38 AM, Hendrik Leppkes wrote:
When update_grain is zero, the parameters should be taken from a
reference frame instead.
---
libavcodec/dxva2_av1.c | 59 +-
1 file changed, 30 insertions(+), 29 deletions(-)
LGTM
_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/atrac3.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index 48f0f20a0a..e80c39d492 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -39,6 +39,8 @@
#includ
Thanks,
Mohammad
On Fri, Nov 20, 2020 at 5:44 AM Anton Khirnov wrote:
> Quoting Mohammad Izadi (2020-11-20 04:57:11)
> > From: Mohammad Izadi
> >
> > HDR10+ is dynamic metadata (A/341 Amendment - SMPTE2094-40) that needs
> to be decoded from ITU-T T.35 in HEVC bitstream. The HDR10+ is transfer
From: Mohammad Izadi
HDR10+ is dynamic metadata (A/341 Amendment - SMPTE2094-40) that needs to be
decoded from ITU-T T.35 in HEVC bitstream. The HDR10+ is transferred to side
data packet to be used or passed through.
---
The fate test file can be found here:
https://drive.google.com/file/d/1vc
LGTM
On Tue, Nov 24, 2020, at 1:29 AM, Andreas Rheinhardt wrote:
> Andreas Rheinhardt:
> > Signed-off-by: Andreas Rheinhardt
> > ---
> > libavcodec/mlp.c | 17 ++---
> > 1 file changed, 10 insertions(+), 7 deletions(-)
> >
> > diff --git a/libavcodec/mlp.c b/libavcodec/mlp.c
> > ind
Hi James,
On Wed, Nov 18, 2020 at 1:13 PM James Zern
wrote:
> Hi,
>
> On Mon, Nov 16, 2020 at 2:36 PM Wonkap Jang
> wrote:
> >
> > In order to fine-control referencing schemes in VP9 encoding, there
> > is a need to use VP9E_SET_SVC_REF_FRAME_CONFIG method. This commit
> > provides a way to use
Andreas Rheinhardt:
> This is the second version of my init_vlc patchset [1]. Given the
> feedback I received for the last version I stressed thread-safety of
> init functions of decoders. As a consequence, the amount of decoders
> with FF_CODEC_CAP_INIT_THREADSAFE increased by 25 (some of them wer
Fixes: left shift of 255 by 24 places cannot be represented in type 'int'
Fixes:
27516/clusterfuzz-testcase-minimized-ffmpeg_dem_KUX_fuzzer-5152854660349952
Signed-off-by: Michael Niedermayer
---
libavformat/flvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavforma
Fixes: Timeout (long -> 2 ms)
Fixes:
26709/clusterfuzz-testcase-minimized-ffmpeg_dem_IVR_fuzzer-5665833403285504
Fixes:
27522/clusterfuzz-testcase-minimized-ffmpeg_dem_IVR_fuzzer-6321071221112832
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
The buffer is read by using the bit reader
Fixes: out of array read
Fixes:
27539/clusterfuzz-testcase-minimized-ffmpeg_dem_WAV_fuzzer-5650565572591616
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer
---
liba
I have opened a ticket explaining a problem with the code for
merge_pmt_versions.
Attached is also a patch which fixes this problem. The main idea is the
following:
for the INITIAL pmt, the old code finds matching streams by
1) checking the stream_identifier. If the current stream has one,
and i
I was having an issue where, using a filter chain of xfade -> ass, the
colors on the subtitles were incorrect only on the frames where xfade
was being used. This resolves that issue for me.
Signed-off-by: Musee Ullah
---
libavfilter/vf_xfade.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/
From: Limin Wang
Signed-off-by: Limin Wang
---
libavformat/rtsp.c| 22 +++---
libavformat/rtsp.h| 5 +++--
libavformat/rtspdec.c | 20 ++--
libavformat/rtspenc.c | 4 ++--
4 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/libavformat/rtsp
From: aYutaSekiguchi
Signed-off-by: aYutaSekiguchi
---
ffbuild/libversion.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffbuild/libversion.sh b/ffbuild/libversion.sh
index 990ce9f640..30046b1d25 100755
--- a/ffbuild/libversion.sh
+++ b/ffbuild/libversion.sh
@@ -1,3 +1,5 @@
+#!/bin/sh
63 matches
Mail list logo