[FFmpeg-devel] [PATCH 5/5] lavc/aarch64: new optimization for 8-bit hevc_epel_uni_w_hv

2023-06-03 Thread Logan . Lyu
From: Logan Lyu Signed-off-by: Logan Lyu --- libavcodec/aarch64/hevcdsp_epel_neon.S| 703 ++ libavcodec/aarch64/hevcdsp_init_aarch64.c | 7 + 2 files changed, 710 insertions(+) diff --git a/libavcodec/aarch64/hevcdsp_epel_neon.S b/libavcodec/aarch64/hevcdsp_epel_neon

[FFmpeg-devel] [PATCH 4/5] lavc/aarch64: new optimization for 8-bit hevc_epel_h

2023-06-03 Thread Logan . Lyu
From: Logan Lyu Signed-off-by: Logan Lyu --- libavcodec/aarch64/hevcdsp_epel_neon.S| 343 ++ libavcodec/aarch64/hevcdsp_init_aarch64.c | 7 +- 2 files changed, 349 insertions(+), 1 deletion(-) diff --git a/libavcodec/aarch64/hevcdsp_epel_neon.S b/libavcodec/aarch64/h

[FFmpeg-devel] [PATCH 3/5] lavc/aarch64: new optimization for 8-bit hevc_epel_uni_w_v

2023-06-03 Thread Logan . Lyu
From: Logan Lyu Signed-off-by: Logan Lyu --- libavcodec/aarch64/hevcdsp_epel_neon.S| 504 ++ libavcodec/aarch64/hevcdsp_init_aarch64.c | 6 + 2 files changed, 510 insertions(+) diff --git a/libavcodec/aarch64/hevcdsp_epel_neon.S b/libavcodec/aarch64/hevcdsp_epel_neon

[FFmpeg-devel] [PATCH 2/5] lavc/aarch64: new optimization for 8-bit hevc_epel_uni_w_h

2023-06-03 Thread Logan . Lyu
From: Logan Lyu Signed-off-by: Logan Lyu --- libavcodec/aarch64/Makefile | 1 + libavcodec/aarch64/hevcdsp_epel_neon.S| 378 ++ libavcodec/aarch64/hevcdsp_init_aarch64.c | 7 +- 3 files changed, 385 insertions(+), 1 deletion(-) create mode 100644 libav

[FFmpeg-devel] [PATCH 1/5] lavc/aarch64: new optimization for 8-bit hevc_pel_uni_pixels

2023-06-03 Thread Logan . Lyu
From: Logan Lyu Signed-off-by: Logan Lyu --- libavcodec/aarch64/hevcdsp_init_aarch64.c | 5 ++ libavcodec/aarch64/hevcdsp_qpel_neon.S| 104 ++ 2 files changed, 109 insertions(+) diff --git a/libavcodec/aarch64/hevcdsp_init_aarch64.c b/libavcodec/aarch64/hevcdsp_init_

[FFmpeg-devel] [PATCH 3/3] avformat/av1: reduce the scope of a variable

2023-06-03 Thread James Almer
Signed-off-by: James Almer --- libavformat/av1dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index 501b0cc93f..d0d53f41f7 100644 --- a/libavformat/av1dec.c +++ b/libavformat/av1dec.c @@ -126,11 +126,10 @@ static const AVClas

[FFmpeg-devel] [PATCH 2/3] avformat/av1dec: don't return EIO when the input file is truncated

2023-06-03 Thread James Almer
There was no problem reading the file, so EIO is not correct. Signed-off-by: James Almer --- libavformat/av1dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index 79ad8a9411..501b0cc93f 100644 --- a/libavformat/av1dec.c +

[FFmpeg-devel] [PATCH 1/3 v2] avformat/av1dec: fix EOF check in Annex-B demuxer

2023-06-03 Thread James Almer
And return any packet buffered by the bsf. Signed-off-by: James Almer --- libavformat/av1dec.c | 33 - 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index 216d4e2298..79ad8a9411 100644 --- a/libavformat

Re: [FFmpeg-devel] [PATCH v2] avcodec/aacenc: add strict bit rate control option

2023-06-03 Thread Lynne
May 19, 2023, 06:05 by j...@chromium.org: > Friendly ping for review, thanks! > Patch applied, sorry for the delay. Had my open tab for the patch buried very deep. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: add CBP/CHP profile

2023-06-03 Thread Rick Kern
On Fri, May 26, 2023 at 7:37 AM 徐福隆 <839789...@qq.com> wrote: > Kern, please help to review this patch, which has added CBP profile with > profile options. > As for the VT_H264Profile replacement, let you take over, follow up this > patch. > Thanks. Pushed with minor modifications. > > Thanks >

Re: [FFmpeg-devel] [PATCH] V2: avutil/hwcontext_vulkan: disable multiplane when deriving from cuda

2023-06-03 Thread Lynne
Jun 3, 2023, 02:43 by phil...@overt.org: > Today, cuda is not able to import multiplane images, and cuda requires > images to be imported whether you trying to import to cuda or export > from cuda (in the later case, the image is imported and then copied > into on the cuda side). So any interop be

Re: [FFmpeg-devel] [PATCH v2 5/5] aarch64: Add Windows runtime detection of the dotprod instructions

2023-06-03 Thread Martin Storsjö
On Tue, 30 May 2023, Martin Storsjö wrote: For Windows, there's no publicly defined constant for checking for the i8mm extension yet. --- libavutil/aarch64/cpu.c | 10 ++ 1 file changed, 10 insertions(+) If there's no objections or further comments on this patchset, I'll push it early

Re: [FFmpeg-devel] [PATCH] lavc/aarch64: new optimization for 8-bit hevc_pel_uni_w_pixels, qpel_uni_w_h, qpel_uni_w_v, qpel_uni_w_hv and qpel_h

2023-06-03 Thread Martin Storsjö
On Fri, 2 Jun 2023, Logan.Lyu wrote: I'm sorry I made a stupid mistake, And it's fixed now. Thanks, these look fine to me. I'll push them after the prerequisite patches are pushed. If these patches are acceptable to you, I will submit some similar patches soon. Sure, that should be ok no

Re: [FFmpeg-devel] [PATCH 19/23] fftools/ffmpeg: stop explicitly closing output streams on input EOF

2023-06-03 Thread Anton Khirnov
Quoting Michael Niedermayer (2023-05-31 23:15:47) > On Wed, May 31, 2023 at 04:54:49PM +0200, Anton Khirnov wrote: > > Sending an empty packet already does that implicitly. > > --- > > fftools/ffmpeg.c | 1 - > > 1 file changed, 1 deletion(-) > > seems to infinite loop this: > > ffmpeg -y -threa

[FFmpeg-devel] [PATCH] avcodec: Ignoring errors is only possible before the input end

2023-06-03 Thread Michael Niedermayer
Fixes: out of array read Fixes: Ticket 10308 Signed-off-by: Michael Niedermayer --- libavcodec/h263dec.c | 2 +- libavcodec/mpeg4videodec.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index f4e7048a5f..68a618a7ed 1006

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/rka: avoid undefined multiply in cmode==0

2023-06-03 Thread Michael Niedermayer
On Tue, May 02, 2023 at 05:38:18PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -182838 * 32768 cannot be represented in type > 'int' > Fixes: > 58179/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RKA_fuzzer-5333265899978752 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/rka: use 64bit for srate_pad computation

2023-06-03 Thread Michael Niedermayer
On Sun, May 21, 2023 at 11:05:21PM +0200, Paul B Mahol wrote: > On 5/21/23, Michael Niedermayer wrote: > > On Sun, Mar 05, 2023 at 08:02:20PM +0100, Michael Niedermayer wrote: > >> On Sun, Mar 05, 2023 at 05:37:09PM +0100, Paul B Mahol wrote: > >> > On 3/5/23, Michael Niedermayer wrote: > >> > >

[FFmpeg-devel] [PATCH] tests/fate/ffmpeg: add tests for -max_error_rate

2023-06-03 Thread Anton Khirnov
--- Please upload https://up.khirnov.net/sq.mkv to mkv/h264_tta_undecodable.mkv. Thanks --- tests/fate/ffmpeg.mak | 6 ++ tests/ref/fate/ffmpeg-error-rate-fail | 0 tests/ref/fate/ffmpeg-error-rate-pass | 0 3 files changed, 6 insertions(+) create mode 100644 tests/ref/fate/ff

Re: [FFmpeg-devel] [PATCH] avcodec/cbs: reset the fragment on reading failure

2023-06-03 Thread James Almer
On 6/2/2023 12:30 PM, James Almer wrote: Fixes: NULL pointer dereference Fixes: 59359/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AV1_fuzzer-6726080594313216 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: James Almer --

Re: [FFmpeg-devel] [PATCH 4/5] lavfi/graphparser: reimplement avfilter_graph_parse* using new API

2023-06-03 Thread Anton Khirnov
Quoting Marton Balint (2023-05-30 23:09:50) > > > On Fri, 20 Jan 2023, Anton Khirnov wrote: > > > --- > > libavfilter/graphparser.c | 537 +- > > 1 file changed, 126 insertions(+), 411 deletions(-) > > This change makes error messages for parse failures less u

[FFmpeg-devel] [PATCH] lavfi/graphparser: be more verbose when filtergraph parsing fails

2023-06-03 Thread Anton Khirnov
When an option could not be found, print its name and value. Note that this is not done while applying the options in avfilter_graph_segment_apply_opts() to give the caller the option of handling the missing options in some other way. --- libavfilter/graphparser.c | 36