Re: [FFmpeg-devel] [PATCH] swscale/output: add full chroma interpolation support for x2rgb10

2024-11-01 Thread Michael Niedermayer
On Fri, Nov 01, 2024 at 10:29:07AM -0300, James Almer wrote: > On 11/1/2024 8:27 AM, Michael Niedermayer wrote: > > On Wed, Oct 30, 2024 at 12:20:19PM -0300, James Almer wrote: > > > Signed-off-by: James Almer > > > --- > > > libswscale/output.c | 25 + > >

Re: [FFmpeg-devel] [PATCH 3/7] swscale/output: add XV48 output support

2024-11-01 Thread Michael Niedermayer
On Thu, Oct 31, 2024 at 04:13:38PM -0300, James Almer wrote: > On 10/31/2024 3:34 PM, Michael Niedermayer wrote: > > On Tue, Oct 29, 2024 at 04:50:47PM -0300, James Almer wrote: > > > On 10/29/2024 4:29 PM, Michael Niedermayer wrote: > > > > On Tue, Oct 29, 2024 at 01:03:21PM +0100, Michael Niederm

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-01 Thread Michael Niedermayer
Hi On Fri, Nov 01, 2024 at 02:20:33PM +0100, Kacper Michajlow wrote: > On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > > > On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt > > wrote: > > > > > > Kacper Michajlow: > > > > On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer > > > > wrote:

Re: [FFmpeg-devel] [PATCH] libavutil/ppc: Include the hardware feature flags like the other archs

2024-11-01 Thread Michael Niedermayer
On Fri, Nov 01, 2024 at 01:45:46AM -0400, Brad Smith wrote: > ping. it builds on my old cross compile environment on ubuntu but i have no real ppc here to test beyond that thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Old school: Use the lowest level lan

[FFmpeg-devel] [PATCH] avcodec/aac/aacdec: set profile after decoding an audio specific config

2024-11-01 Thread Xiaolei Yu
Fix the reported profile when probing an fMP4 initialization segment --- libavcodec/aac/aacdec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/aac/aacdec.c b/libavcodec/aac/aacdec.c index f6e79700d5..a779b47b39 100644 --- a/libavcodec/aac/aacdec.c +++ b/libavcodec/aac/aacde

[FFmpeg-devel] [PATCH] x86/vvc: Fix build error for arch x86_32

2024-11-01 Thread Zhao Zhili
From: Zhao Zhili There were static functions which built for x86_32, but the simd functions they reference only available for x86_64. --- libavcodec/x86/vvc/vvcdsp_init.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/x86/vvc/vvcdsp_init.c b/libavcodec/x86/vvc/vvcdsp_init.c

Re: [FFmpeg-devel] [FFmpeg-cvslog] fate/vvc: Add a sample which lose frames before 5c66a3

2024-11-01 Thread Zhao Zhili
 > 在 2024年11月2日,上午7:01,Michael Niedermayer 写道: > > On Fri, Nov 01, 2024 at 09:11:47AM +, Zhao Zhili wrote: >> ffmpeg | branch: master | Zhao Zhili | Wed Sep 18 >> 14:56:22 2024 +0800| [1864025458021a2d2c542f56e268ee1106f84460] | committer: >> Zhao Zhili >> fate/vvc: Add a sample which lo

[FFmpeg-devel] [PATCH] doc/Makefile: add MAKEINFO variable

2024-11-01 Thread Patrice Dumas
Here is a small patch that I propose, to be able to test another version of makeinfo more easily. --- doc/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 98d29f1c66..cd397b518c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -4

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-01 Thread Kacper Michajlow
On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt > wrote: > > > > Kacper Michajlow: > > > On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer > > > wrote: > > >> > > >> On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote: > > >

Re: [FFmpeg-devel] [PATCH] swscale/output: fix x2rbg10/x2bgr10 output

2024-11-01 Thread James Almer
On 11/1/2024 1:52 PM, Michael Niedermayer wrote: On Tue, Oct 29, 2024 at 07:19:13PM -0300, James Almer wrote: Checking for AV_PIX_FMT_X2RGB10 means the condition will succeed only for the version matching the host's endinaness, when only LE is supported, and thus the wrong path will be taken on

[FFmpeg-devel] [PATCH v2 3/3] avcodec/cuvid: introduce a ringbuffer to reattach additional data

2024-11-01 Thread Clément Péron
From: Troy Benson Cuvid data packet have specific format that don't contain any side data. In order to keep additional information and metadata, we need to implement a ring buffer and reattach side data to decoded frame. Signed-off-by: Troy Benson Signed-off-by: Clément Péron --- libavcodec/c

[FFmpeg-devel] [PATCH v2 1/3] libavutil/frame: Introduce a new AV_FRAME_DATA_PRFT

2024-11-01 Thread Clément Péron
This will be used to propagate the Producer Reference Timestamp. Signed-off-by: Clément Péron --- libavcodec/decode.c | 1 + libavfilter/f_sidedata.c | 1 + libavutil/frame.c| 1 + libavutil/frame.h| 5 + 4 files changed, 8 insertions(+) diff --git a/libavcodec/decode.c

[FFmpeg-devel] [PATCH v2 0/3] Propagate PRFT side data

2024-11-01 Thread Clément Péron
Hi, This is in the continuity of the v1 that was sent in September. The idea is to be able to access the Producer Timestamp aka PRFT of a RTSP stream in the encoder to be able to write it in the final file. There is also a patch to be able to forward any side data when the decoder used is cuvid.

[FFmpeg-devel] [PATCH v2 2/3] avcodec/rawenc: propagate the Producer Reference time

2024-11-01 Thread Clément Péron
The Producer Reference time contains the source time when the frame has been produced. This is usefull in the muxer so propagate it. Signed-off-by: Clément Péron --- libavcodec/rawenc.c | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c in

[FFmpeg-devel] [PATCH] avcodec/jpegxl_parser: check entropy_decoder_read_symbol return value

2024-11-01 Thread Kacper Michajłow
Found by OSS-Fuzz. Signed-off-by: Kacper Michajłow --- libavcodec/jpegxl_parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c index 8c45e1a1b7..746c429b9c 100644 --- a/libavcodec/jpegxl_parser.c +++ b/libavcode

Re: [FFmpeg-devel] [PATCH 2/2] fate/filter-video: add more rgbtestsrc tests

2024-11-01 Thread James Almer
On 11/1/2024 1:44 PM, Michael Niedermayer wrote: On Wed, Oct 30, 2024 at 10:25:42AM -0300, James Almer wrote: Signed-off-by: James Almer --- tests/fate/filter-video.mak| 12 tests/ref/fate/filter-rgbtestsrc-gbrp | 10 ++ tests/ref/fate/filter-rgbtes

Re: [FFmpeg-devel] [PATCH] swscale/output: fix x2rbg10/x2bgr10 output

2024-11-01 Thread Michael Niedermayer
On Tue, Oct 29, 2024 at 07:19:13PM -0300, James Almer wrote: > Checking for AV_PIX_FMT_X2RGB10 means the condition will succeed only for the > version matching the host's endinaness, when only LE is supported, and thus > the wrong path will be taken on BE systems. > > Signed-off-by: James Almer >

Re: [FFmpeg-devel] [PATCH 2/2] fate/filter-video: add more rgbtestsrc tests

2024-11-01 Thread Michael Niedermayer
On Wed, Oct 30, 2024 at 10:25:42AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > tests/fate/filter-video.mak| 12 > tests/ref/fate/filter-rgbtestsrc-gbrp | 10 ++ > tests/ref/fate/filter-rgbtestsrc-gbrp10| 10 ++ > tests/ref/f

Re: [FFmpeg-devel] [PATCH 1/2] vsrc_testsrc: add support for x2rgb10le to rgbtestsrc

2024-11-01 Thread Michael Niedermayer
On Wed, Oct 30, 2024 at 10:25:41AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavfilter/vsrc_testsrc.c | 11 +++ > 1 file changed, 11 insertions(+) mips is unhappy before and after this patch --- src/tests/ref/fate/filter-pixdesc-x2bgr10le 2024-10-26 22:34:14.53245

Re: [FFmpeg-devel] [PATCH 1/2] vsrc_testsrc: add support for x2rgb10le to rgbtestsrc

2024-11-01 Thread James Almer
On 11/1/2024 1:48 PM, Michael Niedermayer wrote: On Wed, Oct 30, 2024 at 10:25:41AM -0300, James Almer wrote: Signed-off-by: James Almer --- libavfilter/vsrc_testsrc.c | 11 +++ 1 file changed, 11 insertions(+) mips is unhappy before and after this patch --- src/tests/ref/fate/fil

[FFmpeg-devel] [PATCH] doc/t2h: Support texinfo 7.1 and 7.2 pretest

2024-11-01 Thread Patrice Dumas
Here is a proposed patch for portability of doc/t2h.pm for GNU Texinfo 7.1 and 7.1.90 (7.2 pretest). I tested against 7.1 and 7.1.90 (7.2 pretest). There is a difference in the headings compared to the website version, maybe related to FA_ICONS not being set the same, but the result seems corre

Re: [FFmpeg-devel] [PATCH] swscale/output: add full chroma interpolation support for x2rgb10

2024-11-01 Thread James Almer
On 11/1/2024 8:27 AM, Michael Niedermayer wrote: On Wed, Oct 30, 2024 at 12:20:19PM -0300, James Almer wrote: Signed-off-by: James Almer --- libswscale/output.c | 25 + libswscale/utils.c | 4 +++- tests/ref/fate/filter-pixfmts-scale

[FFmpeg-devel] [PATCH v6] avcodec/jpeg2000: Fix FF_DWT97_INT to pass the conformance testing defined in ISO/IEC 15444-4

2024-11-01 Thread Osamu Watanabe
Fix for the integer version of the inverse 9-7 DWT processing (FF_DWT97_INT, https://trac.ffmpeg.org/ticket/10123), which is activated with -flags +bitexact. I went through the code path for the DWT 9-7 transform (integer) and improved precision to match conformance codestream. As a result, the

Re: [FFmpeg-devel] [PATCH] libavutil/ppc: defines involving bit shifts should be unsigned

2024-11-01 Thread Brad Smith
I had a bigger diff to handle all of the same type of flags in the same manner, but I can post that separately. LGTM. On 2024-11-02 2:13 a.m., Sean McGovern wrote: Otherwise, these can overflow at the boundaries of the integer type. --- libavutil/ppc/cpu.c | 6 +++--- 1 file changed, 3 inser

[FFmpeg-devel] [PATCH] libavutil/ppc: defines involving bit shifts should be unsigned

2024-11-01 Thread Sean McGovern
Otherwise, these can overflow at the boundaries of the integer type. --- libavutil/ppc/cpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c index 62d495ec1d..9f9c073434 100644 --- a/libavutil/ppc/cpu.c +++ b/libavutil/ppc/cpu.c @

Re: [FFmpeg-devel] [PATCH] avformat/vpk: fix divide by zero

2024-11-01 Thread Kacper Michajlow
On Sat, 2 Nov 2024 at 01:54, Michael Niedermayer wrote: > > Hi > > On Fri, Nov 01, 2024 at 02:20:33PM +0100, Kacper Michajlow wrote: > > On Sat, 10 Aug 2024 at 18:49, Kacper Michajlow wrote: > > > > > > On Sat, 10 Aug 2024 at 11:25, Andreas Rheinhardt > > > wrote: > > > > > > > > Kacper Michajlo

Re: [FFmpeg-devel] [PATCH] libavutil/ppc: Include the hardware feature flags like the other archs

2024-11-01 Thread Sean McGovern
Hi Brad, On Fri, Nov 1, 2024 at 1:46 AM Brad Smith wrote: > > ping. Sorry for not ringing in on this sooner, the PowerMac G5 FATE node does not like this: src/libavutil/ppc/cpu.c:85:18: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Probably something needs to

Re: [FFmpeg-devel] [FFmpeg-cvslog] fate/vvc: Add a sample which lose frames before 5c66a3

2024-11-01 Thread Michael Niedermayer
On Fri, Nov 01, 2024 at 09:11:47AM +, Zhao Zhili wrote: > ffmpeg | branch: master | Zhao Zhili | Wed Sep 18 > 14:56:22 2024 +0800| [1864025458021a2d2c542f56e268ee1106f84460] | committer: > Zhao Zhili > > fate/vvc: Add a sample which lose frames before 5c66a3 > > Signed-off-by: Zhao Zhili

Re: [FFmpeg-devel] [PATCH] libavutil/ppc: Include the hardware feature flags like the other archs

2024-11-01 Thread Brad Smith
On 2024-11-01 8:50 p.m., Michael Niedermayer wrote: On Fri, Nov 01, 2024 at 01:45:46AM -0400, Brad Smith wrote: ping. it builds on my old cross compile environment on ubuntu but i have no real ppc here to test beyond that thx Tested with a Linux Power8 VM. [almalinux@ffmpeg1 tests]$ ./cpu c

Re: [FFmpeg-devel] [PATCH] libavutil/ppc: Include the hardware feature flags like the other archs

2024-11-01 Thread Brad Smith
ping. On 2024-10-20 3:44 a.m., Brad Smith wrote: libavutil/ppc: Include the hardware feature flags like the other archs Also include the hardware feature flags like the other archs do and clean up the code a bit. Tested on Linux POWER8. Signed-off-by: Brad Smith --- libavutil/ppc/cpu.c | 3

Re: [FFmpeg-devel] [PATCH] swscale/output: add full chroma interpolation support for x2rgb10

2024-11-01 Thread Michael Niedermayer
On Wed, Oct 30, 2024 at 12:20:19PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libswscale/output.c | 25 + > libswscale/utils.c | 4 +++- > tests/ref/fate/filter-pixfmts-scale | 4 ++-- > 3 files changed, 30 insertions(