[FFmpeg-devel] [PATCH] avcodec/svq3: perform residual slice copy before xor'ing watermark key

2022-10-27 Thread Peter Ross
Fixes ticket #5387 --- libavcodec/svq3.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 7e8f16cc72..b96c4f61f6 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1037,15 +1037,16 @@ static int svq3_decode_slice_header(

[FFmpeg-devel] [PATCH] avcodec/mss2: initialise wmv9_mask variable

2022-10-27 Thread Peter Ross
initialised to -1 which indicates wmv9 codec not present --- libavcodec/mss2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c index 69494d8c44..14746505f4 100644 --- a/libavcodec/mss2.c +++ b/libavcodec/mss2.c @@ -519,7 +519,7 @@ static in

Re: [FFmpeg-devel] [PATCH v9 23/25] avcodec/subtitles: Migrate subtitle encoders to frame-based API

2022-10-27 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Thursday, October 27, 2022 7:54 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v9 23/25] avcodec/subtitles: > Migrate subtitle encoders to fr

[FFmpeg-devel] [PATCH 3/3] avcodec/aacdec: add support for channel configuration 14

2022-10-27 Thread James Almer
It corresponds to the 7.1(top) layout. Signed-off-by: James Almer --- libavcodec/aacdec_template.c | 25 +++-- libavcodec/aacdectab.h | 6 +++--- libavcodec/mpeg4audio.c | 5 +++-- libavcodec/mpeg4audio.h | 2 +- 4 files changed, 30 insertions(+), 8 deletio

[FFmpeg-devel] [PATCH 2/3] avutil/channel_layout: add a 7.1(top) channel layout

2022-10-27 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges| 3 +++ doc/utils.texi| 2 ++ libavutil/channel_layout.c| 1 + libavutil/channel_layout.h| 2 ++ tests/ref/fate/channel_layout | 1 + 5 files changed, 9 insertions(+) diff --git a/doc/APIchanges b/doc/APIchange

[FFmpeg-devel] [PATCH 1/3] avcodec/aacdec: fix parsing streams with channel configuration 11

2022-10-27 Thread James Almer
Set the correct amount of tags in tags_per_config[]. Also, there are no channels that correspond to a side element in this configuration, so reflect this in the list of known/supported channel layouts. Signed-off-by: James Almer --- libavcodec/aacdec_template.c | 4 +--- libavcodec/aacdectab.h

[FFmpeg-devel] [PATCH] avcodec/mpegvideo_enc: Initialize dct_unquantize_int(ra|er) only once

2022-10-27 Thread Andreas Rheinhardt
For encoders, mpeg_quant is an option of the MPEG-4 encoder and therefore constant. This implies that one can set the dct_unquantize_(intra|inter) function pointers during init. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_enc.c | 22 +++--- 1 file changed, 11 inser

[FFmpeg-devel] [PATCH] avcodec/atrac3plus: reorder channels to match the output layout

2022-10-27 Thread James Almer
The order in which the channels are coded in the bitstream do not always follow the native, bitmask-based order of channels both signaled by the WAV container and forced by this same decoder. This is the case with layouts containing an LFE channel, as it's always coded last. Fixes ticket #9964. S

[FFmpeg-devel] [PATCH v2 1/2] avcodec/metasound_data: Move data shared with twinvq into a new file

2022-10-27 Thread Andreas Rheinhardt
Namely into a header metasound_twinvq_data.h included in twinvq.c (the common file of MetaSound and TwinVQ). Signed-off-by: Andreas Rheinhardt --- This is the second version of a patch that has already been sent as part of the patchset [1]. Given that the diff for it is very big it never appeared

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/libsvtav1: remove compressed_ten_bit_format and simplify alloc_buffer

2022-10-27 Thread Christopher Degawa
On Thu, Oct 20, 2022 at 11:56 PM Christopher Degawa wrote: > From: Christopher Degawa > > compressed_ten_bit_format has been deprecated upstream and has no effect > and can be removed. Plus, technically it was never used in the first place > since it would require the app (ffmpeg) to set it and

Re: [FFmpeg-devel] [PATCH 1/5] avformat/argo_cvg: Mark overrides as const

2022-10-27 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/argo_cvg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/argo_cvg.c b/libavformat/argo_cvg.c > index edf75c905e..aedc7c4a32 100644 > --- a/libavformat/argo_cvg.c > +++ b/libavformat

Re: [FFmpeg-devel] [PATCH 10/12] avcodec: add MediaCodec encoder

2022-10-27 Thread zhilizhao(赵志立)
> On Oct 27, 2022, at 17:56, Tomas Härdin wrote: > > tor 2022-10-27 klockan 10:49 +0800 skrev zhilizhao(赵志立): >> >> >>> On Oct 27, 2022, at 05:17, Tomas Härdin wrote: >>> >>> mån 2022-10-24 klockan 11:16 +0800 skrev Zhao Zhili: +typedef struct MediaCodecEncContext { +AVC

Re: [FFmpeg-devel] [PATCH] swscale: aarch64: Fix yuv2rgb with negative strides

2022-10-27 Thread Martin Storsjö
On Tue, 25 Oct 2022, Martin Storsjö wrote: Treat the 32 bit stride registers as signed. Alternatively, we could make the stride arguments ptrdiff_t instead of int, and changing all of the assembly to operate on these registers with their full 64 bit width, but that's a much larger and more intr

Re: [FFmpeg-devel] [PATCH] configure: Remove a leftover comment about MSVC C99 support

2022-10-27 Thread Martin Storsjö
On Wed, 19 Oct 2022, Martin Storsjö wrote: Support for building with older versions of MSVC (with the c99wrap/c99conv frontend) was removed in ce943dd6acbfdfc40223c0fb24d4cad438e6499c. Signed-off-by: Martin Storsjö --- configure | 6 -- 1 file changed, 6 deletions(-) diff --git a/configure

Re: [FFmpeg-devel] [PATCH 10/12] avcodec: add MediaCodec encoder

2022-10-27 Thread Tomas Härdin
tor 2022-10-27 klockan 10:49 +0800 skrev zhilizhao(赵志立): > > > > On Oct 27, 2022, at 05:17, Tomas Härdin wrote: > > > > mån 2022-10-24 klockan 11:16 +0800 skrev Zhao Zhili: > > > > > > +typedef struct MediaCodecEncContext { > > > +    AVClass *avclass; > > > +    FFAMediaCodec *codec; > > > +