Re: [FFmpeg-devel] [PATCH 1/6] lavu/hwcontext_qsv: specify Shift for each format

2022-10-08 Thread Xiang, Haihao
On Thu, 2022-10-06 at 15:35 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > We can't get Shift from bit depth for some formats in the SDK. For > example, bit depth is 10, however Shift is 0 for Y410 (XV30 in FFmpeg). > In order to support these formats in the next commits, this patch > speci

Re: [FFmpeg-devel] [PATCH v2] lavc/qsvenc_hevc: use open GOP by default

2022-10-08 Thread Xiang, Haihao
On Fri, 2022-10-07 at 10:49 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > HEVC spec has CRA frame which allows random access with open GOP, hence > it can achieve higher compression efficiency. > > Signed-off-by: Haihao Xiang > --- > libavcodec/qsvenc_hevc.c | 1 - > 1 file changed, 1 d

[FFmpeg-devel] [PATCH] fate: vqc testcase

2022-10-08 Thread Peter Ross
--- please copy https://trac.ffmpeg.org/attachment/ticket/5601/samp1.avi to $FATE_SAMPLES/vqc/ tests/fate/video.mak | 3 +++ tests/ref/fate/vqc | 6 ++ 2 files changed, 9 insertions(+) create mode 100644 tests/ref/fate/vqc diff --git a/tests/fate/video.mak b/tests/fate/video.mak index

[FFmpeg-devel] [PATCHv2] avcodec: ViewQuest VQC decoder

2022-10-08 Thread Peter Ross
Reviewed-by: Andreas Rheinhardt Reviewed-by: Tomas Härdin --- Thanks for reviews. All suggestions implemented. Changelog | 1 + doc/general_contents.texi | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 1 + libavcodec/codec_desc.c | 7 + libavcod

Re: [FFmpeg-devel] [PATCH 1/1] Enable building with WSL and MSVC

2022-10-08 Thread Carl Eugen Hoyos
Am Sa., 8. Okt. 2022 um 10:39 Uhr schrieb Julio C. Rocha : > > On Sun, Oct 2, 2022 at 4:48 PM Julio C. Rocha wrote: > > > --- > > configure | 7 ++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/configure b/configure > > index 6712d045d9..f5f5eb29dd 100755 > > --- a/

Re: [FFmpeg-devel] [PATCH 1/9] avcodec/x86/simple_idct: Empty MMX state in ff_simple_idct_mmx

2022-10-08 Thread Michael Niedermayer
On Thu, Oct 06, 2022 at 02:54:30AM +0200, Andreas Rheinhardt wrote: > We currently mostly do not empty the MMX state in our MMX > DSP functions; instead we only do so before code that might > be using x87 code. This is a violation of the System V i386 ABI > (and maybe of other ABIs, too): > "The CP

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mp3dec: remove a call to avio_tell()

2022-10-08 Thread Zhao Zhili
On Tue, 2022-10-04 at 11:01 +0200, Anton Khirnov wrote: > Quoting Zhao Zhili (2022-09-25 06:28:41) > > From: Zhao Zhili > > > > --- > > libavformat/mp3dec.c | 9 - > > 1 file changed, 4 insertions(+), 5 deletions(-) > > Looks ok. Pushed, thanks for review.

Re: [FFmpeg-devel] [PATCH v2] avformat/mpegtsenc: add omit_rai flag

2022-10-08 Thread Zhao Zhili
On Sun, 2022-10-02 at 21:16 +0200, Marton Balint wrote: > > On Fri, 30 Sep 2022, Zhao Zhili wrote: > > > From: Zhao Zhili > > > > Add PCR at keyframe can be undesirable when -pcr_period is > > specified. Add an flag to disable this behavior. > > > > Signed-off-by: Zhao Zhili > > --- > > v2: c

Re: [FFmpeg-devel] [PATCH 1/9] avcodec/x86/simple_idct: Empty MMX state in ff_simple_idct_mmx

2022-10-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > We currently mostly do not empty the MMX state in our MMX > DSP functions; instead we only do so before code that might > be using x87 code. This is a violation of the System V i386 ABI > (and maybe of other ABIs, too): > "The CPU shall be in x87 mode upon entry to a function.

Re: [FFmpeg-devel] [PATCH 1/1] Enable building with WSL and MSVC

2022-10-08 Thread Julio C. Rocha
On Sun, Oct 2, 2022 at 4:48 PM Julio C. Rocha wrote: > --- > configure | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index 6712d045d9..f5f5eb29dd 100755 > --- a/configure > +++ b/configure > @@ -4847,7 +4847,12 @@ probe_cc(){ > el