[FFmpeg-devel] libavformat/mux.c: check AVFMT_NOTIMESTAMPS flags.

2022-11-01 Thread 乔海娇
#/**本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/vpp_qsv: Copy side data from input to output frame

2022-11-01 Thread Andreas Rheinhardt
Xiang, Haihao: > On Mon, 2022-10-24 at 23:04 +, softworkz wrote: >> From: softworkz >> >> Signed-off-by: softworkz >> --- >> libavfilter/qsvvpp.c | 6 ++ >> libavfilter/vf_overlay_qsv.c | 19 +++ >> 2 files changed, 21 insertions(+), 4 deletions(-) >> >> diff

Re: [FFmpeg-devel] [PATCH] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-01 Thread Wang, Fei W
On Mon, 2022-10-31 at 22:32 -0400, Ruijing Dong wrote: > v2: update commit message Updates shouldn't appear in commit message. You can use "--annotate" of git send-email, then add your updates below "---" after sign-off. Thus the patch can be applied without updates. For example:

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: add AV1 encoding support

2022-11-01 Thread Andreas Rheinhardt
Timo Rothenpieler: > --- > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index 3c6fce391d..9a1a1fcc37 100644 > --- a/libavcodec/nvenc.c > +++ b/libavcodec/nvenc.c > @@ -1,5 +1,5 @@ > /* > - * H.264/HEVC hardware encoding using nvidia nvenc > + * H.264/HEVC/AV1 hardware encoding using

Re: [FFmpeg-devel] [PATCH 0/4] Fix FFmpeg compilation without DCE

2022-11-01 Thread Andreas Rheinhardt
L. E. Segovia: > Hi all, > > This is a patch to fix building FFmpeg without having DCE enabled. > This was previously attempted by Andreas Rheinhardt in commit > 40e6575aa3eed64cd32bf28c00ae57edc5acb25a. However, this is not remotely > enough for MSVC; one can quickly check for this by

Re: [FFmpeg-devel] [PATCH 3/4] all: Guard if (INLINE*) checks with #if HAVE_INLINE_ASM

2022-11-01 Thread Andreas Rheinhardt
L. E. Segovia: > Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a > > Signed-off-by: L. E. Segovia > --- > libavcodec/x86/vc1dsp_init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/x86/vc1dsp_init.c b/libavcodec/x86/vc1dsp_init.c > index

Re: [FFmpeg-devel] [PATCH 2/4] all: Replace if (CONFIG_FOO) checks by #if CONFIG_FOO

2022-11-01 Thread Andreas Rheinhardt
L. E. Segovia: > Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f > > Signed-off-by: L. E. Segovia > --- > fftools/ffprobe.c | 22 ++ > fftools/opt_common.c| 18 +- > libavformat/rtmpproto.c | 24 ++-- > 3 files changed,

Re: [FFmpeg-devel] [PATCH 4/4] all: Guard if (EXTERNAL*) checks with #if HAVE_X86ASM

2022-11-01 Thread Andreas Rheinhardt
L. E. Segovia: > Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a > > Signed-off-by: L. E. Segovia > --- > libavcodec/x86/aacencdsp_init.c| 2 ++ > libavcodec/x86/aacpsdsp_init.c | 2 ++ > libavcodec/x86/ac3dsp_init.c | 4 >

[FFmpeg-devel] [PATCH] avcodec/nvenc: add AV1 encoding support

2022-11-01 Thread Timo Rothenpieler
--- Due to lack of any kind of compatible hardware, I cannot test this yet. Hence I've marked it as experimental, and am submitting it in the hopes of someone with compatible hardware showing up to give it a go. I've tested that it compiles, and gave all the options a good look to make sure they

Re: [FFmpeg-devel] [PATCH 1/4] all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2

2022-11-01 Thread Andreas Rheinhardt
L. E. Segovia: > Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a > > Co-authored-by: Nirbheek Chauhan > > Signed-off-by: L. E. Segovia > --- > libavcodec/x86/dcadsp_init.c | 2 + > libavcodec/x86/fdctdsp_init.c| 2 + > libavcodec/x86/flacdsp_init.c| 8 +-

[FFmpeg-devel] [PATCH 4/4] all: Guard if (EXTERNAL*) checks with #if HAVE_X86ASM

2022-11-01 Thread L. E. Segovia
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a Signed-off-by: L. E. Segovia --- libavcodec/x86/aacencdsp_init.c| 2 ++ libavcodec/x86/aacpsdsp_init.c | 2 ++ libavcodec/x86/ac3dsp_init.c | 4 libavcodec/x86/audiodsp_init.c | 2 ++

[FFmpeg-devel] [PATCH 3/4] all: Guard if (INLINE*) checks with #if HAVE_INLINE_ASM

2022-11-01 Thread L. E. Segovia
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a Signed-off-by: L. E. Segovia --- libavcodec/x86/vc1dsp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/vc1dsp_init.c b/libavcodec/x86/vc1dsp_init.c index bc63933e83..65fc28ea35 100644 ---

[FFmpeg-devel] [PATCH 1/4] all: Replace if (ARCH_FOO) checks by #if ARCH_FOO, part 2

2022-11-01 Thread L. E. Segovia
Continuation of 40e6575aa3eed64cd32bf28c00ae57edc5acb25a Co-authored-by: Nirbheek Chauhan Signed-off-by: L. E. Segovia --- libavcodec/x86/dcadsp_init.c | 2 + libavcodec/x86/fdctdsp_init.c| 2 + libavcodec/x86/flacdsp_init.c| 8 +- libavcodec/x86/hevcdsp_init.c

[FFmpeg-devel] [PATCH 2/4] all: Replace if (CONFIG_FOO) checks by #if CONFIG_FOO

2022-11-01 Thread L. E. Segovia
Continuation of e42aaaf92a4b0c88d60acc12df64c81d0887c26f Signed-off-by: L. E. Segovia --- fftools/ffprobe.c | 22 ++ fftools/opt_common.c| 18 +- libavformat/rtmpproto.c | 24 ++-- 3 files changed, 53 insertions(+), 11

[FFmpeg-devel] [PATCH 0/4] Fix FFmpeg compilation without DCE

2022-11-01 Thread L. E. Segovia
Hi all, This is a patch to fix building FFmpeg without having DCE enabled. This was previously attempted by Andreas Rheinhardt in commit 40e6575aa3eed64cd32bf28c00ae57edc5acb25a. However, this is not remotely enough for MSVC; one can quickly check for this by configuring the build without any

[FFmpeg-devel] [PATCH] sws_scale: Use av_sat_add32 in yuv2rgba64 template

2022-11-01 Thread Drew Dunne
Avoid a possible integer overflow in the yuv2rgba64 templates by using av_sat_add32 when combing the R, G, B components with Y. On certain inputs, this addition can overflow to a negative, is then clipped to a power of two and shifted down 14. This results in a much different value in the output

[FFmpeg-devel] [PATCH 2/2] doc/encoders: add doc of the tier option for hevc_qsv

2022-11-01 Thread nyanmisaka
Signed-off-by: nyanmisaka --- doc/encoders.texi | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 1a5216f8eb..e823d20657 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -3654,6 +3654,15 @@ Set the encoding profile (scc requires

[FFmpeg-devel] [PATCH 1/2] libavcodec/qsvenc_hevc: add tier option

2022-11-01 Thread nyanmisaka
Without this change, MSDK/VPL always defaults the HEVC tier to MAIN if the -level is specified. Also, according to the HEVC specs, only level >= 4 can support High Tier. Signed-off-by: nyanmisaka --- libavcodec/qsvenc.c | 5 - libavcodec/qsvenc.h | 1 + libavcodec/qsvenc_hevc.c |

[FFmpeg-devel] [PATCH 1/2] libavcodec/qsvenc_hevc: add tier option

2022-11-01 Thread nyanmisaka
Without this change, MSDK/VPL always defaults the HEVC tier to MAIN if the -level is specified. Also, according to the HEVC specs, only level >= 4 can support High Tier. Signed-off-by: nyanmisaka --- libavcodec/qsvenc.c | 5 - libavcodec/qsvenc.h | 1 + libavcodec/qsvenc_hevc.c |

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: support unknown channel layouts

2022-11-01 Thread Paul B Mahol
On 10/31/22, Paul B Mahol wrote: > On 10/31/22, Paul B Mahol wrote: >> Patch attached. >> > > Fixed patch attached. > Will apply immediately. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

Re: [FFmpeg-devel] [PATCH v2 2/2] ffmpeg: fix implementation of updated input start time

2022-11-01 Thread Gyan Doshi
Plan to apply set in 24h , barring objections. On 2022-10-30 01:34 am, Gyan Doshi wrote: Any objections? On 2022-10-25 09:28 pm, Gyan Doshi wrote: Ping. On 2022-10-21 10:01 pm, Gyan Doshi wrote: The current adjustment of input start times just adjusts the tsoffset. And it does so, by

Re: [FFmpeg-devel] [PATCH 0/3] sw_scale: Provide neon implementation for hscale

2022-11-01 Thread Martin Storsjö
On Fri, 28 Oct 2022, Hubert Mazur wrote: This patchset contains arm64 neon implementation of hscale functions. Fixed minor style issues and declared C function wrappers as static. This patchset do not contain the patch for checkasm tool, as the previous one did. The reason behind it was failing

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-11-01 Thread Clément Bœsch
On Mon, Oct 31, 2022 at 10:58:57PM +0100, Michael Niedermayer wrote: [...] > > You have to make a call between whether you want to preserve the > > transparency or the color while constructing the palette, but when > > choosing a color you must absolutely not choose a color with a different > >

Re: [FFmpeg-devel] [RFC]lavc/tiff: Support dng cropping

2022-11-01 Thread Anton Khirnov
Quoting Carl Eugen Hoyos (2022-11-01 03:08:36) > Am Mo., 31. Okt. 2022 um 13:39 Uhr schrieb Anton Khirnov : > > > > Quoting Carl Eugen Hoyos (2022-10-23 20:46:57) > > > Am So., 23. Okt. 2022 um 16:35 Uhr schrieb Carl Eugen Hoyos > > > : > > > > > > > > Hi! > > > > > > > > I tried to implement dng

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/vpp_qsv: Copy side data from input to output frame

2022-11-01 Thread zhilizhao(赵志立)
> On Nov 1, 2022, at 12:58, Xiang, Haihao > wrote: > > On Mon, 2022-10-24 at 23:04 +, softworkz wrote: >> From: softworkz >> >> Signed-off-by: softworkz >> --- >> libavfilter/qsvvpp.c | 6 ++ >> libavfilter/vf_overlay_qsv.c | 19 +++ >> 2 files changed, 21

Re: [FFmpeg-devel] [PATCH] libx265: support ATSC A/53 captions

2022-11-01 Thread Eran Kornblau
Another ping… From: Eran Kornblau Sent: Monday, 17 October 2022 19:29 To: FFmpeg development discussions and patches mailto:ffmpeg-devel@ffmpeg.org>> Subject: [PATCH] libx265: support ATSC A/53 captions Hi, The attached patch adds rendering of ATSC A/53 captions as HEVC SEI messages. The

Re: [FFmpeg-devel] [PATCH v6] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI

2022-11-01 Thread Xiang, Haihao
On Mon, 2022-10-31 at 16:12 +0800, bin.wang-at-intel@ffmpeg.org wrote: > From: bwang30 > > This commit enabled assembly code with intel AVX512 VNNI and added unit test > for sobel filter > > sobel_c: 4537 > sobel_avx512icl 2136 > > Signed-off-by: bwang30 > --- > libavfilter/convolution.h