[FFmpeg-devel] [PATCH] avcodec/cuviddec: Add handling HDR10+ sidedata on cuviddec.

2024-09-18 Thread yoonjoo
Implemented decoding of NAL units and handling HDR10+ sidedata by referring to hevcdec. Signed-off-by: yoonjoo --- libavcodec/cuviddec.c | 69 +++ 1 file changed, 69 insertions(+) diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c index 3fae9c1..1

Re: [FFmpeg-devel] [PATCH 2/7] avcodec/vc2enc: basic sanity check on slice_max_bytes

2024-09-18 Thread Michael Niedermayer
On Fri, Sep 13, 2024 at 01:33:32AM +0200, Michael Niedermayer wrote: > Fixes: left shift of 896021632 by 3 places cannot be represented in type 'int' > Fixes: > 70544/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC2_fuzzer-6685593652756480 > > Found-by: continuous fuzzing process > https://

Re: [FFmpeg-devel] [PATCH 4/7] avformat/mxfdec: Check timecode for overflow

2024-09-18 Thread Michael Niedermayer
On Sun, Sep 15, 2024 at 08:28:16PM +0200, Tomas Härdin wrote: > fre 2024-09-13 klockan 01:33 +0200 skrev Michael Niedermayer: > > Fixes: signed integer overflow: 9223372036840103968 + 538976288 > > cannot be represented in type 'long' > > Fixes: 70604/clusterfuzz-testcase-minimized-ffmpeg_dem_MXF_f

Re: [FFmpeg-devel] [PATCH 5/7] avformat/mxfdec: More offset_temp checks

2024-09-18 Thread Michael Niedermayer
On Mon, Sep 16, 2024 at 09:59:11AM +0200, Tomas Härdin wrote: > sön 2024-09-15 klockan 22:28 +0200 skrev Tomas Härdin: > > fre 2024-09-13 klockan 01:33 +0200 skrev Michael Niedermayer: > > > Fixes: signed integer overflow: 9223372036854775807 - - > > > 1927491430256034080 cannot be represented in t

Re: [FFmpeg-devel] [PATCH 7/7] avformat/flvdec: Free metaVideoColor

2024-09-18 Thread Michael Niedermayer
On Fri, Sep 13, 2024 at 10:15:28AM +0800, Steven Liu wrote: > Michael Niedermayer 于2024年9月13日周五 07:44写道: > > > > Fixes: memeleak > > Fixes: > > 70659/clusterfuzz-testcase-minimized-ffmpeg_dem_KUX_fuzzer-4539872627458048 > > > > Found-by: continuous fuzzing process > > https://github.com/google/o

Re: [FFmpeg-devel] [PATCH 1/2] lavf/mxfdec: Switch to mxf_metadata_read_table loop to FF_ARRAY_ELEMS, skip if read == NULL

2024-09-18 Thread Tomas Härdin
mån 2024-09-16 klockan 10:00 +0200 skrev Tomas Härdin: > Will push in a day or two Pushed /Tomas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-de

Re: [FFmpeg-devel] [PATCH] swscale/aarch64: Fix rgb24toyv12 only works with aligned width

2024-09-18 Thread Zhao Zhili
> On Sep 18, 2024, at 20:51, Martin Storsjö wrote: > > On Wed, 18 Sep 2024, Zhao Zhili wrote: > >> From: Zhao Zhili >> >> Since c0666d8b, rgb24toyv12 is broken for width non-aligned to 16. >> Add a simple wrapper to handle the non-aligned part. >> >> Signed-off-by: Zhao Zhili >> Co-authore

[FFmpeg-devel] [PATCH v2] swscale/aarch64: Fix rgb24toyv12 only works with aligned width

2024-09-18 Thread Zhao Zhili
From: Zhao Zhili Since c0666d8b, rgb24toyv12 is broken for width non-aligned to 16. Add a simple wrapper to handle the non-aligned part. Signed-off-by: Zhao Zhili Co-authored-by: johzzy --- v2: test width 2 and 540 libswscale/aarch64/rgb2rgb.c | 23 ++- tests/checkasm/sw_

Re: [FFmpeg-devel] [PATCH] swscale/aarch64: Fix rgb24toyv12 only works with aligned width

2024-09-18 Thread Martin Storsjö
On Wed, 18 Sep 2024, Zhao Zhili wrote: From: Zhao Zhili Since c0666d8b, rgb24toyv12 is broken for width non-aligned to 16. Add a simple wrapper to handle the non-aligned part. Signed-off-by: Zhao Zhili Co-authored-by: johzzy --- libswscale/aarch64/rgb2rgb.c | 23 ++- test

[FFmpeg-devel] [PATCH] swscale/aarch64: Fix rgb24toyv12 only works with aligned width

2024-09-18 Thread Zhao Zhili
From: Zhao Zhili Since c0666d8b, rgb24toyv12 is broken for width non-aligned to 16. Add a simple wrapper to handle the non-aligned part. Signed-off-by: Zhao Zhili Co-authored-by: johzzy --- libswscale/aarch64/rgb2rgb.c | 23 ++- tests/checkasm/sw_rgb.c | 2 +- 2 file

Re: [FFmpeg-devel] [PATCH 16/23] avcodec/hevc/refs: export Stereo 3D side data

2024-09-18 Thread Anton Khirnov
Quoting James Almer (2024-09-17 18:44:00) > - Output stream side data as passed to lavf by the CLI should contain > information that applies to the entire stream, which includes all the > views packets may contain. This obviously also applies to what is passed > to the encoder beforehand. > > T

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Fix encode fail since 9db68ed0

2024-09-18 Thread Xiang, Haihao
On Vr, 2024-09-13 at 10:45 +0200, Lynne via ffmpeg-devel wrote: > On 13/09/2024 05:15, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > >   libavcodec/vaapi_encode_av1.c | 2 +- > >   1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode: Fix potential use of uninitialized value

2024-09-18 Thread Xiang, Haihao
On Wo, 2024-09-11 at 09:37 +0800, fei.w.wang-at-intel@ffmpeg.org wrote: > From: Fei Wang > > Signed-off-by: Fei Wang > --- >  libavcodec/vaapi_encode.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c > index 0058

[FFmpeg-devel] [PATCH v2 8/8] lavc/vaapi_dec: Add VVC decoder

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- Changelog | 1 + configure | 3 + libavcodec/Makefile | 1 + libavcodec/hwaccels.h | 1 + libavcodec/vaapi_decode.c | 4 + libavcodec/vaapi_vvc.c| 657 ++ libav

[FFmpeg-devel] [PATCH v2 7/8] lavc/vvc_dec: Add hardware decode API

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vvc/dec.c | 73 +-- libavcodec/vvc/dec.h | 4 +++ libavcodec/vvc/refs.c | 6 3 files changed, 73 insertions(+), 10 deletions(-) diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c index

[FFmpeg-devel] [PATCH v2 5/8] lavc/vvc_refs: Define FF_VVC_FRAME_FLAG* to h header

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang So that hardware decoder can use the flags too. Signed-off-by: Fei Wang --- libavcodec/vvc/refs.c | 38 +- libavcodec/vvc/refs.h | 5 + 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/libavcodec/vvc/refs.c b/libavcodec/vv

[FFmpeg-devel] [PATCH v2 6/8] lavc/vvc_ps: Add alf raw syntax into VVCALF

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vvc/ps.c | 10 +- libavcodec/vvc/ps.h | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c index ff9a6c7a15..f32f1cc5a1 100644 --- a/libavcodec/vvc/ps.c +++ b/libavcodec/vvc

[FFmpeg-devel] [PATCH v2 3/8] lavc/cbs_h266: Add SliceTopLeftTileIdx to H266RawPPS

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/cbs_h266.h | 1 + libavcodec/cbs_h266_syntax_template.c | 4 2 files changed, 5 insertions(+) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index d24a8e9313..7f0e537b31 100644 --- a/libavcodec/cbs_h266.h ++

[FFmpeg-devel] [PATCH v2 4/8] lavc/cbs_h266: Add NumSlicesInTile to H266RawPPS

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/cbs_h266.h | 1 + libavcodec/cbs_h266_syntax_template.c | 16 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 7f0e537b31..67a3ff6151 100644

[FFmpeg-devel] [PATCH v2 2/8] lavc/vaapi_decode: Use a more meaningful variable name

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_decode.c | 20 ++-- libavcodec/vaapi_decode.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index 709699dcaf..7753f72106 100644 --- a/lib

[FFmpeg-devel] [PATCH v2 1/8] lavc/vaapi_dec: Create VA parameters dynamically

2024-09-18 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_decode.c | 34 +- libavcodec/vaapi_decode.h | 7 ++- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index a59194340f..709699dc