Re: [FFmpeg-devel] [PATCH] avcodec/vp8: Fix wrong vpx_rac_is_end() check

2022-11-21 Thread Hirokazu Honda
Hi Ronald, I am sorry for the late reply. The bool decoder for the vp8 headr context can have already reached the end of buffer when it is no longer used. We should not check it here. Adding the check for coeff_c there sounds good to me because coeff_c must not have reached the end of the buffer i

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/h263dec: Avoid parsing extradata repeatedly

2022-11-21 Thread Anton Khirnov
Quoting Michael Niedermayer (2022-11-18 00:14:18) > Fixes: Timeout > Fixes: > 52329/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-4716563886637056 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael N

[FFmpeg-devel] [PATCH 1/3] checkasm/v210enc: test the entire width of 10-bit planar input arrays

2022-11-21 Thread James Darnley
--- tests/checkasm/v210enc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/v210enc.c b/tests/checkasm/v210enc.c index 9942e08137..9fb8321c25 100644 --- a/tests/checkasm/v210enc.c +++ b/tests/checkasm/v210enc.c @@ -72,8 +72,10 @@ randomize_buf

[FFmpeg-devel] [PATCH 2/3] avcodec/x86/v210: replace register use with named register

2022-11-21 Thread James Darnley
--- libavcodec/x86/v210enc.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/v210enc.asm b/libavcodec/x86/v210enc.asm index afac238ede..c2ad3d72c0 100644 --- a/libavcodec/x86/v210enc.asm +++ b/libavcodec/x86/v210enc.asm @@ -62,7 +62,7 @@ SECTION .text ; v210

[FFmpeg-devel] [PATCH 3/3] avcodec/v210enc: add new 10-bit function for avx512 avx512icl

2022-11-21 Thread James Darnley
avx512 on Skylake-X (Xeon D-2123IT): 1.19x faster (970±91.2 vs. 817±104.4 decicycles) compared with avx2 avx512icl on Ice Lake (Xeon Silver 4316): 2.52x faster (1350±5.3 vs. 535±9.5 decicycles) compared with avx2 --- libavcodec/x86/v210enc.asm| 99 +++ libavcod

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/v210enc: add new 10-bit function for avx512 avx512icl

2022-11-21 Thread Andreas Rheinhardt
James Darnley: > avx512 on Skylake-X (Xeon D-2123IT): > 1.19x faster (970±91.2 vs. 817±104.4 decicycles) compared with avx2 > > avx512icl on Ice Lake (Xeon Silver 4316): > 2.52x faster (1350±5.3 vs. 535±9.5 decicycles) compared with avx2 > --- > libavcodec/x86/v210enc.asm| 99

Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/qsvdec: Implement SEI parsing for QSV decoders

2022-11-21 Thread Soft Works
> -Original Message- > From: Xiang, Haihao > Sent: Monday, November 21, 2022 3:45 AM > To: ffmpeg-devel@ffmpeg.org > Cc: softwo...@hotmail.com; kier...@obe.tv; haihao.xiang-at- > intel@ffmpeg.org; andreas.rheinha...@outlook.com > Subject: Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/qs

Re: [FFmpeg-devel] [Internet][PATCH v2 00/12] Add MediaCodec encoder and NDK MediaCodec support

2022-11-21 Thread Zhao Zhili
On Sun, 2022-11-20 at 14:49 +0800, Zhao Zhili wrote: > From: Zhao Zhili > > > v2: > > Rebased on master. > > 01/12: Use crop-width/crop-height as fallback and add TODO. Co- > authored-by: Aman Karmani > 07/12: Fix libavcodec/version.h conflict > 10/12: Change default i-frame-interval to 1 and

Re: [FFmpeg-devel] [Internet][PATCH v2 00/12] Add MediaCodec encoder and NDK MediaCodec support

2022-11-21 Thread StreamNG Harold Camargo
please. unsuscribe. Harold F. Camargo R. Stream NG Cel. 318 3227862 Bogotá Colombia www.stream-ng.com El lun, 21 nov 2022 a las 11:23, Zhao Zhili () escribió: > On Sun, 2022-11-20 at 14:49 +0800, Zhao Zhili wrote: > > From: Zhao Zhili > > > > > > v2: > > > > Rebased on master. > > > > 01/12:

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/v210enc: add new 10-bit function for avx512 avx512icl

2022-11-21 Thread James Darnley
ARCH_X86_64 is always defined. So checks of this type need to check with #if. Thanks. I forgot the ffmpeg convention there. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit l

Re: [FFmpeg-devel] [PATCH V2] lavc/libvpx: increase thread limit to 64

2022-11-21 Thread James Zern
On Tue, Oct 25, 2022 at 8:56 AM Dmitrii Ovchinnikov wrote: > > >> Why do you still impose an upper limit unconditionally even if the > >>user has set his preferred number of threads? > Libvpx-vp9 does not support number of threads greater than 64, so we impose > an upper limit of 64. > E.g. if we

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/h263dec: Avoid parsing extradata repeatedly

2022-11-21 Thread Michael Niedermayer
On Mon, Nov 21, 2022 at 12:53:26PM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2022-11-18 00:14:18) > > Fixes: Timeout > > Fixes: > > 52329/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-4716563886637056 > > > > Found-by: continuous fuzzing process > > https://gith

[FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: add direct film grain mode

2022-11-21 Thread Ruijing Dong
Add flag AV_VAAPI_DRIVER_QUIRK_DIRCT_FILM_GRAIN_ATTRIBUTES to specify a direct film grain mode for AMD av1 decoder. issue: By using AMD av1 decoder via VAAPI, when used with film grain content, the output displays black screen with incorrect frame order. The issue being discussed in here: https:/

Re: [FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: add direct film grain mode

2022-11-21 Thread Lynne
Nov 21, 2022, 20:50 by ruijing.d...@amd.com: > Add flag AV_VAAPI_DRIVER_QUIRK_DIRCT_FILM_GRAIN_ATTRIBUTES to > specify a direct film grain mode for AMD av1 decoder. > > issue: > By using AMD av1 decoder via VAAPI, when used with film > grain content, the output displays black screen with > incorre

[FFmpeg-devel] [PATCH v4 0/4] swscale: rgbaf32 input/output support

2022-11-21 Thread mindmark
From: Mark Reid This patch series adds swscale input/output support for the packed rgb float formats. A few of the filters also needed support the larger 96/128 bit packed pixel sizes. I also plan to eventually add lossless unscaled conversions between the planer and packed formats. changes

[FFmpeg-devel] [PATCH v4 1/4] swscale/input: add rgbaf32 input support

2022-11-21 Thread mindmark
From: Mark Reid --- libswscale/input.c | 120 + libswscale/utils.c | 6 +++ 2 files changed, 126 insertions(+) diff --git a/libswscale/input.c b/libswscale/input.c index d5676062a2..a305be5ac2 100644 --- a/libswscale/input.c +++ b/libswscale/input.c

[FFmpeg-devel] [PATCH v4 2/4] avfilter/vf_hflip: add support for packed rgb float formats

2022-11-21 Thread mindmark
From: Mark Reid --- libavfilter/vf_hflip_init.h | 25 + 1 file changed, 25 insertions(+) diff --git a/libavfilter/vf_hflip_init.h b/libavfilter/vf_hflip_init.h index d0319f463d..31173f73fc 100644 --- a/libavfilter/vf_hflip_init.h +++ b/libavfilter/vf_hflip_init.h @@ -86,

[FFmpeg-devel] [PATCH v4 3/4] avfilter/vf_transpose: add support for packed rgb float formats

2022-11-21 Thread mindmark
From: Mark Reid --- libavfilter/vf_transpose.c | 44 ++ 1 file changed, 44 insertions(+) diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index 469e66729f..1023d6fe82 100644 --- a/libavfilter/vf_transpose.c +++ b/libavfilter/vf_transpose.c

[FFmpeg-devel] [PATCH v4 4/4] swscale/output: add rgbaf32 output support

2022-11-21 Thread mindmark
From: Mark Reid --- libswscale/output.c | 92 libswscale/swscale_unscaled.c| 4 +- libswscale/tests/floatimg_cmp.c | 4 +- libswscale/utils.c | 16 +++-- libswscale/yuv2rgb.c | 2 + te

Re: [FFmpeg-devel] [PATCH v4 0/4] swscale: rgbaf32 input/output support

2022-11-21 Thread StreamNG Harold Camargo
unsuscribe Harold F. Camargo R. Stream NG Cel. 318 3227862 Bogotá Colombia www.stream-ng.com El lun, 21 nov 2022 a las 17:11, escribió: > From: Mark Reid > > This patch series adds swscale input/output support for the packed rgb > float formats. > A few of the filters also needed support the

[FFmpeg-devel] [PATCH 1/3] avutil/tx: Use unsigned in ff_tx_fft_sr_combine() to avoid undefined behavior

2022-11-21 Thread Michael Niedermayer
Fixes: signed integer overflow: -1284837070 - 982101618 cannot be represented in type 'int' Fixes: 53105/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AC3_FIXED_fuzzer-4848015827664896 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed

[FFmpeg-devel] [PATCH 2/3] avcodec/mlpdec: Check max matrix instead of max channel in noise check

2022-11-21 Thread Michael Niedermayer
This is a regression since: adaa06581c5444c94eef72d61b8166f096e2687a Before this, max_channel and max_matrix_channel where compared for equality Fixes: out of array access Fixes: 53340/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEHD_fuzzer-514959011885875 Found-by: continuous fuzzing p

[FFmpeg-devel] [PATCH 3/3] avcodec/dts2pts_bsf: Eliminate some 64bit corner cases

2022-11-21 Thread Michael Niedermayer
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 53364/clusterfuzz-testcase-minimized-ffmpeg_BSF_DTS2PTS_fuzzer-4693772269387776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/

[FFmpeg-devel] [PATCH] lavf/mux: ignore nonmonotonic timestamps for timestampless muxers

2022-11-21 Thread rcombs
--- libavformat/mux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index 37fe19358d..7b13dd8012 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -538,7 +538,7 @@ static int compute_muxer_pkt_fields(AVFormatContext *s, AVSt

Re: [FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: add direct film grain mode

2022-11-21 Thread Xiang, Haihao
On Mon, 2022-11-21 at 14:50 -0500, Ruijing Dong wrote: > Add flag AV_VAAPI_DRIVER_QUIRK_DIRCT_FILM_GRAIN_ATTRIBUTES to > specify a direct film grain mode for AMD av1 decoder. > > issue: > By using AMD av1 decoder via VAAPI, when used with film > grain content, the output displays black screen with

Re: [FFmpeg-devel] [PATCH v6 3/3] avcodec/qsvdec: Implement SEI parsing for QSV decoders

2022-11-21 Thread Xiang, Haihao
On Mon, 2022-11-21 at 15:58 +, Soft Works wrote: > > -Original Message- > > From: Xiang, Haihao > > Sent: Monday, November 21, 2022 3:45 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: softwo...@hotmail.com; kier...@obe.tv; haihao.xiang-at- > > intel@ffmpeg.org; andreas.rheinha...@outlo