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

2023-08-15 Thread Xiang, Haihao
On Ma, 2023-08-07 at 09:27 +0200, David Rosca wrote: > 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.tex

Re: [FFmpeg-devel] [PATCH v3] lavu/hwcontext_vaapi: Add vaapi_drm_format_map support for x2rgb10

2023-08-15 Thread Xiang, Haihao
On Do, 2023-08-10 at 08:32 +0200, David Rosca wrote: > Support for allocating frames with x2rgb10 format was added > in c00264f5013, this adds support for importing DMA-BUFs. > --- > v2: fix #ifdef -> #if > v3: annotate > >  libavutil/hwcontext_vaapi.c | 3 +++ >  1 file changed, 3 insertions(+) >

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: restore the default gop size

2023-08-15 Thread Xiang, Haihao
On Vr, 2023-08-11 at 14:35 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > commit a3c0a3e changed the default settings and expected the runtime can > choose a best value. However the runtime doesn't set a valid gop size > for hevc encoder, hence the output steam is non-seekable, which is > i

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: return error with zero output

2023-08-15 Thread Xiang, Haihao
On Do, 2023-08-10 at 14:37 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > Signed-off-by: Haihao Xiang > --- >  libavcodec/qsvenc.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c > index 7ff9d333a2..b3b7475b0f 100644 > ---

[FFmpeg-devel] [PATCH v2] lavfi/dnn: Add OpenVINO API 2.0 support

2023-08-15 Thread wenbin . chen-at-intel . com
From: Wenbin Chen OpenVINO API 2.0 was released in March 2022, which introduced new features. This commit implements current OpenVINO features with new 2.0 APIs. And will add other features in API 2.0. Please add installation path, which include openvino.pc, to PKG_CONFIG_PATH mannually for new O

[FFmpeg-devel] [PATCH] libavfilter/vf_vpp_qsv: Fix a timestamp bug when framerate is not set

2023-08-15 Thread wenbin . chen-at-intel . com
From: Wenbin Chen If user doesn't set framerate when he creates a filter, the filter uses default framerate {0, 1}. This causes error when setting timebase to 1/framerate. Now change it to pass inlink->time_base to outlink when framerate is not set. This patch fixes ticket: #10476 #10468 Signed-

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

2023-08-15 Thread Dong, Ruijing
[AMD Official Use Only - General] -Original Message- From: Wang, Fei W Sent: Wednesday, August 9, 2023 10:55 PM To: ffmpeg-devel@ffmpeg.org Cc: Dong, Ruijing Subject: Re: [FFmpeg-devel] [PATCH v3 6/6] lavc/vaapi_encode: Add VAAPI AV1 encoder On Mon, 2023-08-07 at 22:21 +0100, Mark Thom

[FFmpeg-devel] [PATCH] adpcm fixes and improvements

2023-08-15 Thread Paul B Mahol
Attached From aab0cfb7e37992b1c1ef34740d199cc2bdc4ce40 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 15 Aug 2023 12:18:02 +0200 Subject: [PATCH 1/4] avcodec/adpcm: refactor ADPCM_MS decoder Signed-off-by: Paul B Mahol --- libavcodec/adpcm.c | 63

[FFmpeg-devel] [PATCH v4] vvcdec: add thread executor

2023-08-15 Thread Nuo Mi
The executor design pattern was inroduced by java it also adapted by python Compared to handcrafted thread pool management, it greatly simpli

Re: [FFmpeg-devel] [PATCH v3] vvcdec: add thread executor

2023-08-15 Thread Nuo Mi
On Tue, Aug 15, 2023 at 12:46 AM Michael Niedermayer wrote: > On Wed, Jul 19, 2023 at 09:13:00PM +0800, Nuo Mi wrote: > > The executor design pattern was inroduced by java > > < > https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html > > > > it also adapt

[FFmpeg-devel] [PATCH 2/3] lavu/timer: remove gratuitous volatile

2023-08-15 Thread Rémi Denis-Courmont
AV_READ_TIME has no side effects. It does not need to be volatile. --- libavutil/riscv/timer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/riscv/timer.h b/libavutil/riscv/timer.h index c2465a4524..b418d13a26 100644 --- a/libavutil/riscv/timer.h +++ b/libavutil

[FFmpeg-devel] [PATCH 1/3] lavu/timer: use time for AV_READ_TIME on RISC-V

2023-08-15 Thread Rémi Denis-Courmont
So far, AV_READ_TIME would return the cycle counter. This posed two problems: 1) On recent systems, it would just raise an illegal instruction exception. Indeed RDCYCLE is blocked in user space to ward off some side channel attacks. In particular, this would cause the random number generat

[FFmpeg-devel] [PATCH 3/3] lavu/timer: specify RISC-V time unit

2023-08-15 Thread Rémi Denis-Courmont
--- libavutil/riscv/timer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/riscv/timer.h b/libavutil/riscv/timer.h index b418d13a26..df1a730b5e 100644 --- a/libavutil/riscv/timer.h +++ b/libavutil/riscv/timer.h @@ -48,6 +48,7 @@ static inline uint64_t ff_read_time(void) } #defin

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

2023-08-15 Thread Neal Gompa
On Tue, Aug 15, 2023 at 9:59 AM Dong, Ruijing wrote: > > [AMD Official Use Only - General] > > -Original Message- > From: Wang, Fei W > Sent: Wednesday, August 9, 2023 10:55 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Dong, Ruijing > Subject: Re: [FFmpeg-devel] [PATCH v3 6/6] lavc/vaapi_encod

[FFmpeg-devel] [PATCH] lavc/g722dsp: add RISC-V V DSP function

2023-08-15 Thread Rémi Denis-Courmont
--- libavcodec/g722dsp.c| 2 + libavcodec/g722dsp.h| 1 + libavcodec/riscv/Makefile | 2 + libavcodec/riscv/g722dsp_init.c | 40 libavcodec/riscv/g722dsp_rvv.S | 66 + 5 files changed, 111 insertions(+) create

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

2023-08-15 Thread Mark Thompson
On 15/08/2023 09:02, Xiang, Haihao wrote: On Ma, 2023-08-07 at 09:27 +0200, David Rosca wrote: 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(

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

2023-08-15 Thread Mark Thompson
On 15/08/2023 20:09, Mark Thompson wrote: On 15/08/2023 09:02, Xiang, Haihao wrote: On Ma, 2023-08-07 at 09:27 +0200, David Rosca wrote: v2: Add description in encoders.texi ---   doc/encoders.texi | 3 +++   libavcodec/vaapi_encode.c | 1 +   libavcodec/vaapi_encode.h | 9 -   3 f

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

2023-08-15 Thread David Rosca
On Tue, Aug 15, 2023 at 9:25 PM Mark Thompson wrote: > > On 15/08/2023 20:09, Mark Thompson wrote: > > On 15/08/2023 09:02, Xiang, Haihao wrote: > >> On Ma, 2023-08-07 at 09:27 +0200, David Rosca wrote: > >>> v2: Add description in encoders.texi > >>> --- > >>> doc/encoders.texi | 3 +++

[FFmpeg-devel] [PATCH] avformat/hls: reset the playlist init segment on seek

2023-08-15 Thread Timo Rothenpieler
The mp4 demuxer gets very upset when it gets flushed and not re-fed this data. --- libavformat/hls.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index 2a2fe28a54..c625e30291 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -2506,6 +2506,9 @

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_vpp_qsv: Fix a timestamp bug when framerate is not set

2023-08-15 Thread Xiang, Haihao
On Di, 2023-08-15 at 16:34 +0800, wenbin.chen-at-intel@ffmpeg.org wrote: > From: Wenbin Chen > > If user doesn't set framerate when he creates a filter, the filter uses > default framerate {0, 1}. This causes error when setting timebase to > 1/framerate. Now change it to pass inlink->time_bas

Re: [FFmpeg-devel] [PATCH v7 0/5] JPEG XL Parser (and bug fixes)

2023-08-15 Thread Leo Izen
On 8/9/23 17:56, Leo Izen wrote: On 8/2/23 16:33, Leo Izen wrote: Changes from v6: - Added dummy stub libavformat/jpegxl_parse.c to fix shared builds Bumping for review. I know the commit message in patch 3/5 is wrong, but I can fix that on merge, or v8 if a v8 is necessary. - Leo Izen B

[FFmpeg-devel] [PATCH] avcodec/exr: tag gamma=1.0 output as linear light

2023-08-15 Thread Leo Izen
By default the OpenEXR decoder outputs linear light pixel data by applying a gamma=1.0 transfer (i.e. a no-op). When it does so, it should tag the data as linear so color-managed filters or other tools can work with it correctly. Signed-off-by: Leo Izen --- libavcodec/exr.c | 2 ++ 1 file change