[FFmpeg-devel] [PATCH 1/4] avcodec/intrax8: Remove unused IDCTDSPContext

2022-07-31 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- configure| 2 +- libavcodec/intrax8.c | 4 +--- libavcodec/intrax8.h | 3 +-- libavcodec/vc1dec.c | 2 +- libavcodec/wmv2dec.c | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 8c7e8c9d1d..974768a6

[FFmpeg-devel] [PATCH 2/4] configure, avcodec/Makefile: Make IntraX8 select WMV2DSP, fix MIPS build

2022-07-31 Thread Andreas Rheinhardt
IntraX8 uses WMV2DSP directly, so it should have a direct dependency on it. Also remove the indirect Makefile dependency of the VC-1 decoder on wmv2dsp.o. Notice that since the addition of the MIPS WMV2DSP implementation building only the VC-1 decoder would fail, because no Makefile dependency VC1-

[FFmpeg-devel] [PATCH 3/4] configure: Add msmpeg4(dec|enc) subsystems

2022-07-31 Thread Andreas Rheinhardt
The msmpeg4 decoders/encoders share a common set of prerequisites, ergo it makes sense to use common subsystems for them. This also allows to remove the CONFIG_MSMPEG4_DECODER/ENCODER ad-hoc defines (which violated the CONFIG_ namespace). Signed-off-by: Andreas Rheinhardt --- configure

[FFmpeg-devel] [PATCH 4/4] avcodec/intrax8: Avoid indirection when accessing VLC table

2022-07-31 Thread Andreas Rheinhardt
To do so, store the pointer to the VLC table and not to the VLC. This is possible, because all the VLCs of the same type use the same number of bits. Also use a const VLCElem*, because the target is static and must therefore not be modified after its initialization. Signed-off-by: Andreas Rheinhar

Re: [FFmpeg-devel] [PATCH 3/4] configure: Add msmpeg4(dec|enc) subsystems

2022-07-31 Thread Martin Storsjö
On Sun, 31 Jul 2022, Andreas Rheinhardt wrote: The msmpeg4 decoders/encoders share a common set of prerequisites, ergo it makes sense to use common subsystems for them. This also allows to remove the CONFIG_MSMPEG4_DECODER/ENCODER ad-hoc defines (which violated the CONFIG_ namespace). Signed-of

Re: [FFmpeg-devel] [PATCH v1] ffmpeg: add optional JSON output of inputs, outputs, mapping, and progress

2022-07-31 Thread Bodecs Bela
2022.07.28. 16:09 keltezéssel, Anton Khirnov írta: Sorry, I do not like your patch. The problem is that this essentialy codifies ffmpeg's internal structure and makes into a kind of a public interface, which makes it harder for us to change it. Given that I'm currently in the middle of a big re

Re: [FFmpeg-devel] [PATCH 3/4] configure: Add msmpeg4(dec|enc) subsystems

2022-07-31 Thread Andreas Rheinhardt
Martin Storsjö: > On Sun, 31 Jul 2022, Andreas Rheinhardt wrote: > >> The msmpeg4 decoders/encoders share a common set of prerequisites, >> ergo it makes sense to use common subsystems for them. This also >> allows to remove the CONFIG_MSMPEG4_DECODER/ENCODER ad-hoc defines >> (which violated the

[FFmpeg-devel] [PATCH v4 1/2] avformat: refactor ff_stream_encode_params_copy() to ff_stream_params_copy()

2022-07-31 Thread pal
From: Pierre-Anthony Lemieux As discussed at https://ffmpeg.org/pipermail/ffmpeg-devel/2022-July/298491.html. Note that ff_stream_params_copy() does not copy: * the index field * the attached_pic if its size is 0 --- libavformat/avformat.c | 41 liba

[FFmpeg-devel] [PATCH v4 2/2] avformat/imfdec: preserve stream information

2022-07-31 Thread pal
From: Pierre-Anthony Lemieux As discussed at https://trac.ffmpeg.org/ticket/9818, the IMF demuxer does not currently preserve stream information such as language in the case of audio streams. --- libavformat/imfdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib

Re: [FFmpeg-devel] [PATCH v4 1/2] avformat: refactor ff_stream_encode_params_copy() to ff_stream_params_copy()

2022-07-31 Thread James Almer
On 7/31/2022 5:37 PM, p...@sandflow.com wrote: diff --git a/libavformat/avformat.c b/libavformat/avformat.c index 30d6ea6a49..1d0ac5ab7e 100644 --- a/libavformat/avformat.c +++ b/libavformat/avformat.c @@ -235,6 +235,47 @@ int ff_stream_side_data_copy(AVStream *dst, const AVStream *src) re

[FFmpeg-devel] [PATCH v5 1/2] avformat: refactor ff_stream_encode_params_copy() to ff_stream_params_copy()

2022-07-31 Thread pal
From: Pierre-Anthony Lemieux As discussed at https://ffmpeg.org/pipermail/ffmpeg-devel/2022-July/298491.html. Note that ff_stream_params_copy() does not copy: * the index field * the attached_pic if its size is 0 Addresses http://ffmpeg.org/pipermail/ffmpeg-devel/2022-August/299514.html ---

[FFmpeg-devel] [PATCH v5 2/2] avformat/imfdec: preserve stream information

2022-07-31 Thread pal
From: Pierre-Anthony Lemieux As discussed at https://trac.ffmpeg.org/ticket/9818, the IMF demuxer does not currently preserve stream information such as language in the case of audio streams. --- libavformat/imfdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib

Re: [FFmpeg-devel] [PATCH v4 1/2] avformat: refactor ff_stream_encode_params_copy() to ff_stream_params_copy()

2022-07-31 Thread Pierre-Anthony Lemieux
On Sun, Jul 31, 2022 at 2:02 PM James Almer wrote: > > On 7/31/2022 5:37 PM, p...@sandflow.com wrote: > > diff --git a/libavformat/avformat.c b/libavformat/avformat.c > > index 30d6ea6a49..1d0ac5ab7e 100644 > > --- a/libavformat/avformat.c > > +++ b/libavformat/avformat.c > > @@ -235,6 +235,47 @@

Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW acceleration method when selecting decoder

2022-07-31 Thread Xiang, Haihao
On Fri, 2022-07-29 at 09:46 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Ronald S. Bultje > > Sent: Friday, July 29, 2022 10:50 AM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH v3 2/

Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW acceleration method when selecting decoder

2022-07-31 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Monday, August 1, 2022 3:53 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW > acceleration method when selecting decoder > > On Fri, 2022-07-29 at 09:46

Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW acceleration method when selecting decoder

2022-07-31 Thread Xiang, Haihao
On Mon, 2022-08-01 at 02:14 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Xiang, Haihao > > Sent: Monday, August 1, 2022 3:53 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW > > acceleration