[FFmpeg-devel] [PATCH 1/6] libavcodec/qsvenc: Add max_frame_size reset support to qsv

2022-08-18 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 4 libavcodec/qsvenc.c | 20 libavcodec/qsvenc.h | 2 ++ 3 files changed, 26 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 6d73f74196..69fa46f3ea 100644 --- a/doc/encoders.texi +++ b/doc/enc

[FFmpeg-devel] [PATCH 2/6] libavcodec/qsvenc: Add gop_size reset support to qsvenc

2022-08-18 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 3 +++ libavcodec/qsvenc.c | 18 +- libavcodec/qsvenc.h | 2 ++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 69fa46f3ea..9fb63856b1 100644 --- a/doc/encoders.texi +

[FFmpeg-devel] [PATCH 3/6] libavcodec/qsvenc: Add "slice" intra refresh type to qsvenc

2022-08-18 Thread Wenbin Chen
Add "slice" intra refresh type to h264_qsv and hevc_qsv. This type means horizontal refresh by slices without overlapping. Also update the doc. Signed-off-by: Wenbin Chen --- doc/encoders.texi| 12 libavcodec/qsvenc_h264.c | 1 + libavcodec/qsvenc_hevc.c | 1 + 3 files cha

[FFmpeg-devel] [PATCH 5/6] libavcodec/qsvenc: Add max/min qp reset support in qsvenc

2022-08-18 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 11 +++ libavcodec/qsvenc.c | 78 + libavcodec/qsvenc.h | 9 ++ 3 files changed, 98 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index b28b1f7f0b..fad3cad30b 100644 --- a

[FFmpeg-devel] [PATCH 6/6] libavcodec/qsvenc: Add low_delay_brc reset support to qsvenc

2022-08-18 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 4 libavcodec/qsvenc.c | 23 ++- libavcodec/qsvenc.h | 2 ++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index fad3cad30b..d8e52006ce 100644 --- a/doc/encoders.

[FFmpeg-devel] [PATCH 4/6] libavcodec/qsvenc: Add intra refresh reset support to qsvenc

2022-08-18 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 7 +++ libavcodec/qsvenc.c | 33 + libavcodec/qsvenc.h | 5 + 3 files changed, 45 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 48fe73fd33..b28b1f7f0b 100644 --- a/doc/encoders

Re: [FFmpeg-devel] [PATCH v2 2/4] ffmpeg: Add display_matrix option

2022-08-18 Thread Anton Khirnov
Quoting Gyan Doshi (2022-08-17 10:50:43) > > > On 2022-08-17 01:48 pm, Anton Khirnov wrote: > > Quoting Thilo Borgmann (2022-08-16 20:48:57) > >> Am 16.08.22 um 16:10 schrieb Anton Khirnov: > >>> Quoting Thilo Borgmann (2022-08-15 22:02:09) > $subject > > -Thilo > From fe2ff

[FFmpeg-devel] [PATCH] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread 戚铁铮
The latest commit of Loongson MMI macro replaces were incorrect. It makes a mass of green tints on HEVC videos when playing. I've compared it with the older MMI implementation, and found out that several lines have been replaced by wrong macros. Signed-off-by: Qi Tiezheng --- libavcodec/mips/he

Re: [FFmpeg-devel] [PATCH 2/2] checkasm: sw_scale: Reduce range of test data in the yuv2yuvX test to get closer to real data

2022-08-18 Thread Martin Storsjö
On Wed, 17 Aug 2022, Ronald S. Bultje wrote: On Wed, Aug 17, 2022 at 4:32 PM Martin Storsjö wrote: This avoids overflows on some inputs in the x86 case, where the assembly version would clip/overflow differently from the C reference function. This doesn't seem to be a r

[FFmpeg-devel] [PATCH v2] checkasm: sw_scale: Produce more realistic test filter coefficients for yuv2yuvX

2022-08-18 Thread Martin Storsjö
This avoids triggering overflows in the filters, and avoids stray test failures in the approximate functions on x86; due to rounding differences, one implementation might overflow while another one doesn't. Signed-off-by: Martin Storsjö --- FWIW, this modification runs successfully with over 1000

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread Hao Chen
There are still some bugs unresolved in HEVC decoding. The checkasm-hevc-pel test failed. It's suggested to repair together. 在 2022/8/18 下午3:15, 戚铁铮 写道: The latest commit of Loongson MMI macro replaces were incorrect. It makes a mass of green tints on HEVC videos when playing. I've compared it

[FFmpeg-devel] [PATCH v2] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI

2022-08-18 Thread Wang, Bin
Any comments on this patch V2? -Original Message- From: Wang, Bin Sent: Monday, August 15, 2022 1:39 PM To: ffmpeg-devel@ffmpeg.org Cc: Wang, Bin Subject: [FFmpeg-devel] [PATCH v2] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI Fro

Re: [FFmpeg-devel] API enhancements / broken promises

2022-08-18 Thread Tomas Härdin
ons 2022-08-17 klockan 19:21 +0200 skrev Michael Niedermayer: > > Now to achieve this do we need xml and json ? > grep tells me we have 500 matches (not counting docs) for xml and > almost 100 > for json > Also for streaming and some cases filtering being able to serialize > objects > would be use

Re: [FFmpeg-devel] [PATCH v2 2/7] avutil/half2float: adjust conversion of NaN

2022-08-18 Thread Tomas Härdin
sön 2022-08-14 klockan 18:48 +0200 skrev Timo Rothenpieler: > IEEE-754 differentiates two different kind of NaNs. > Quiet and Signaling ones. They are differentiated by the MSB of the > mantissa. > > For whatever reason, actual hardware conversion of half to single > always > sets the signaling bi

Re: [FFmpeg-devel] [PATCH 1/2] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-08-18 Thread PLT
Hi, Thank you for your code review and for all your valuable comments and remarks. We have done a lot of changes to our EVC wrapper implementation following them, and I think each of these changes have moved our wrapper one step forwards toward a final community-acceptable solution. A few days

Re: [FFmpeg-devel] [PATCH 1/2] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-08-18 Thread PLT
Hi, Thank you for your code review and for all your valuable comments and remarks. We have done a lot of changes to our EVC wrapper implementation following them, and I think each of these changes have moved our wrapper one step forwards toward a final community-acceptable solution. A few days

Re: [FFmpeg-devel] [PATCH 2/2] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-08-18 Thread PLT
Hi, Thank you for your code review and for all your valuable comments and remarks. We have done a lot of changes to our EVC wrapper implementation following them, and I think each of these changes have moved our wrapper one step forwards toward a final community-acceptable solution. A few days

Re: [FFmpeg-devel] [PATCH 0/5] Provide neon implementation for me_cmp functions

2022-08-18 Thread Martin Storsjö
On Tue, 16 Aug 2022, Hubert Mazur wrote: Add arm64 neon implementation for functions from motion estimation family. All of them were tested and benchmarked using checkasm tool. The rare code paths, e.g. when filter_size % 4 != 0 were also tested. Instructions were manualy deinterleaved to re

Re: [FFmpeg-devel] [PATCH 1/5] lavc/aarch64: Add neon implementation for sse16

2022-08-18 Thread Martin Storsjö
On Tue, 16 Aug 2022, Hubert Mazur wrote: Provide neon implementation for sse16 function. Performance comparison tests are shown below. - sse_0_c: 268.2 - sse_0_neon: 43.5 Benchmarks and tests run with checkasm tool on AWS Graviton 3. Signed-off-by: Hubert Mazur --- libavcodec/aarch64/me_cmp_

Re: [FFmpeg-devel] [PATCH 2/5] lavc/aarch64: Add neon implementation for sse4

2022-08-18 Thread Martin Storsjö
On Tue, 16 Aug 2022, Hubert Mazur wrote: Provide neon implementation for sse4 function. Performance comparison tests are shown below. - sse_2_c: 80.7 - sse_2_neon: 31.0 Benchmarks and tests are run with checkasm tool on AWS Graviton 3. Signed-off-by: Hubert Mazur --- libavcodec/aarch64/me_cm

Re: [FFmpeg-devel] [PATCH v2] checkasm: sw_scale: Produce more realistic test filter coefficients for yuv2yuvX

2022-08-18 Thread Alan Kelly
Thanks Martin for doing this. On Thu, Aug 18, 2022 at 10:16 AM Martin Storsjö wrote: > This avoids triggering overflows in the filters, and avoids stray > test failures in the approximate functions on x86; due to rounding > differences, one implementation might overflow while another one > doesn

Re: [FFmpeg-devel] [PATCH 3/5] lavc/aarch64: Add neon implementation for pix_abs16_y2

2022-08-18 Thread Martin Storsjö
On Tue, 16 Aug 2022, Hubert Mazur wrote: Provide optimized implementation of pix_abs16_y2 function for arm64. Performance comparison tests are shown below. pix_abs_0_2_c: 317.2 pix_abs_0_2_neon: 37.5 Benchmarks and tests run with checkasm tool on AWS Graviton 3. Signed-off-by: Hubert Mazur -

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread 殷时友
> 2022年8月18日 16:29,Hao Chen 写道: > > There are still some bugs unresolved in HEVC decoding. The checkasm-hevc-pel > test failed. It's suggested to repair together. > > 在 2022/8/18 下午3:15, 戚铁铮 写道: >> The latest commit of Loongson MMI macro replaces were incorrect. >> It makes a mass of green ti

Re: [FFmpeg-devel] [PATCH 4/5] lavc/aarch64: Add neon implementation for sse8

2022-08-18 Thread Martin Storsjö
On Tue, 16 Aug 2022, Hubert Mazur wrote: Provide optimized implementation of sse8 function for arm64. Performance comparison tests are shown below. - sse_1_c: 130.7 - sse_1_neon: 29.7 Benchmarks and tests run with checkasm tool on AWS Graviton 3. Signed-off-by: Hubert Mazur --- libavcodec/aa

Re: [FFmpeg-devel] [PATCH 5/5] lavc/aarch64: Add neon implementation for pix_abs8

2022-08-18 Thread Martin Storsjö
On Tue, 16 Aug 2022, Hubert Mazur wrote: Provide optimized implementation of pix_abs8 function for arm64. Performance comparison tests are shown below. - pix_abs_1_0_c: 101.2 - pix_abs_1_0_neon: 22.5 - sad_1_c: 101.2 - sad_1_neon: 22.5 Benchmarks and tests are run with checkasm tool on AWS Gra

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread 戚铁铮
At 2022/8/18 PM 5:18,"ffmpeg-devel" "殷时友" wrote: > 2022年8月18日 16:29,Hao Chen 写道: > > There are still some bugs unresolved in HEVC decoding. The checkasm-hevc-pel test failed. It's suggested to repair together. > > 在 2022/8/18 下午3:15, 戚铁铮 写道: >> The latest com

Re: [FFmpeg-devel] [PATCH v2 2/4] ffmpeg: Add display_matrix option

2022-08-18 Thread Gyan Doshi
On 2022-08-17 05:55 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2022-08-17 12:53:11) On 2022-08-17 02:35 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2022-08-17 10:50:43) On 2022-08-17 01:48 pm, Anton Khirnov wrote: Quoting Thilo Borgmann (2022-08-16 20:48:57) Am 16.08.22 um 16:10 schrie

[FFmpeg-devel] [PATCH v2] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread 戚铁铮
The latest commit of Loongson MMI macro replaces were incorrect. It makes a mass of green tints on HEVC videos when playing. I've compared it with the older MMI implementation, and found out that several lines have been replaced by wrong macros. Signed-off-by: Qi Tiezheng --- libavcodec/mips/hev

Re: [FFmpeg-devel] [PATCH v2] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread 戚铁铮
At 2022/8/18 PM 7:01, "Qi Tiezheng" wrote: >The latest commit of Loongson MMI macro replaces were incorrect. >It makes a mass of green tints on HEVC videos when playing. I've >compared it with the older MMI implementation, and found out that >several lines have been replaced by w

Re: [FFmpeg-devel] [PATCH v2] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread Shiyou Yin
> 2022年8月18日 19:44,戚铁铮 写道: > > > At 2022/8/18 PM 7:01, "Qi Tiezheng" > wrote: > >> The latest commit of Loongson MMI macro replaces were incorrect. >> It makes a mass of green tints on HEVC videos when playing. I've >> compared it with the older MMI implementation,

Re: [FFmpeg-devel] [PATCH v3] lavc/aarch64: hevc_add_res add 12bit variants

2022-08-18 Thread J. Dekker
On 16 Aug 2022, at 14:46, Martin Storsjö wrote: > On Tue, 16 Aug 2022, J. Dekker wrote: > >> hevc_add_res_4x4_12_c: 46.0 >> hevc_add_res_4x4_12_neon: 18.7 >> hevc_add_res_8x8_12_c: 194.7 >> hevc_add_res_8x8_12_neon: 25.2 >> hevc_add_res_16x16_12_c: 716.0 >> hevc_add_res_16x16_12_neon: 69.7 >> hevc

[FFmpeg-devel] [PATCH 4/4] fftools/ffmpeg: call av_guess_frame_rate() when opening the file

2022-08-18 Thread Anton Khirnov
It is currently called when configuring the filter, which races with the demuxer thread. --- fftools/ffmpeg.h| 2 ++ fftools/ffmpeg_filter.c | 2 +- fftools/ffmpeg_opt.c| 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index f67a2

[FFmpeg-devel] [PATCH 3/4] lavf: deprecate av_stream_get_parser()

2022-08-18 Thread Anton Khirnov
It retrieves an AVStream's internal parser, whose state is not well-defined from the caller's point of view. This function was added for ffmpeg.c, which is no longer using it. As there is no valid use for this function, deprecate it without replacement. --- doc/APIchanges | 3 ++- li

[FFmpeg-devel] [PATCH 1/4] lavf: deprecate av_stream_get_end_pts()

2022-08-18 Thread Anton Khirnov
According to its documentation it returns "pts of the last muxed packet + its duration", but the value it actually returns right now is (possibly guessed) dts after muxer-internal bitstream filtering (if any). This function was added for ffmpeg.c, but it is not used there anymore. Since the value

[FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread Anton Khirnov
The parser is internal to the demuxer, so its state at any particular point is not well-defined for the caller. Additionally, it is being accessed from the main thread, while demuxing runs in a separate thread. Use a separate parser owned by ffmpeg.c to retrieve the same information. Fixes races,

Re: [FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread Andreas Rheinhardt
Anton Khirnov: > The parser is internal to the demuxer, so its state at any particular > point is not well-defined for the caller. Additionally, it is being > accessed from the main thread, while demuxing runs in a separate thread. > > Use a separate parser owned by ffmpeg.c to retrieve the same >

Re: [FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2022-08-18 15:58:37) > > Are you aware that some parsers (e.g. the HEVC one) are still slow even > with the PARSER_FLAG_COMPLETE_FRAMES flag and consume non-negligible > amounts of memory? Alternative suggestions are welcome. I would also be extremely happy to drop th

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-18 Thread Michael Niedermayer
On Wed, Aug 17, 2022 at 05:03:56PM +0200, Tomas Härdin wrote: > tor 2022-08-11 klockan 19:35 +0200 skrev Timo Rothenpieler: > > On 11.08.2022 19:21, Mark Gaiser wrote: > > > > > > Here's the conversation requesting this very feature: > > > https://ffmpeg.org/pipermail/ffmpeg-devel/2022-March/29383

[FFmpeg-devel] [PATCH] swscale/x86/yuv2yuvX: Remove unused ff_yuv2yuvX_mmx()

2022-08-18 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Will apply this tomorrow unless there are objections. libswscale/x86/yuv2yuvX.asm | 2 -- 1 file changed, 2 deletions(-) diff --git a/libswscale/x86/yuv2yuvX.asm b/libswscale/x86/yuv2yuvX.asm index b6294cb919..d5b03495fd 100644 --- a/libswscale/x86/yuv2yuvX

Re: [FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2022-08-18 15:58:37) >> >> Are you aware that some parsers (e.g. the HEVC one) are still slow even >> with the PARSER_FLAG_COMPLETE_FRAMES flag and consume non-negligible >> amounts of memory? > > Alternative suggestions are welcome. > Can't we pass t

Re: [FFmpeg-devel] [PATCH] avcodec/mpegvideo_dec: Don't sync AVCodecContext fields manually

2022-08-18 Thread Andreas Rheinhardt
Andreas Rheinhardt: > They are already synced generically in update_context_from_thread() > in pthread_frame.c. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/mpegvideo_dec.c | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo

Re: [FFmpeg-devel] [PATCH 1/1] doc: fix binary values of SI prefixes

2022-08-18 Thread Andreas Rheinhardt
Chema Gonzalez: > --- > doc/utils.texi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/doc/utils.texi b/doc/utils.texi > index 232a0608b3..627b55d154 100644 > --- a/doc/utils.texi > +++ b/doc/utils.texi > @@ -1073,13 +1073,13 @@ indication of the corresponding pow

Re: [FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread Michael Niedermayer
On Thu, Aug 18, 2022 at 03:46:03PM +0200, Anton Khirnov wrote: > The parser is internal to the demuxer, so its state at any particular > point is not well-defined for the caller. Additionally, it is being > accessed from the main thread, while demuxing runs in a separate thread. > > Use a separate

Re: [FFmpeg-devel] [PATCH v2 1/7] avutil: move half-precision float helper to avutil

2022-08-18 Thread Timo Rothenpieler
I plan to push this soon. The half2float.o entry has been moved to the correct Makefile, otherwise nothing else changed in the meantime. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscr

Re: [FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread James Almer
On 8/18/2022 10:58 AM, Andreas Rheinhardt wrote: Anton Khirnov: The parser is internal to the demuxer, so its state at any particular point is not well-defined for the caller. Additionally, it is being accessed from the main thread, while demuxing runs in a separate thread. Use a separate parse

Re: [FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg: stop using av_stream_get_parser()

2022-08-18 Thread Andreas Rheinhardt
James Almer: > On 8/18/2022 10:58 AM, Andreas Rheinhardt wrote: >> Anton Khirnov: >>> The parser is internal to the demuxer, so its state at any particular >>> point is not well-defined for the caller. Additionally, it is being >>> accessed from the main thread, while demuxing runs in a separate th

Re: [FFmpeg-devel] API enhancements / broken promises

2022-08-18 Thread Jean-Baptiste Kempf
On Wed, 17 Aug 2022, at 19:21, Michael Niedermayer wrote: > a unwise choice. But if someone is against very basic xml or json parsers > please speak up now and here because its still better to say "no" now than > after nicolas did the work. Absolutely against this idea. Both JSON and XML are very

Re: [FFmpeg-devel] [PATCH 2/2] doc/plans: add AVWriter

2022-08-18 Thread Jean-Baptiste Kempf
On Wed, 17 Aug 2022, at 23:49, Nicolas George wrote: > +An API that can be used everywhere a function needs to return a > string, or > +really an arbitrary buffer of bytes, and everywhere code needs to > build a > +string from parts. It needs to be fast and lightweight enough to be > used in > +

Re: [FFmpeg-devel] [PATCH 1/2] doc/plans: add a file to list approved projects

2022-08-18 Thread Jean-Baptiste Kempf
n Wed, 17 Aug 2022, at 23:49, Nicolas George wrote: > doc/plans.md | 6 ++ > 1 file changed, 6 insertions(+) Those plans files become outdated very quickly and are often not maintained. Or they become infinite unicorn-wishlist things. Or they become a blocking task for the project. I have NO

[FFmpeg-devel] [PATCH] avcodec/mpegvideo_dec: Combine two loops

2022-08-18 Thread Andreas Rheinhardt
(I think the check for !reference is unnecessary.) Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_dec.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 406c3feacf..5b37e79e36 100644 --

[FFmpeg-devel] [PATCH] configure: enable the av1_frame_split bsf for the av1 decoder

2022-08-18 Thread Hendrik Leppkes
The BSF is required to make use of the AV1 decoder, thus configure should also ensure it is build. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fe94941a03..6a179190ac 100755 --- a/configure +++ b/configure @@ -2788,7 +2788,7 @@ atrac

Re: [FFmpeg-devel] [PATCH] configure: enable the av1_frame_split bsf for the av1 decoder

2022-08-18 Thread James Almer
On 8/18/2022 4:01 PM, Hendrik Leppkes wrote: The BSF is required to make use of the AV1 decoder, thus configure should also ensure it is build. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fe94941a03..6a179190ac 100755 --- a/conf

Re: [FFmpeg-devel] [PATCH] configure: enable the av1_frame_split bsf for the av1 decoder

2022-08-18 Thread Andreas Rheinhardt
Hendrik Leppkes: > The BSF is required to make use of the AV1 decoder, thus configure > should also ensure it is build. > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index fe94941a03..6a179190ac 100755 > --- a/configure > +++ b/

Re: [FFmpeg-devel] [PATCH] configure: enable the av1_frame_split bsf for the av1 decoder

2022-08-18 Thread Andreas Rheinhardt
Hendrik Leppkes: > The BSF is required to make use of the AV1 decoder, thus configure > should also ensure it is build. s/build/built/ (if I am not mistaken) > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index fe94941a03..6a17

[FFmpeg-devel] [PATCH 3/4] tools/target_dec_fuzzer: Adjust threshold for bethsoftvid

2022-08-18 Thread Michael Niedermayer
Fixes: Timeout Fixes: 49791/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BETHSOFTVID_fuzzer-4583956145635328 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file c

[FFmpeg-devel] [PATCH 1/4] avcodec/bethsoftvideo: Pass GetByteContext into set_palette()

2022-08-18 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/bethsoftvideo.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libavcodec/bethsoftvideo.c b/libavcodec/bethsoftvideo.c index a2e8f412d6..1d0f9198cf 100644 --- a/libavcodec/bethsoftvideo.c +++ b/libavcodec/bethsof

[FFmpeg-devel] [PATCH 4/4] avcodec/speedhq: Check width

2022-08-18 Thread Michael Niedermayer
Fixes: out of array access Fixes: 50014/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEDHQ_fuzzer-4748914632294400 Alternatively the buffer size can be increased Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Nie

[FFmpeg-devel] [PATCH 2/4] avcodec/bethsoftvideo: Check block_type before frame alloc

2022-08-18 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/bethsoftvideo.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/bethsoftvideo.c b/libavcodec/bethsoftvideo.c index 1d0f9198cf..dc7e2f83bb 100644 --- a/libavcodec/bethsoftvideo.c +++ b/libavcodec/bethsoftvideo