Re: [FFmpeg-devel] [PATCH] codec/arm/hevcdsp_idct_neon: remove duplicate mov

2023-03-07 Thread Martin Storsjö
On Mon, 6 Mar 2023, xufuji456 wrote: --- libavcodec/arm/hevcdsp_idct_neon.S | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/libavcodec/arm/hevcdsp_idct_neon.S b/libavcodec/arm/hevcdsp_idct_neon.S index 41ca3b83a8..66ed1c6785 100644 --- a/libavcodec/arm/hevcdsp_idct

Re: [FFmpeg-devel] [PATCH] lavu/vulkan: fix handle type for 32-bit targets

2023-03-07 Thread Martin Storsjö
On Tue, 7 Mar 2023, Kacper Michajlow wrote: On Mon, 6 Mar 2023 at 10:00, Martin Storsjö wrote: On Thu, 2 Mar 2023, Kacper Michajłow wrote: Fixes compilation with clang which errors out on Wint-conversion. Signed-off-by: Kacper Michajłow --- libavutil/hwcontext_vulkan.c | 2 +- libavutil/vu

Re: [FFmpeg-devel] [PATCH v3] avcodec/mathops: Optimize generic mid_pred function

2023-03-07 Thread Michael Niedermayer
On Tue, Mar 07, 2023 at 05:08:27PM +0800, Junxian Zhu wrote: > From: Junxian Zhu > > Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve > performance. And because nowadays new version compiler can compile enough > short asmbbely code as handwritting in these function,

[FFmpeg-devel] [PATCH] fate: add a vp9_superframe_bsf test

2023-03-07 Thread James Almer
This splits a sample and merges it again, so it also tests the vp9_superframe_split bsf Signed-off-by: James Almer --- tests/fate/vpx.mak| 4 tests/ref/fate/vp9-superframe-bsf | 30 ++ 2 files changed, 34 insertions(+) create mode 100644 tests/

Re: [FFmpeg-devel] [PATCH] lavu/vulkan: fix handle type for 32-bit targets

2023-03-07 Thread Kacper Michajlow
On Mon, 6 Mar 2023 at 10:00, Martin Storsjö wrote: > > On Thu, 2 Mar 2023, Kacper Michajłow wrote: > > > Fixes compilation with clang which errors out on Wint-conversion. > > > > Signed-off-by: Kacper Michajłow > > --- > > libavutil/hwcontext_vulkan.c | 2 +- > > libavutil/vulkan.h | 4 +

Re: [FFmpeg-devel] [PATCH v3 4/5] avformat/movenc: add PCM in mp4 support

2023-03-07 Thread Tomas Härdin
tis 2023-03-07 klockan 10:30 +0800 skrev zhilizhao(赵志立): > > > > On Mar 6, 2023, at 20:28, Tomas Härdin wrote: > > > > > +static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext > > > *pb, > > > MOVTrack *track) > > > +{ > > > +    int64_t pos = avio_tell(pb); > > > +    int config = 0; >

[FFmpeg-devel] [PATCH] libavformat/img2dec: fix unable to find svg format when the svg resources start with "

2023-03-07 Thread 1035567130
From: Wang Yaqiang svg is xml, but --- libavformat/img2dec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 5a63d7c81d..448a574b59 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -25,6 +25,7 @@

[FFmpeg-devel] [PATCH 2/2] avcodec/av1dec: make CBS parse only the OBU types we care about

2023-03-07 Thread James Almer
Signed-off-by: James Almer --- libavcodec/av1dec.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 87b63eef84..a0720454c9 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -752,6 +752,16 @@ static int update_context_wi

[FFmpeg-devel] [PATCH v3] avcodec/mathops: Optimize generic mid_pred function

2023-03-07 Thread Junxian Zhu
From: Junxian Zhu Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h. Signed