Re: [FFmpeg-devel] [PATCH 1/5] avformat/aviobuf: set AVIOContext->error on bprint buffer ENOMEM

2022-01-03 Thread Andreas Rheinhardt
Marton Balint: > > > On Fri, 31 Dec 2021, Marton Balint wrote: > >> >> >> On Fri, 31 Dec 2021, Andreas Rheinhardt wrote: >> >>>  Marton Balint:  This makes sure the error condition is kept in AVIOContext even if the  user  does not check the return value of avio_read_to_bprint or

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/vf_blend: fix un-checked potential memory allocation failure

2022-01-03 Thread Wu, Jianhua
Lynne: > Sent: Monday, January 3, 2022 10:23 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 5/5] avfilter/vf_blend: fix un-checked > potential memory allocation failure > > 2 Jan 2022, 15:51 by jianhua.wu-at-intel@ffmpeg.org: > > >

Re: [FFmpeg-devel] [PATCH v10 1/6] lavu/frame: Add Dolby Vision metadata side data type

2022-01-03 Thread Niklas Haas
On Mon, 03 Jan 2022 01:27:22 +0100 Niklas Haas wrote: > +/** > + * Dolby Vision RPU data mapping parameters. > + * > + * @note sizeof(AVDOVIDataMapping) is not part of the public ABI. > + */ > +typedef struct AVDOVIDataMapping { > +uint8_t vdr_rpu_id; > +uint8_t mapping_color_space; > +

Re: [FFmpeg-devel] [PATCH v10 1/6] lavu/frame: Add Dolby Vision metadata side data type

2022-01-03 Thread Andreas Rheinhardt
Niklas Haas: > On Mon, 03 Jan 2022 01:27:22 +0100 Niklas Haas wrote: >> +/** >> + * Dolby Vision RPU data mapping parameters. >> + * >> + * @note sizeof(AVDOVIDataMapping) is not part of the public ABI. >> + */ >> +typedef struct AVDOVIDataMapping { >> +uint8_t vdr_rpu_id; >> +uint8_t mapp

[FFmpeg-devel] [PATCH v11] lavu/frame: Add Dolby Vision metadata side data type

2022-01-03 Thread Niklas Haas
From: Niklas Haas Yeah, I think I agree that this is probably the best compromise here. Updated documentation (and also changed one unnecessarily-large uint64_t to uint16_t) --- In order to be able to extend this struct later (as the Dolby Vision RPU evolves), all of the 'container' structs are

Re: [FFmpeg-devel] [PATCH v3] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-03 Thread Andreas Rheinhardt
p...@sandflow.com: > From: Pierre-Anthony Lemieux > > Signed-off-by: Pierre-Anthony Lemieux > --- > > Notes: > The `fate-imf-cpl-with-repeat` target requires following files (<256 kB) > to placed under $(TARGET_SAMPLES)/imf/countdown/: > > http://ffmpeg-imf-samples-public.s3-we

Re: [FFmpeg-devel] [RFC] avdevice: lock to minor version of avformat

2022-01-03 Thread Andreas Rheinhardt
Diederick C. Niehorster: > FWIW, the macro > #define AV_MAKE_MAJOR_MINOR_FUNC_NAME(name,major,minor) > AV_GLUE(av,name)AV_GLUE(_version_,major)AV_GLUE(_,minor) > doesn't compile on patchwork > (https://patchwork.ffmpeg.org/check/49062/), but worked fine for me on > MSVC. Is MSVC non-compliant someh

Re: [FFmpeg-devel] [RFC v2] avdevice: lock to minor version of avformat

2022-01-03 Thread Andreas Rheinhardt
Diederick Niehorster: > As per discussion on the list ( > https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281513.html, see > especially https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281586.html), > to resolve the the unholy ABI-relationship between libavdevice and > libavformat and allow

Re: [FFmpeg-devel] [PATCH 02/11] avcodec/raw: Reduce number of avpriv symbols

2022-01-03 Thread Andreas Rheinhardt
Andreas Rheinhardt: > libavcodec currently exports four avpriv symbols that deal with > PixelFormatTags: avpriv_get_raw_pix_fmt_tags, avpriv_find_pix_fmt, > avpriv_pix_fmt_bps_avi and avpriv_pix_fmt_bps_mov. The latter two are > lists of PixelFormatTags, the former returns such a list and the secon

Re: [FFmpeg-devel] [RFC v2] avdevice: lock to minor version of avformat

2022-01-03 Thread Diederick C. Niehorster
Hi Andreas, Thanks for the comments! On Mon, Jan 3, 2022 at 11:02 AM Andreas Rheinhardt wrote: > > Diederick Niehorster: > > As per discussion on the list ( > > https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281513.html, see > > especially https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June

Re: [FFmpeg-devel] Optimize Mpeg4 decoding for loongarch

2022-01-03 Thread 殷时友
> 2021年12月29日 下午6:18,Hao Chen 写道: > > ./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an > before:376fps > after :552fps > > V2: Revised PATCH 1/3 according to the comments. > V3: Resubmit these patches due to miss PATCH v2 1/3. > > [PATCH v3 1/3] avcodec: [loongarch] Opti

Re: [FFmpeg-devel] [PATCH] configure: Make IMF demuxer require MXF demuxer

2022-01-03 Thread Zane van Iperen
On Monday, 3 January 2022 4:19:05 PM AEST Andreas Rheinhardt wrote: > The former is useless without the latter. > > Signed-off-by: Andreas Rheinhardt > --- > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index 6ad70b9f7b..e2ea473565 100755 > --- a/co

Re: [FFmpeg-devel] [PATCH v1] avformat/imf: Fix error handling in set_context_streams_from_tracks()

2022-01-03 Thread Zane van Iperen
On Monday, 3 January 2022 3:22:26 AM AEST p...@sandflow.com wrote: > From: Pierre-Anthony Lemieux > > Signed-off-by: Pierre-Anthony Lemieux > --- > libavformat/imfdec.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c > inde

[FFmpeg-devel] [PATCH] avcodec/golomb: Factor writing golomb codes out

2022-01-03 Thread Andreas Rheinhardt
Most users only want to either read or write golomb codes, not both. By splitting these headers one avoids having unnecesssary (get|put)_hits.h inclusions. Signed-off-by: Andreas Rheinhardt --- libavcodec/ffv1enc.c | 2 +- libavcodec/flacenc.c | 2 +- libavcodec/golomb.h | 13

[FFmpeg-devel] [PATCH] avdevice/alldevices: constify some function parameters

2022-01-03 Thread James Almer
Signed-off-by: James Almer --- libavdevice/alldevices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c index fbbe187a51..3db489b83c 100644 --- a/libavdevice/alldevices.c +++ b/libavdevice/alldevices.c @@ -68,7 +68,7 @@ v

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/vf_blend: fix un-checked potential memory allocation failure

2022-01-03 Thread Timo Rothenpieler
On 03.01.2022 09:39, Wu, Jianhua wrote: And there is one more question, may I know why there is a suffix "@ffmpeg.org" behind my commit Author email? Your E-Mail server is enforcing strict policy via DKIM/DMARC, so it's impossible for any other mail-servers, like mailing lists, to send E-Mail

Re: [FFmpeg-devel] [PATCH] avdevice/alldevices: constify some function parameters

2022-01-03 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavdevice/alldevices.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c > index fbbe187a51..3db489b83c 100644 > --- a/libavdevice/alldevices.c > +++ b/libavdevice/a

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/vf_blend: fix un-checked potential memory allocation failure

2022-01-03 Thread Wu Jianhua
Timo Rothenpieler wrote: > On 03.01.2022 09:39, Wu, Jianhua wrote: >> And there is one more question, may I know why there is a suffix >> "@ffmpeg.org" >> behind my commit Author email? > > Your E-Mail server is enforcing strict policy via DKIM/DMARC, so it's > impos

Re: [FFmpeg-devel] [PATCH v2] lavfi/drawtext: Add localtime_ms for millisecond precision

2022-01-03 Thread Thilo Borgmann
Am 29.12.21 um 12:46 schrieb Nicolas George: > "zhilizhao(赵志立)" (12021-12-29): >> How about add a restriction like this: >> >> if (format.endsWith(“%S")) >> enable the feature >> else >> warning message >> >> It’s a useful feature, it shouldn't create unexpected results, but >> doesn’t need

[FFmpeg-devel] [PATCH v1] avformat/imf: fix bad free() when directory name of the input url is empty

2022-01-03 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Found through manual fuzzing. libavformat/imfdec.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c index f17064cfcd..4e42db8d30 100644 --- a/l

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Michael Niedermayer
On Mon, Jan 03, 2022 at 06:31:37AM +0100, Jean-Baptiste Kempf wrote: > On Fri, 31 Dec 2021, at 20:40, Michael Niedermayer wrote: > >> It would be nice to have a public date set a few days into the future. > > > > yes, i intended to do that, unless people wanted a ASAP/NOW branch > > So what are th

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Hendrik Leppkes
On Mon, Jan 3, 2022 at 5:14 PM Michael Niedermayer wrote: > > On Mon, Jan 03, 2022 at 06:31:37AM +0100, Jean-Baptiste Kempf wrote: > > On Fri, 31 Dec 2021, at 20:40, Michael Niedermayer wrote: > > >> It would be nice to have a public date set a few days into the future. > > > > > > yes, i intended

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Hendrik Leppkes
On Mon, Jan 3, 2022 at 6:17 PM Hendrik Leppkes wrote: > > Unfortunately the patch was also never on the ML for discussion or review. > Sorry, I was blind, it was in fact on the ML. I must've been thinking of something else.. - Hendrik ___ ffmpeg-devel

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Paul B Mahol
On Mon, Jan 3, 2022 at 6:18 PM Hendrik Leppkes wrote: > On Mon, Jan 3, 2022 at 5:14 PM Michael Niedermayer > wrote: > > > > On Mon, Jan 03, 2022 at 06:31:37AM +0100, Jean-Baptiste Kempf wrote: > > > On Fri, 31 Dec 2021, at 20:40, Michael Niedermayer wrote: > > > >> It would be nice to have a pub

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Michael Niedermayer
On Mon, Jan 03, 2022 at 07:04:48PM +0100, Paul B Mahol wrote: > On Mon, Jan 3, 2022 at 6:18 PM Hendrik Leppkes wrote: > > > On Mon, Jan 3, 2022 at 5:14 PM Michael Niedermayer > > wrote: > > > > > > On Mon, Jan 03, 2022 at 06:31:37AM +0100, Jean-Baptiste Kempf wrote: > > > > On Fri, 31 Dec 2021,

[FFmpeg-devel] Build break: VideoToolbox VP9 support breaks H.264-only build

2022-01-03 Thread Cameron Gutman
I am building minimal ffmpeg libraries for my application using the following configure command: ./configure --enable-shared --disable-all --enable-avcodec --enable-decoder=h264 --enable-hwaccel=h264_videotoolbox libavcodec.dylib now fails to link after the following commit: commit a41a2efc85f8

Re: [FFmpeg-devel] [PATCH 1/5] avformat/aviobuf: set AVIOContext->error on bprint buffer ENOMEM

2022-01-03 Thread Marton Balint
On Mon, 3 Jan 2022, Andreas Rheinhardt wrote: Marton Balint: On Fri, 31 Dec 2021, Marton Balint wrote: On Fri, 31 Dec 2021, Andreas Rheinhardt wrote:  Marton Balint:  This makes sure the error condition is kept in AVIOContext even if the  user  does not check the return value of avio

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Michael Niedermayer
On Mon, Jan 03, 2022 at 05:14:13PM +0100, Michael Niedermayer wrote: > On Mon, Jan 03, 2022 at 06:31:37AM +0100, Jean-Baptiste Kempf wrote: > > On Fri, 31 Dec 2021, at 20:40, Michael Niedermayer wrote: > > >> It would be nice to have a public date set a few days into the future. > > > > > > yes, i

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Paul B Mahol
On Mon, Jan 3, 2022 at 7:58 PM Michael Niedermayer wrote: > On Mon, Jan 03, 2022 at 07:04:48PM +0100, Paul B Mahol wrote: > > On Mon, Jan 3, 2022 at 6:18 PM Hendrik Leppkes > wrote: > > > > > On Mon, Jan 3, 2022 at 5:14 PM Michael Niedermayer > > > wrote: > > > > > > > > On Mon, Jan 03, 2022 at

Re: [FFmpeg-devel] [RFC/PATCH 1/2] lavf: add a flag for experimental (de)muxers

2022-01-03 Thread Anton Khirnov
Quoting Michael Niedermayer (2022-01-02 23:45:19) > On Sun, Jan 02, 2022 at 06:46:04PM +0100, Anton Khirnov wrote: > > --- > > doc/APIchanges | 3 +++ > > libavformat/avformat.h | 7 +++ > > libavformat/format.c | 2 ++ > > libavformat/version.h | 2 +- > > 4 files changed, 13 inser

[FFmpeg-devel] [PATCH 1/2] avcodec/apedec: Fix integer overflows in predictor_update_3930()

2022-01-03 Thread Michael Niedermayer
Fixes: signed integer overflow: 1074134419 - -1075212485 cannot be represented in type 'int' Fixes: 43273/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-4706880883130368 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-

[FFmpeg-devel] [PATCH 2/2] doc/APIchanges: Fill in missing things

2022-01-03 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/APIchanges | 72 +- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 670a59329e3..bfe17c39360 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -14,82

Re: [FFmpeg-devel] [PATCH 2/2] doc/APIchanges: Fill in missing things

2022-01-03 Thread James Almer
On 1/3/2022 5:01 PM, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- doc/APIchanges | 72 +- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 670a59329e3..bfe17c39360 100644

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Michael Niedermayer
On Mon, Jan 03, 2022 at 08:25:44PM +0100, Paul B Mahol wrote: > On Mon, Jan 3, 2022 at 7:58 PM Michael Niedermayer > wrote: > > > On Mon, Jan 03, 2022 at 07:04:48PM +0100, Paul B Mahol wrote: > > > On Mon, Jan 3, 2022 at 6:18 PM Hendrik Leppkes > > wrote: > > > > > > > On Mon, Jan 3, 2022 at 5:1

[FFmpeg-devel] [PATCH v3] libavcodec/flacenc: add backward-compatible 32 bit-per-sample capability

2022-01-03 Thread Martijn van Beurden
Enables creation of FLAC files with up to 32 bits-per-sample, up from the previous limit of 24 bit. This is a feature requested for RAWcooked, the archiving community has a need for storing files with 32-bit integer audio samples. See https://github.com/MediaArea/RAWcooked/issues/356 Restrictions

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Paul B Mahol
On Mon, Jan 3, 2022 at 9:14 PM Michael Niedermayer wrote: > On Mon, Jan 03, 2022 at 08:25:44PM +0100, Paul B Mahol wrote: > > On Mon, Jan 3, 2022 at 7:58 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Mon, Jan 03, 2022 at 07:04:48PM +0100, Paul B Mahol wrote: > > > > O

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Michael Niedermayer
On Mon, Jan 03, 2022 at 09:29:40PM +0100, Paul B Mahol wrote: > On Mon, Jan 3, 2022 at 9:14 PM Michael Niedermayer > wrote: > > > On Mon, Jan 03, 2022 at 08:25:44PM +0100, Paul B Mahol wrote: > > > On Mon, Jan 3, 2022 at 7:58 PM Michael Niedermayer < > > mich...@niedermayer.cc> > > > wrote: > > >

[FFmpeg-devel] [RFC] QSV: Introduce min Compile-SDK Version and check for Runtime-Versions instead

2022-01-03 Thread Soft Works
Hi, this is a follow-up to my recently submitted patch: “avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)” That patch only fixes the one important regression from multiple issues which have been introduced by recent changes. Those changes have gone in a less than ideal directi

Re: [FFmpeg-devel] [PATCH] avfilter/vf_libvmaf: update filter for libvmaf v2.0.0

2022-01-03 Thread Kyle Swanson
Hi, On Sun, Jan 2, 2022 at 9:21 PM Andreas Rheinhardt wrote: > > > > static const AVOption libvmaf_options[] = { > > -{"model_path", "Set the model to be used for computing vmaf.", > > OFFSET(model_path), AV_OPT_TYPE_STRING, > > {.str="/usr/local/share/model/vmaf_v0.6.

Re: [FFmpeg-devel] [PATCH v7 01/12] avdevice/dshow: prevent NULL access

2022-01-03 Thread Roger Pack
On Fri, Dec 24, 2021 at 1:50 AM Gyan Doshi wrote: > > > > On 2021-12-23 10:54 am, Gyan Doshi wrote: > > > > > > On 2021-12-23 10:39 am, Roger Pack wrote: > >> These LGTM, could someone apply them for me? > >> Thanks! > > > > Tomorrow, if no else does, or objects. > > Pushed as > > 7b21841ce45ef4ab

Re: [FFmpeg-devel] [PATCH v2 0/5] avdevice/dshow fixups

2022-01-03 Thread Roger Pack
These LGTM. Feel free to add yourself as a dshow maintainer if so interested, as well! :) On Sun, Jan 2, 2022 at 2:50 AM Diederick Niehorster wrote: > > These five patches fix two regressions (one crashing bug making dshow > unusable on x86, and one regression introduced by my recent patches due

Re: [FFmpeg-devel] 5.0 release

2022-01-03 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Jean- > Baptiste Kempf > Sent: Monday, January 3, 2022 6:32 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] 5.0 release > > On Fri, 31 Dec 2021, at 20:40, Michael Niedermayer wrote: > >> It would be nice to have a pu

Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)

2022-01-03 Thread Xiang, Haihao
On Sun, 2022-01-02 at 03:41 +, ffmpegagent wrote: > From: softworkz > > Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a > regression in a way that scaling via vpp_qsv doesn't work any longer > for devices with an MSDK runtime version lower than 1.19. This is true > for older CPUs

[FFmpeg-devel] [PATCH] avcodec/dvdsubdec: fix incorrect yellow appearance of dvd subtitles

2022-01-03 Thread ffmpegagent
From: softworkz The guess_palette() implementation is questionable in itself as its results don't match those from other DVD subtitle decoders. This commit starts cleanup by fixing an obvious bug which has made certain DVD subs appear yellow instead of white or grey for more than 10 years.. Sig

Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)

2022-01-03 Thread Soft Works
> -Original Message- > From: Xiang, Haihao > Sent: Tuesday, January 4, 2022 3:16 AM > To: ffmpeg-devel@ffmpeg.org > Cc: softwo...@hotmail.com > Subject: Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on > older api versions (e.g. 1.11) > > On Sun, 2022-01-02 at 03:41 +0

Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)

2022-01-03 Thread Xiang, Haihao
On Tue, 2022-01-04 at 02:25 +, Soft Works wrote: > > -Original Message- > > From: Xiang, Haihao > > Sent: Tuesday, January 4, 2022 3:16 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: softwo...@hotmail.com > > Subject: Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on > > ol

Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)

2022-01-03 Thread Soft Works
> -Original Message- > From: Xiang, Haihao > Sent: Tuesday, January 4, 2022 3:37 AM > To: ffmpeg-devel@ffmpeg.org; softwo...@hotmail.com > Subject: Re: [FFmpeg-devel] [PATCH v2] avfilter/vpp_qsv: fix regression on > older api versions (e.g. 1.11) > > On Tue, 2022-01-04 at 02:25 +,

Re: [FFmpeg-devel] [PATCH v2 0/5] avdevice/dshow fixups

2022-01-03 Thread Gyan Doshi
On 2022-01-04 05:02 am, Roger Pack wrote: These LGTM. Feel free to add yourself as a dshow maintainer if so interested, as well! :) I assume these need to be pushed too. Gyan On Sun, Jan 2, 2022 at 2:50 AM Diederick Niehorster wrote: These five patches fix two regressions (one crashin

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information

2022-01-03 Thread Pierre-Anthony Lemieux
On Sun, Jan 2, 2022 at 11:13 PM Andreas Rheinhardt wrote: > > Pierre-Anthony Lemieux: > > On Sat, Jan 1, 2022 at 5:35 PM Andreas Rheinhardt > > wrote: > >> > >> Pierre-Anthony Lemieux: > >>> Minor suggestion below. > >>> > >>> In addition, will sample file(s) be added to FATE? Below are two examp

[FFmpeg-devel] [PATCH v3 1/6] lavc/arm: dont assign hevc_qpel functions for non-multiple of 8 widths

2022-01-03 Thread J. Dekker
The assembly is written assuming that the width is a multiple of 8. However the real issue is the functions were errorneously assigned to the 2, 4, 6 & 12 widths. This behaviour never broke the decoder as samples which trigger the functions for these widths have not been found in the wild. This re

[FFmpeg-devel] [PATCH v3 2/6] Revert "arm: hevc_qpel: Fix the assembly to work with non-multiple of 8 widths"

2022-01-03 Thread J. Dekker
This reverts commit 2589060b92eeeb944c6e2b50e38412c0c5fabcf4 which was originally to fix the FATE test. The real cause of the test breakage was fixed in 8dc8f04036eb27c8ad419839d4ed3bc67c44fe7a. Signed-off-by: J. Dekker --- libavcodec/arm/hevcdsp_qpel_neon.S | 18 +- 1 file chang

[FFmpeg-devel] [PATCH v3 3/6] lavc/aarch64: add hevc sao edge 16x16

2022-01-03 Thread J. Dekker
bench on AWS Graviton: hevc_sao_edge_16x16_8_c: 1857.0 hevc_sao_edge_16x16_8_neon: 211.0 hevc_sao_edge_32x32_8_c: 7802.2 hevc_sao_edge_32x32_8_neon: 808.2 hevc_sao_edge_48x48_8_c: 16764.2 hevc_sao_edge_48x48_8_neon: 1796.5 hevc_sao_edge_64x64_8_c: 32647.5 hevc_sao_edge_64x64_8_neon: 3118.5 Signed

[FFmpeg-devel] [PATCH v3 4/6] lavc/aarch64: add hevc sao edge 8x8

2022-01-03 Thread J. Dekker
bench on AWS Graviton: hevc_sao_edge_8x8_8_c: 516.0 hevc_sao_edge_8x8_8_neon: 81.0 Signed-off-by: J. Dekker --- libavcodec/aarch64/hevcdsp_init_aarch64.c | 3 ++ libavcodec/aarch64/hevcdsp_sao_neon.S | 51 +++ 2 files changed, 54 insertions(+) diff --git a/libavcodec/a

[FFmpeg-devel] [PATCH v3 5/6] lavc/aarch64: clean-up sao band 8x8 function formatting

2022-01-03 Thread J. Dekker
Signed-off-by: J. Dekker --- libavcodec/aarch64/hevcdsp_sao_neon.S | 65 +++ 1 file changed, 25 insertions(+), 40 deletions(-) diff --git a/libavcodec/aarch64/hevcdsp_sao_neon.S b/libavcodec/aarch64/hevcdsp_sao_neon.S index 167b9676d8..73b0b3b056 100644 --- a/libavcodec/

[FFmpeg-devel] [PATCH v3 6/6] lavc/aarch64: add hevc sao band 8x8 tiling

2022-01-03 Thread J. Dekker
--bench on AWS Graviton: hevc_sao_band_8x8_8_c: 317.5 hevc_sao_band_8x8_8_neon: 97.5 hevc_sao_band_16x16_8_c: 1115.0 hevc_sao_band_16x16_8_neon: 322.7 hevc_sao_band_32x32_8_c: 4599.2 hevc_sao_band_32x32_8_neon: 1246.2 hevc_sao_band_48x48_8_c: 10021.7 hevc_sao_band_48x48_8_neon: 2740.5 hevc_sao_ban

[FFmpeg-devel] [PATCH v1] avformat/imf: fix CPL parsing error handling

2022-01-03 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- libavformat/imf_cpl.c | 51 +++ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/libavformat/imf_cpl.c b/libavformat/imf_cpl.c index 167244a5a2..72fc7ffec8 100644 --- a/

[FFmpeg-devel] [PATCH v1] avformat/imf: fix error CPL root element is absent

2022-01-03 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Found through manual fuzzing. libavformat/imf_cpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/imf_cpl.c b/libavformat/imf_cpl.c index 7055b49ae8..167244a5a2 100644 --- a/lib

Re: [FFmpeg-devel] [EXT] Re: [PATCH v4 1/3] avcodec/v4l2_context: don't reinit output queue when dynamic resolution change

2022-01-03 Thread Ming Qian
> -Original Message- > From: Andriy Gelman [mailto:andriy.gel...@gmail.com] > Sent: Monday, January 3, 2022 12:24 AM > To: FFmpeg development discussions and patches > Cc: Ming Qian > Subject: [EXT] Re: [FFmpeg-devel] [PATCH v4 1/3] avcodec/v4l2_context: don't > reinit output queue when d

Re: [FFmpeg-devel] [EXT] Re: [PATCH v4 2/3] avcodec/v4l2_context: resume the decoding process after source change event received.

2022-01-03 Thread Ming Qian
> -Original Message- > From: Andriy Gelman [mailto:andriy.gel...@gmail.com] > Sent: Monday, January 3, 2022 12:41 AM > To: FFmpeg development discussions and patches > Cc: Ming Qian > Subject: [EXT] Re: [FFmpeg-devel] [PATCH v4 2/3] avcodec/v4l2_context: > resume the decoding process af