Re: [FFmpeg-devel] [PATCH 2/5] MAINTAINERS: some random updating

2024-08-29 Thread Rémi Denis-Courmont
No objections but IMO Alpha should be removed rather than blanked, given that it's indeed been removed... ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email f

Re: [FFmpeg-devel] [PATCH v2 1/2] avformat/mxfenc: Fix guess frame_rate

2024-08-29 Thread Nicolas Gaullier
>De : ffmpeg-devel De la part de Tomas Härdin >Envoyé : lundi 26 août 2024 11:52 > >This is probably fine for now, but it should be said that frame rate and >EditRate are not necessarily the same. We might want an explicit EditRate >option. But we can wait for users to actually request that feat

[FFmpeg-devel] [PATCH 1/2] avcodec/jpeg2000dec: Fix FF_DWT97_INT to pass the conformance testing defined in ISO/IEC 15444-4.

2024-08-29 Thread Osamu Watanabe
From: OSAMU WATANABE This commit fixes the problem described below on the integer version of the inverse DWT processing (FF_DWT97_INT, https://trac.ffmpeg.org/ticket/10123), which is activated with `-flags +bitexact`. - Problem - The tests for the following codestreams were filed with `-flag

[FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dec: Update FATE refs for conformance testing defined in ISO/IEC 15444-4

2024-08-29 Thread Osamu Watanabe
The FATE refs are updated to reflect changes in the [PATCH 1/2]. Signed-off-by: Osamu Watanabe --- tests/ref/fate/jpeg2000dec-p0_04 | 2 +- tests/ref/fate/jpeg2000dec-p0_05 | 2 +- tests/ref/fate/jpeg2000dec-p0_09 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ref/f

[FFmpeg-devel] [PATCH 2/8] lavfi/aeval: convert to query_func2()

2024-08-29 Thread Anton Khirnov
Drop redundant ff_set_common_all_channel_counts() / ff_set_common_all_samplerates() calls, since those happen implicitly in generic code. --- libavfilter/aeval.c | 37 ++--- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/libavfilter/aeval.c b/libavf

[FFmpeg-devel] [PATCH 3/8] lavfi/af_aap: convert to query_func2()

2024-08-29 Thread Anton Khirnov
Drop redundant ff_set_common_all_channel_counts() / ff_set_common_all_samplerates() calls, since those happen implicitly in generic code. --- libavfilter/af_aap.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/af_aap.c b/libavfilter/af_aap.c index

[FFmpeg-devel] [PATCH 4/8] lavfi/af_acrossover: convert to query_func2()

2024-08-29 Thread Anton Khirnov
Drop redundant ff_set_common_all_channel_counts() / ff_set_common_all_samplerates() calls, since those happen implicitly in generic code. --- libavfilter/af_acrossover.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/af_acrossover.c b/libavfilter/a

[FFmpeg-devel] [PATCH 5/8] lavfi/af_adynamicequalizer: convert to query_func2()

2024-08-29 Thread Anton Khirnov
Drop redundant ff_set_common_all_channel_counts() / ff_set_common_all_samplerates() calls, since those happen implicitly in generic code. --- libavfilter/af_adynamicequalizer.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/af_adynamicequalizer.c

[FFmpeg-devel] [PATCH 6/8] lavfi/af_afir: convert to query_func2()

2024-08-29 Thread Anton Khirnov
Drop redundant ff_set_common_all_channel_counts() / ff_set_common_all_samplerates() calls, since those happen implicitly in generic code. --- libavfilter/af_afir.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/libavfilter/af_afir.c b/libavfilter/af

[FFmpeg-devel] [PATCH 1/8] lavfi: add query_func2()

2024-08-29 Thread Anton Khirnov
It differs from query_func() in accepting arrays of input/output format configurations to be filled as callback parameters. This allows to mark the filter context as const, ensuring it is not modified by this function, as it is not supposed to have any side effects beyond returning the supported fo

[FFmpeg-devel] [PATCH 8/8] lavfi/af_aformat: convert to query_func2()

2024-08-29 Thread Anton Khirnov
--- libavfilter/af_aformat.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c index dcedff7b70..a7d05a9ce8 100644 --- a/libavfilter/af_aformat.c +++ b/libavfilter/af_aformat.c @@ -104,25 +104,27 @@ static av_cold

[FFmpeg-devel] [PATCH 7/8] lavfi/af_aformat: change options from strings to arrays

2024-08-29 Thread Anton Khirnov
Allows to drop custom parsing code, and also the assumption that query_formats() is not called more than once. --- libavfilter/af_aformat.c | 168 --- 1 file changed, 67 insertions(+), 101 deletions(-) diff --git a/libavfilter/af_aformat.c b/libavfilter/af_afor

[FFmpeg-devel] [PATCH] lavc/opus*: move to opus/ subdir

2024-08-29 Thread Anton Khirnov
--- libavcodec/Makefile | 10 ++- libavcodec/aarch64/opusdsp_init.c | 2 +- libavcodec/opus/Makefile | 30 +++ libavcodec/{opus_celt.c => opus/celt.c} | 6 ++-- libavcodec/{opus_celt.h => opus/celt.h} | 7

Re: [FFmpeg-devel] [PATCH 4/4] swscale/aarch64/rgb2rgb: add neon implementation for rgb24toyv12

2024-08-29 Thread Martin Storsjö
On Thu, 29 Aug 2024, Ramiro Polla wrote: On Wed, Aug 28, 2024 at 11:23 PM Martin Storsjö wrote: On Wed, 28 Aug 2024, Ramiro Polla wrote: +2: +// load first line +ld3 {v16.8b, v17.8b, v18.8b}, [x0], #24 +ld3 {v19.8b, v20.8b, v21.8b}, [x0], #24

Re: [FFmpeg-devel] [PATCH 2/2] aarch64/vvc: Bind h26x/sao filter implementation to vvc

2024-08-29 Thread Martin Storsjö
On Wed, 28 Aug 2024, Zhao Zhili wrote: From: Zhao Zhili --- libavcodec/aarch64/h26x/dsp.h | 6 +++- libavcodec/aarch64/h26x/sao_neon.S| 44 +-- libavcodec/aarch64/hevcdsp_init_aarch64.c | 2 +- libavcodec/aarch64/vvc/Makefile | 5 +-- libavcodec

Re: [FFmpeg-devel] [PATCH 08/10] MAINTAINERS: Add S field based on the linux kernel MAINTAINERs

2024-08-29 Thread Ronald S. Bultje
Hi, On Wed, Aug 28, 2024 at 1:25 PM Michael Niedermayer wrote: > +(T ) *SCM* tree type and location. > + Type is one of: git, hg, quilt, stgit, topgit > S (see subject) or T (see text)? One of them is contradicting the other. Ronald ___

[FFmpeg-devel] Enable D3D11 texture input to the MF encoder

2024-08-29 Thread erik
Hi; Been a while since I submitted something. Attached patch enabled D3D11 input for the MF encoder. Regards Erik 0001-Allow-the-h264_mf-encoder-to-use-ID3D11Texture2D-fra.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ff

[FFmpeg-devel] [PATCH] configure: improve check for POSIX ioctl

2024-08-29 Thread Ramiro Polla
Instead of relying on system #ifdefs which may or may not be correct, detect the POSIX ioctl signature at configure time. --- configure | 2 ++ libavdevice/v4l2.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 63f0429b02..ebbec49993 10075

Re: [FFmpeg-devel] Can't use __musl__ macro

2024-08-29 Thread Ramiro Polla
Hi, On Mon, Aug 12, 2024 at 7:16 AM Lance Fredrickson wrote: > In commit 9e674b31606c805dd31b4bb754364a72a5877238 of ffmpeg this change > tries to detect musl libc by way of a "__musl__" macro. This macro > however, doesn't exist in musl. This results in an "incompatible pointer > type" error un

Re: [FFmpeg-devel] [PATCH] configure: improve check for POSIX ioctl

2024-08-29 Thread James Almer
On 8/29/2024 10:40 AM, Ramiro Polla wrote: Instead of relying on system #ifdefs which may or may not be correct, detect the POSIX ioctl signature at configure time. --- configure | 2 ++ libavdevice/v4l2.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configur

Re: [FFmpeg-devel] [PATCH v3] avcodec: add Mediacodec audio decoders support

2024-08-29 Thread Zhao Zhili
> On Aug 26, 2024, at 20:54, Matthieu Bouron wrote: > > --- > > Diff with v2: > - Dropped flac/vorbis/opus support LGTM. > > --- > configure | 8 + > libavcodec/Makefile | 4 + > libavcodec/allcodecs.c| 4 + > libavcodec/mediacodecdec.c

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dec: Update FATE refs for conformance testing defined in ISO/IEC 15444-4

2024-08-29 Thread Pierre-Anthony Lemieux
On Thu, Aug 29, 2024 at 1:29 AM Osamu Watanabe wrote: > > The FATE refs are updated to reflect changes in the [PATCH 1/2]. It looks like the fate-j2k-dwt and fate-jpeg2000-dcinema fate files need to be regenerated as well. > > Signed-off-by: Osamu Watanabe > --- > tests/ref/fate/jpeg2000dec-p0

Re: [FFmpeg-devel] [PATCH] configure: improve check for POSIX ioctl

2024-08-29 Thread Ramiro Polla
On Thu, Aug 29, 2024 at 7:10 PM James Almer wrote: > On 8/29/2024 10:40 AM, Ramiro Polla wrote: > > Instead of relying on system #ifdefs which may or may not be correct, > > detect the POSIX ioctl signature at configure time. > > --- > > configure | 2 ++ > > libavdevice/v4l2.c | 2 +-

Re: [FFmpeg-devel] [PATCH] configure: improve check for POSIX ioctl

2024-08-29 Thread James Almer
On 8/29/2024 2:18 PM, Ramiro Polla wrote: On Thu, Aug 29, 2024 at 7:10 PM James Almer wrote: On 8/29/2024 10:40 AM, Ramiro Polla wrote: Instead of relying on system #ifdefs which may or may not be correct, detect the POSIX ioctl signature at configure time. --- configure | 2 ++

Re: [FFmpeg-devel] [PATCH] avcodec/mpegvideo: remove redundant workaround to recalculate last nonzero coefficient

2024-08-29 Thread Michael Niedermayer
On Wed, Aug 28, 2024 at 02:14:33PM +0200, Ramiro Polla wrote: > On Thu, Aug 22, 2024 at 1:24 AM Ramiro Polla wrote: > > The x86 optimized dct_quantize only calculates the last nonzero > > coefficient correctly if the zigzag scan order is used. For the > > alternate scan order, this value is incorr

Re: [FFmpeg-devel] [PATCH] lavc/opus*: move to opus/ subdir

2024-08-29 Thread Lynne via ffmpeg-devel
On 29/08/2024 11:34, Anton Khirnov wrote: --- libavcodec/Makefile | 10 ++- libavcodec/aarch64/opusdsp_init.c | 2 +- libavcodec/opus/Makefile | 30 +++ libavcodec/{opus_celt.c => opus/celt.c} | 6 ++-- l

Re: [FFmpeg-devel] [PATCH 38/42] fftools/ffmpeg: add support for multiview video

2024-08-29 Thread Michael Niedermayer
On Tue, Aug 27, 2024 at 05:05:18PM +0200, Anton Khirnov wrote: > This extends the syntax for specifying input streams in -map and complex > filtergraph labels, to allow selecting a view by view ID, index, or > position. The corresponding decoder is then set up to decode the > appropriate view and s

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dec: Update FATE refs for conformance testing defined in ISO/IEC 15444-4

2024-08-29 Thread WATANABE Osamu
Hi Pierre, Thanks for pointing it out. I will include them and then submit v2 of the patch set. Best, Osamu > 2024/08/30 1:52、Pierre-Anthony Lemieux のメール: > > ?On Thu, Aug 29, 2024 at 1:29?AM Osamu Watanabe > wrote: >> >> The FATE refs are updated to reflect changes in the [PATCH 1/2]. > > I

Re: [FFmpeg-devel] [PATCH 38/42] fftools/ffmpeg: add support for multiview video

2024-08-29 Thread James Almer
On 8/29/2024 8:26 PM, Michael Niedermayer wrote: On Tue, Aug 27, 2024 at 05:05:18PM +0200, Anton Khirnov wrote: This extends the syntax for specifying input streams in -map and complex filtergraph labels, to allow selecting a view by view ID, index, or position. The corresponding decoder is then

[FFmpeg-devel] [PATCH 1/2] avformat/isom: make the parameter used for loging in ff_mp4_read_descr() a pointer to void

2024-08-29 Thread James Almer
Signed-off-by: James Almer --- libavformat/isom.c | 4 ++-- libavformat/isom.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/isom.c b/libavformat/isom.c index 74bb13dc96..65d71ed9d0 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -292,12 +292,12 @@

[FFmpeg-devel] [PATCH 2/2] avformat/iamf_parse: fix parsing AAC DecoderConfigDescriptor

2024-08-29 Thread James Almer
Use ff_mp4_read_descr() to read both the tags and the vlc value that comes after it, which was not being taken into account. Ref: https://github.com/AOMediaCodec/libiamf/issues/119 Signed-off-by: James Almer --- libavformat/iamf_parse.c | 21 + 1 file changed, 9 insertions(+

[FFmpeg-devel] [PATCH v2 1/2] avcodec/jpeg2000dec: Fix FF_DWT97_INT to pass the conformance testing defined in ISO/IEC 15444-4.

2024-08-29 Thread Osamu Watanabe
From: OSAMU WATANABE This commit fixes the problem described below on the integer version of the inverse DWT processing (FF_DWT97_INT, https://trac.ffmpeg.org/ticket/10123), which is activated with `-flags +bitexact`. - Problem - The tests for the following codestreams were filed with `-flag

[FFmpeg-devel] [PATCH v2 2/2] avcodec/jpeg2000dec: Update to JPEG 2000 related FATE refs with the fix of FF_DWT97_INT (integer implementation of inverse DWT 97)

2024-08-29 Thread Osamu Watanabe
Signed-off-by: Osamu Watanabe --- tests/ref/fate/j2k-dwt | 59 tests/ref/fate/jpeg2000-dcinema | 4 +-- tests/ref/fate/jpeg2000dec-p0_04 | 2 +- tests/ref/fate/jpeg2000dec-p0_05 | 2 +- tests/ref/fate/jpeg2000dec-p0_09 | 2 +- 5 files changed, 5 ins

Re: [FFmpeg-devel] [PATCH 28/42] lavc/hevc/ps: implement SPS parsing for nuh_layer_id>0

2024-08-29 Thread James Almer
On 8/27/2024 12:05 PM, Anton Khirnov wrote: Cf. F.7.3.2.2 "Sequence parameter set RBSP syntax", which extends normal SPS parsing with special clauses depending on MultiLayerExtSpsFlag. --- libavcodec/hevc/hevcdec.c | 2 +- libavcodec/hevc/parse.c | 3 +- libavcodec/hevc/parser.c | 2 +-

Re: [FFmpeg-devel] [PATCH 25/42] avcodec/hevc/sei: add support for 3D Reference Displays Information SEI

2024-08-29 Thread James Almer
On 8/27/2024 12:05 PM, Anton Khirnov wrote: From: James Almer Signed-off-by: James Almer --- libavcodec/hevc/sei.c | 55 +++ libavcodec/hevc/sei.h | 17 + 2 files changed, 72 insertions(+) diff --git a/libavcodec/hevc/sei.c b/libavcodec/

Re: [FFmpeg-devel] Can't use __musl__ macro

2024-08-29 Thread Brad Smith
On 2024-08-29 9:47 a.m., Ramiro Polla wrote: Hi, On Mon, Aug 12, 2024 at 7:16 AM Lance Fredrickson wrote: In commit 9e674b31606c805dd31b4bb754364a72a5877238 of ffmpeg this change tries to detect musl libc by way of a "__musl__" macro. This macro however, doesn't exist in musl. This results in

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/jpeg2000dec: Update to JPEG 2000 related FATE refs with the fix of FF_DWT97_INT (integer implementation of inverse DWT 97)

2024-08-29 Thread Pierre-Anthony Lemieux
Looks like more files need to be regenerated: tests/ref/vsynth/vsynth1-jpeg2000-97 tests/ref/vsynth/vsynth2-jpeg2000-97 tests/ref/vsynth/vsynth3-jpeg2000-97 tests/ref/vsynth/vsynth_lena-jpeg2000-97 On Thu, Aug 29, 2024 at 7:07 PM Osamu Watanabe wrote: > > Signed-off-by: Osamu Watanabe > --- >

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_libvmaf: Add metadata propagation support

2024-08-29 Thread Kyle Swanson
Hi, On Mon, Aug 26, 2024 at 10:51=E2=80=AFAM Yigithan Yigit wrote: > > --- > libavfilter/vf_libvmaf.c | 328 ++- > 1 file changed, 326 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c > index f655092b20..e6707