[FFmpeg-devel] [PATCH 1/2] avformat/sbgdec: Use avio_read_to_bprint() where appropriate

2023-08-07 Thread Andreas Rheinhardt
Note: There is a slight difference in the handling of the max_file_size option: The earlier code used it to mean to limit the size of the buffer to allocate; the new code treats it more literally as maximum size to read from the input. Signed-off-by: Andreas Rheinhardt --- libavformat/sbgdec.c

[FFmpeg-devel] [PATCH] lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang

2023-08-07 Thread Brad Smith
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang libswscale/ppc/yuv2rgb_altivec.c:288:36: error: redeclaration of 'vec_xl' must have the 'overloadable' attribute --- libswscale/ppc/yuv2rgb_altivec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH v3 6/6] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-08-07 Thread Mark Thompson
On 03/08/2023 07:01, fei.w.wang-at-intel@ffmpeg.org wrote: From: Fei Wang Signed-off-by: Fei Wang --- Changelog |1 + configure |3 + doc/encoders.texi | 13 + libavcodec/Makefile |1 +

Re: [FFmpeg-devel] [PATCH v3 5/6] lavc/vaapi_encode: Separate reference frame into previous/future list

2023-08-07 Thread Mark Thompson
On 03/08/2023 07:01, fei.w.wang-at-intel@ffmpeg.org wrote: From: Fei Wang To support more reference frames from different directions. Signed-off-by: Fei Wang --- libavcodec/vaapi_encode.c | 112 +--- libavcodec/vaapi_encode.h | 15 +++--

Re: [FFmpeg-devel] [PATCH v3 4/6] lavc/vaapi_encode: Extract set output pkt timestamp function

2023-08-07 Thread Mark Thompson
On 03/08/2023 07:01, fei.w.wang-at-intel@ffmpeg.org wrote: From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_encode.c | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/libavcodec/vaapi_encode.c

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-08-07 Thread Brad Smith
On 2023-08-07 3:30 p.m., Michael Niedermayer wrote: On Mon, Aug 07, 2023 at 03:04:35PM -0400, Brad Smith wrote: On 2023-07-20 3:17 p.m., Brad Smith wrote: On 7/7/2023 3:16 PM, Brad Smith wrote: On 2023-07-01 2:58 p.m., Brad Smith wrote: On 2023-06-23 7:36 p.m., Brad Smith wrote: On

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-08-07 Thread Michael Niedermayer
On Mon, Aug 07, 2023 at 03:04:35PM -0400, Brad Smith wrote: > On 2023-07-20 3:17 p.m., Brad Smith wrote: > > On 7/7/2023 3:16 PM, Brad Smith wrote: > > > On 2023-07-01 2:58 p.m., Brad Smith wrote: > > > > On 2023-06-23 7:36 p.m., Brad Smith wrote: > > > > > On 2023-06-23 7:35 p.m., Michael

[FFmpeg-devel] Hijack of FATE instances

2023-08-07 Thread Rémi Denis-Courmont
To whom it may concern, It has come to Remlab Tmi's attention that the FATE samples suite has recently been abused to contain non-multimedia files. This is a breach of your trust and we feel that this is totally inappropriate. The FATE instances were explicitly setup and sponsored by Tmi

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-08-07 Thread Brad Smith
On 2023-07-20 3:17 p.m., Brad Smith wrote: On 7/7/2023 3:16 PM, Brad Smith wrote: On 2023-07-01 2:58 p.m., Brad Smith wrote: On 2023-06-23 7:36 p.m., Brad Smith wrote: On 2023-06-23 7:35 p.m., Michael Niedermayer wrote: On Fri, Jun 23, 2023 at 06:56:30PM -0400, Brad Smith wrote: On

[FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-08-07 Thread Kyle Swanson
Hi, Adds the new avfilter `libvmaf_cuda`, integrating the new vmaf_cuda_* apis in libvmaf. Patch attached. Thanks, Kyle 0001-avfilter-add-libvmaf_cuda.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 8/8] cbs_h266: slice_header, fix inference for pred_weight_table

2023-08-07 Thread Nuo Mi
--- libavcodec/cbs_h266_syntax_template.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index b26d7c1a72..4075897b9a 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++

[FFmpeg-devel] [PATCH 7/8] cbs_h266: H266RawSliceHeader, expose NumRefIdxActive[]

2023-08-07 Thread Nuo Mi
--- libavcodec/cbs_h266.h | 1 + libavcodec/cbs_h266_syntax_template.c | 41 +-- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 87a2d02cfd..3a6f6d96b5 100644 --- a/libavcodec/cbs_h266.h

[FFmpeg-devel] [PATCH 6/8] cbs_h266: H266RawPredWeightTable, expose num_weights_l0 and num_weights_l1

2023-08-07 Thread Nuo Mi
--- libavcodec/cbs_h266.h | 3 ++ libavcodec/cbs_h266_syntax_template.c | 43 +-- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 1d80c74feb..87a2d02cfd 100644 --- a/libavcodec/cbs_h266.h

Re: [FFmpeg-devel] [PATCH 1/8] cbs_h266: fix inference for sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag

2023-08-07 Thread Nuo Mi
On Mon, Aug 7, 2023 at 11:17 PM James Almer wrote: > On 8/7/2023 11:55 AM, Nuo Mi wrote: > > if sh_picture_header_in_slice_header_flag is true > > sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag are infered > from ph > > --- > > libavcodec/cbs_h266_syntax_template.c | 24

Re: [FFmpeg-devel] [PATCH v3 2/6] lavc/av1: Add common code and unit test for level handling

2023-08-07 Thread Andreas Rheinhardt
James Almer: > On 8/3/2023 3:01 AM, fei.w.wang-at-intel@ffmpeg.org wrote: >> From: Fei Wang >> >> Signed-off-by: Fei Wang >> --- >> update: >> 1. Rename libavcodec/av1_levels*. >> 2. Use array instead of handle for AV1LevelDescriptor.name. >> 3. Compile libavcodec/av1_levels* only when enable

Re: [FFmpeg-devel] What is FFmpeg and what should it be

2023-08-07 Thread Rémi Denis-Courmont
Le sunnuntaina 6. elokuuta 2023, 22.53.23 EEST Michael Niedermayer a écrit : > > > > Did you ask people to do that? > > > > > > yes, multiple times. > > > Also normally patch objections come with a path forward, that was not > > > the case here. > > > > Not necessarily, sometimes preventing a

Re: [FFmpeg-devel] [PATCH 1/8] cbs_h266: fix inference for sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag

2023-08-07 Thread James Almer
On 8/7/2023 11:55 AM, Nuo Mi wrote: if sh_picture_header_in_slice_header_flag is true sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag are infered from ph --- libavcodec/cbs_h266_syntax_template.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff

[FFmpeg-devel] [PATCH 5/8] cbs_h266: H266RawSliceHeader, expose NumEntryPoints

2023-08-07 Thread Nuo Mi
--- libavcodec/cbs_h266.h | 3 +++ libavcodec/cbs_h266_syntax_template.c | 17 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 0196f46bc0..1d80c74feb 100644 --- a/libavcodec/cbs_h266.h +++

[FFmpeg-devel] [PATCH 4/8] cbs_h266: fix slice_height_in_ctus for single slice tile

2023-08-07 Thread Nuo Mi
--- libavcodec/cbs_h266_syntax_template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index 7277154c40..43b3346359 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++ b/libavcodec/cbs_h266_syntax_template.c

[FFmpeg-devel] [PATCH 3/8] cbs_h266: fix inference for xh_deblocking_filter_disabled_flag

2023-08-07 Thread Nuo Mi
if !ph_deblocking_params_present_flag is true, ph_deblocking_filter_disabled_flag infered from pps if !sh_deblocking_params_present_flag is true, sh_deblocking_filter_disabled_flag infered from ph --- libavcodec/cbs_h266_syntax_template.c | 76 ++- 1 file changed, 28

[FFmpeg-devel] [PATCH 2/8] cbs_h266: fix inference for sh_alf_enabled_flag

2023-08-07 Thread Nuo Mi
if pps_alf_info_in_ph_flag is true sh_alf_enabled_flag infered from ph --- libavcodec/cbs_h266_syntax_template.c | 81 --- 1 file changed, 47 insertions(+), 34 deletions(-) diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index

[FFmpeg-devel] [PATCH 1/8] cbs_h266: fix inference for sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag

2023-08-07 Thread Nuo Mi
if sh_picture_header_in_slice_header_flag is true sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag are infered from ph --- libavcodec/cbs_h266_syntax_template.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH v3 2/6] lavc/av1: Add common code and unit test for level handling

2023-08-07 Thread James Almer
On 8/3/2023 3:01 AM, fei.w.wang-at-intel@ffmpeg.org wrote: From: Fei Wang Signed-off-by: Fei Wang --- update: 1. Rename libavcodec/av1_levels*. 2. Use array instead of handle for AV1LevelDescriptor.name. 3. Compile libavcodec/av1_levels* only when enable vaapi av1 encoder.

[FFmpeg-devel] [PATCH v2] wmavoice: convert DCT-I/DST-I to lavu/tx

2023-08-07 Thread Lynne
No real changes from V1, just used a CMP_TARGET for the FATE tests, and changed the _new suffix to _ref for the references. New references are here, to be uploaded to FATE under the same names: https://files.lynne.ee/streaming_CBR-7K_ref.pcm https://files.lynne.ee/streaming_CBR-11K_ref.pcm

Re: [FFmpeg-devel] [PATCH 2/5] avcodec/mv30: Check the input length before allocation

2023-08-07 Thread Paul B Mahol
NAK ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v3 1/6] avcodec/cbs_av1: Add tx mode enum values

2023-08-07 Thread Xiang, Haihao
On Do, 2023-08-03 at 14:01 +0800, fei.w.wang-at-intel@ffmpeg.org wrote: > From: Fei Wang > > Signed-off-by: Fei Wang > --- >  libavcodec/av1.h | 7 +++ >  libavcodec/cbs_av1_syntax_template.c | 4 ++-- >  2 files changed, 9 insertions(+), 2 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH v2] lavc/vaapi_encode: Add filler_data option

2023-08-07 Thread David Rosca
v2: Add description in encoders.texi --- doc/encoders.texi | 3 +++ libavcodec/vaapi_encode.c | 1 + libavcodec/vaapi_encode.h | 9 - 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 25d6b7f09e..f146942aa5 100644 ---