Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 11, 2025, at 19:23, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> From: Zhao Zhili >> >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/hevc/hevcdec.c | 73 ++- >> libavcodec/hevc/hevcdec.h | 2 ++ >> libavcodec/hevc/refs.c| 34 +

[FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 ++- libavcodec/hevc/hevcdec.h | 2 ++ libavcodec/hevc/refs.c| 35 ++- 3 files changed, 108 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc/hevcdec.

[FFmpeg-devel] [PATCH v7 4/4] avutil/frame: Fix direct pointer compare between different array

2025-02-11 Thread Zhao Zhili
From: Zhao Zhili --- libavutil/frame.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavutil/frame.c b/libavutil/frame.c index 992115e04f..492b467ebd 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -730,7 +730,7 @@ int av_frame_copy_props(AVFrame *d

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread James Almer
On 2/11/2025 12:57 PM, Zhao Zhili wrote: On Feb 11, 2025, at 23:37, Andreas Rheinhardt wrote: Zhao Zhili: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 ++- libavcodec/hevc/hevcdec.h | 2 ++ libavcodec/hevc/refs.c| 3

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 11, 2025, at 23:37, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> From: Zhao Zhili >> >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/hevc/hevcdec.c | 73 ++- >> libavcodec/hevc/hevcdec.h | 2 ++ >> libavcodec/hevc/refs.c| 35 ++

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > > >> On Feb 11, 2025, at 23:37, Andreas Rheinhardt >> wrote: >> >> Zhao Zhili: >>> From: Zhao Zhili >>> >>> Signed-off-by: Zhao Zhili >>> --- >>> libavcodec/hevc/hevcdec.c | 73 ++- >>> libavcodec/hevc/hevcdec.h | 2 ++ >>> libavcodec/hevc/refs

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 12, 2025, at 00:02, James Almer wrote: > > On 2/11/2025 12:57 PM, Zhao Zhili wrote: >>> On Feb 11, 2025, at 23:37, Andreas Rheinhardt >>> wrote: >>> >>> Zhao Zhili: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread James Almer
On 2/11/2025 1:11 PM, Zhao Zhili wrote: On Feb 12, 2025, at 00:02, James Almer wrote: On 2/11/2025 12:57 PM, Zhao Zhili wrote: On Feb 11, 2025, at 23:37, Andreas Rheinhardt wrote: Zhao Zhili: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 ++

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 12, 2025, at 00:10, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> >> >>> On Feb 11, 2025, at 23:37, Andreas Rheinhardt >>> wrote: >>> >>> Zhao Zhili: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 +++

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread James Almer
On 2/11/2025 1:10 PM, Andreas Rheinhardt wrote: Zhao Zhili: On Feb 11, 2025, at 23:37, Andreas Rheinhardt wrote: Zhao Zhili: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 ++- libavcodec/hevc/hevcdec.h | 2 ++ libavcode

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > > >> On Feb 12, 2025, at 00:10, Andreas Rheinhardt >> wrote: >> >> Zhao Zhili: >>> >>> On Feb 11, 2025, at 23:37, Andreas Rheinhardt wrote: Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavcodec/hevc/hevcdec.c |

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 12, 2025, at 00:25, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> >> >>> On Feb 12, 2025, at 00:10, Andreas Rheinhardt >>> wrote: >>> >>> Zhao Zhili: > On Feb 11, 2025, at 23:37, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> From: Zhao Zhili

Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavcodec/hevc/hevcdec.c | 73 ++- > libavcodec/hevc/hevcdec.h | 2 ++ > libavcodec/hevc/refs.c| 34 +- > 3 files changed, 107 insertions(+), 2 deletions(-) > > diff -

Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > > >> On Feb 11, 2025, at 19:23, Andreas Rheinhardt >> wrote: >> >> Zhao Zhili: >>> From: Zhao Zhili >>> >>> Signed-off-by: Zhao Zhili >>> --- >>> libavcodec/hevc/hevcdec.c | 73 ++- >>> libavcodec/hevc/hevcdec.h | 2 ++ >>> libavcodec/hevc/refs

Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > > >> On Feb 11, 2025, at 20:12, Andreas Rheinhardt >> wrote: >> >> Zhao Zhili: >>> >>> On Feb 11, 2025, at 19:23, Andreas Rheinhardt wrote: Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavcodec/hevc/hevcdec.c |

Re: [FFmpeg-devel] [PATCH v5 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 11, 2025, at 16:16, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> From: Zhao Zhili >> >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/hevc/hevcdec.c | 72 ++- >> libavcodec/hevc/hevcdec.h | 2 ++ >> libavcodec/hevc/refs.c| 11 +- >> 3 fi

Re: [FFmpeg-devel] [PATCH] avformat/mov: Store trak > udta metadata on each stream

2025-02-11 Thread Martin Storsjö
On Tue, 4 Feb 2025, Martin Storsjö wrote: Hi Rémi, On Wed, 15 Jan 2025, Rémi Bernon wrote: Some files keep extra metadata such as 'name' fields within udta, and it is useful for Wine to access them with the "export_all" option so they can then be exposed to Windows applications. Signed-off-b

Re: [FFmpeg-devel] [PATCH] swscale/aarch64/rgb2rgb_neon: Implemented uyvytoyuv422

2025-02-11 Thread Krzysztof Pyrkosz via ffmpeg-devel
On Mon, Feb 10, 2025 at 03:15:35PM +0200, Martin Storsjö wrote: > > Just as I'm about to send this patch, I'm thinking if non-interleaved > > read followed by 4 invocations of TBL wouldn't be more performant. One > > call to generate a contiguous vector of u, second for v and two for y. > > I'm cur

[FFmpeg-devel] [PATCH 2/2] swscale/aarch64/rgb2rgb_neon: Implemented {yuyv, uyvy}toyuv{420, 422}

2025-02-11 Thread Krzysztof Pyrkosz via ffmpeg-devel
--- libswscale/aarch64/rgb2rgb.c | 16 ++ libswscale/aarch64/rgb2rgb_neon.S | 262 ++ 2 files changed, 278 insertions(+) diff --git a/libswscale/aarch64/rgb2rgb.c b/libswscale/aarch64/rgb2rgb.c index 7e1dba572d..f474228298 100644 --- a/libswscale/aarch64/rgb2rgb.

[FFmpeg-devel] [PATCH 1/2] tests/checkasm/sw_rgb: Added {yuyv, uyvy}toyuv{420, 422} test cases

2025-02-11 Thread Krzysztof Pyrkosz via ffmpeg-devel
Splitting the previous patch into two. I noticed that on my x86 box, one of the newly added tests fail: MMXEXT: uyvytoyuv420_mmxext (sw_rgb.c:126) yuyvtoyuv420_mmxext (sw_rgb.c:126) - sw_rgb.uyvytoyuv [FAILED] SSE2, AVX and AVX2 are passing, though. --- tests/checkasm/sw_rgb.c |

Re: [FFmpeg-devel] GSoC 2025

2025-02-11 Thread Steven Liu
Michael Niedermayer 于2025年1月28日 周二10:21写道: > Hi > > Everyone interested in mentoring a project in 2025, please add your > idea(s) to [1]. > > during February 11 - 26 "Google program administrators review organization > applications" > That means that by February 11th the list of ideas must be comp

Re: [FFmpeg-devel] [PATCH v5 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavcodec/hevc/hevcdec.c | 72 ++- > libavcodec/hevc/hevcdec.h | 2 ++ > libavcodec/hevc/refs.c| 11 +- > 3 files changed, 83 insertions(+), 2 deletions(-) > > diff --git a/libavc

[FFmpeg-devel] avoption: make the avoption like seekable more general

2025-02-11 Thread Jack Lau
Hi everyone, I’m trying to solve this issue https://trac.ffmpeg.org/ticket/11394. This ticket shows that we need use `-seekable` and `-http_seekable` to control the range header if send. Because these options belong to different file(hls.c and http.c) So I try to modify the http_seekable to se

Re: [FFmpeg-devel] [PATCH v2] lavc/videotoolboxenc: Add spatial_aq option

2025-02-11 Thread Martin Storsjö
On Tue, 4 Feb 2025, Martin Storsjö wrote: On Mon, 16 Dec 2024, Dennis Sädtler via ffmpeg-devel wrote: From: Dennis Sädtler Added in macOS 15 "Sequoia". Signed-off-by: Dennis Sädtler --- Fixed line-endings, otherwise identical to v1. libavcodec/videotoolboxenc.c | 12 1 file ch

[FFmpeg-devel] [PATCH v6 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 ++- libavcodec/hevc/hevcdec.h | 2 ++ libavcodec/hevc/refs.c| 34 +- 3 files changed, 107 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc/hevcdec.c

[FFmpeg-devel] [PATCH v6 1/3] avcodec/hevc: Rewrite scalability_mask_flag parse in decode_vps_ext

2025-02-11 Thread Zhao Zhili
From: Zhao Zhili Remove a for loop and make it easy to extend to support other types of scalability. Move ScalabilityMask to hevc header file so it can be used in hevc decoder. Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevc.h | 7 +++ libavcodec/hevc/ps.c | 33 +++---

[FFmpeg-devel] [PATCH v6 2/3] avcodec/hevc/ps: Add basic HEVC_SCALABILITY_AUXILIARY support

2025-02-11 Thread Zhao Zhili
From: Zhao Zhili Only implementing what's needed for HEVC with alpha. Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevc.h | 5 ++ libavcodec/hevc/ps.c | 125 + libavcodec/hevc/ps.h | 1 + 3 files changed, 95 insertions(+), 36 deletions(-) diff

Re: [FFmpeg-devel] [PATCH v2 5/6] avcodec/hevc/sei: dynamically allocate 3D Reference Displays Information SEI messages

2025-02-11 Thread Michael Niedermayer
On Sun, Feb 09, 2025 at 09:59:06PM -0300, James Almer wrote: > On 2/9/2025 9:53 PM, Michael Niedermayer wrote: > > Hi > > > > On Wed, Feb 05, 2025 at 11:50:17PM -0300, James Almer wrote: > > > Considerably reduces the size of HEVCSEI. > > > > > > Signed-off-by: James Almer > > > --- > > > Fixed

Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Zhao Zhili
> On Feb 11, 2025, at 20:12, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> >> >>> On Feb 11, 2025, at 19:23, Andreas Rheinhardt >>> wrote: >>> >>> Zhao Zhili: From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/hevc/hevcdec.c | 73 +++

Re: [FFmpeg-devel] [PATCH v7 3/4] avcodec/hevc: Add alpha layer support

2025-02-11 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavcodec/hevc/hevcdec.c | 73 ++- > libavcodec/hevc/hevcdec.h | 2 ++ > libavcodec/hevc/refs.c| 35 ++- > 3 files changed, 108 insertions(+), 2 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH] avcodec/vorbisdec: don't abort on EOD when decoding residuals

2025-02-11 Thread Michael Niedermayer
Hi James On Fri, Feb 07, 2025 at 01:47:51PM -0300, James Almer wrote: > Fixes ticket #11427 > > Signed-off-by: James Almer > --- > It may be a good idea to ensure the timeout fuzzer case doesn't regress > after this. > > libavcodec/vorbisdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [FFmpeg-devel] GSoC 2025

2025-02-11 Thread Michael Niedermayer
Hi everyone On Wed, Feb 12, 2025 at 06:30:11AM +0800, Steven Liu wrote: > Michael Niedermayer 于2025年1月28日 周二10:21写道: > > > Hi > > > > Everyone interested in mentoring a project in 2025, please add your > > idea(s) to [1]. > > > > during February 11 - 26 "Google program administrators review organ

Re: [FFmpeg-devel] GSoC 2025

2025-02-11 Thread Kieran Kunhya via ffmpeg-devel
On Wed, 12 Feb 2025, 00:20 Michael Niedermayer, wrote: > Hi everyone > > On Wed, Feb 12, 2025 at 06:30:11AM +0800, Steven Liu wrote: > > Michael Niedermayer 于2025年1月28日 周二10:21写道: > > > > > Hi > > > > > > Everyone interested in mentoring a project in 2025, please add your > > > idea(s) to [1]. >

[FFmpeg-devel] [RFC] GSoC 2025 SDR Cleanup

2025-02-11 Thread Michael Niedermayer
Hi all Ive added SDR to our GSoC 2025 page as there was just a single project on that page and the page needs to be more complete yesterday If people are against this say this NOW do not wait until we have accepted a student and then start some drama It can be removed now easily but not once some

Re: [FFmpeg-devel] [RFC] GSoC 2025 SDR Cleanup

2025-02-11 Thread Kieran Kunhya via ffmpeg-devel
On Wed, 12 Feb 2025, 01:21 Michael Niedermayer, wrote: > Hi all > > Ive added SDR to our GSoC 2025 page as there was just a single project > on that page and the page needs to be more complete yesterday > > If people are against this say this NOW do not wait until we have accepted > a student and

Re: [FFmpeg-devel] GSoC 2025

2025-02-11 Thread Marth64
Hi Kieran, > Adding @Cc Thanks, acknowledged. I will reach out to you guys via the CC email channel. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg

[FFmpeg-devel] Fw: Only 2 GSoC Project Ideas?

2025-02-11 Thread Michael Niedermayer
Hi everyone Please add more GSoC Ideas ASAP! we just got the mail below thanks - Forwarded message from Stephanie Taylor - Date: Tue, 11 Feb 2025 18:28:56 -0800 From: Stephanie Taylor To: Thilo Borgmann , Michael Niedermayer , rverd...@gmail.com Subject: Only 2 GSoC Project Ideas?

Re: [FFmpeg-devel] [RFC] GSoC 2025 SDR Cleanup

2025-02-11 Thread Kieran Kunhya via ffmpeg-devel
On Wed, 12 Feb 2025, 02:11 Michael Niedermayer, wrote: > On Wed, Feb 12, 2025 at 01:23:09AM +, Kieran Kunhya via ffmpeg-devel > wrote: > > Is this a joke? > > no > > It follows up on Jean Baptistes request here: > https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-August/312915.html > > | B

[FFmpeg-devel] [PATCH] swscale/aarch64/rgb2rgb_neon: Implemented uyvytoyuv422

2025-02-11 Thread Krzysztof Pyrkosz via ffmpeg-devel
I forgot to include the benchmarks in the previous message, here they are: A78: uyvytoyuv420_neon:6112.5 ( 6.96x) uyvytoyuv422_neon:6696.0 ( 6.32x) yuyvtoyuv420_neon:6113.0 ( 6.95x) yuyvtoyu

[FFmpeg-devel] [PATCH] swscale/aarch64/rgb24toyv12: skip early right shift by 2

2025-02-11 Thread Krzysztof Pyrkosz via ffmpeg-devel
It's a minor improvement that shaves off 5-8% from the execution time. Instead of shifting by 2 right away and by 7 soon after, shift by 9 one time. Times before and after: A78: rgb24toyv12_16_200_neon: 5366.8 ( 3.62x) rgb24toyv12_128_60_neon:

Re: [FFmpeg-devel] [PATCH] swscale/aarch64/rgb2rgb_neon: Implemented uyvytoyuv422

2025-02-11 Thread Martin Storsjö
On Tue, 11 Feb 2025, Krzysztof Pyrkosz via ffmpeg-devel wrote: I forgot to include the benchmarks in the previous message, here they are: A78: uyvytoyuv420_neon:6112.5 ( 6.96x) uyvytoyuv422_neon:6696.0 ( 6.32x) yuyvtoyuv420

Re: [FFmpeg-devel] [PATCH v2] avcodec/ac3dec: add a flush callback for the ac3 and eac3 decoders

2025-02-11 Thread Michael Niedermayer
Hi James On Thu, Feb 06, 2025 at 04:17:47PM -0300, James Almer wrote: > Fixes ticket #10732 > > Signed-off-by: James Almer > --- > libavcodec/ac3dec.c | 10 ++ > libavcodec/ac3dec.h | 40 ++- > libavcodec/ac3dec_fixed.c | 1 + > libavcode

Re: [FFmpeg-devel] [PATCH v2 2/2] random_seed: Improve behaviour with small timer increments with high precision timers

2025-02-11 Thread Michael Niedermayer
On Mon, Feb 10, 2025 at 03:54:51PM +0200, Martin Storsjö wrote: > On Sun, 9 Feb 2025, Michael Niedermayer wrote: > > > Hi Martin > > > > On Fri, Feb 07, 2025 at 12:04:53AM +0200, Martin Storsjö wrote: > > > On Thu, 6 Feb 2025, Michael Niedermayer wrote: > > > > > > > On Thu, Feb 06, 2025 at 02:3

Re: [FFmpeg-devel] GSoC 2025

2025-02-11 Thread Kieran Kunhya via ffmpeg-devel
Adding @Cc This is a blatant attempt to push an unrelated pet project into FFmpeg under the Gsoc banner with no notice. It's also unfair to students applying as there was serious community pushback against this last time. Kieran On Wed, 12 Feb 2025, 01:16 Kieran Kunhya, wrote: > > > On Wed, 1

Re: [FFmpeg-devel] [RFC] GSoC 2025 SDR Cleanup

2025-02-11 Thread Michael Niedermayer
On Wed, Feb 12, 2025 at 01:23:09AM +, Kieran Kunhya via ffmpeg-devel wrote: > Is this a joke? no It follows up on Jean Baptistes request here: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-August/312915.html | But it's not a library in that repository, like swscale, swresample or sim

Re: [FFmpeg-devel] Fw: Only 2 GSoC Project Ideas?

2025-02-11 Thread James Almer
On 2/12/2025 12:02 AM, Michael Niedermayer wrote: Hi everyone Please add more GSoC Ideas ASAP! Adding ideas is not hard, finding people willing to mentor them is. Otherwise the page would not be so empty. we just got the mail below thanks - Forwarded message from Stephanie Taylor -

Re: [FFmpeg-devel] GSoC 2025

2025-02-11 Thread Nicolas George
Marth64 (12025-02-11): > Thanks, acknowledged. I will reach out to you guys via the CC email channel. “We have promptly and unanimously determined that it has nothing to do with the mandate of the CC to ensure civility on the mailing-list. Quite the opposite, we have determined that it is your att