[FFmpeg-devel] [PATCH] tests: add jpg-icc test

2022-03-10 Thread Niklas Haas
From: Niklas Haas Transcoding from an existing PNG file that has an embedded ICC profile. Note that this ICC profile is smaller than 64 kB, so this doesn't test the APP2 chunk re-arranging code at all. Signed-off-by: Niklas Haas --- tests/fate/image.mak | 3 +++ tests/ref/fate/jpg-icc | 42

Re: [FFmpeg-devel] [PATCH 2/6] avcodec/x86/hevc_mc: add qpel_h8_8_avx512icl and qpel_hv8_8_avx512icl

2022-03-10 Thread Wu, Jianhua
Henrik Gramner: > From: ffmpeg-devel On Behalf Of > Henrik Gramner > Sent: Thursday, March 10, 2022 11:22 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/6] avcodec/x86/hevc_mc: add > qpel_h8_8_avx512icl and qpel_hv8_8_avx512icl > > On

[FFmpeg-devel] [PATCH v2 5/5] avcodec/x86/hevc_mc: add qpel_h64_8_avx512icl

2022-03-10 Thread jianhua . wu-at-intel . com
From: Wu Jianhua ff_hevc_put_hevc_qpel_h64_8_sse4 56782981 ff_hevc_put_hevc_qpel_h64_8_avx2 40097816 ff_hevc_put_hevc_qpel_h64_8_avx512icl 25488576 Signed-off-by: Wu Jianhua --- libavcodec/x86/hevc_mc.asm| 10 +- libavcodec/x86/hevcdsp.h | 1 + libavcodec/x86/hev

[FFmpeg-devel] [PATCH v2 4/5] avcodec/x86/hevc_mc: add qpel_h32_8_avx512icl

2022-03-10 Thread jianhua . wu-at-intel . com
From: Wu Jianhua ff_hevc_put_hevc_qpel_h32_8_sse4 14122151 ff_hevc_put_hevc_qpel_h32_8_avx29337675 ff_hevc_put_hevc_qpel_h32_8_avx512icl 6424654 Signed-off-by: Wu Jianhua --- libavcodec/x86/hevc_mc.asm| 17 ++--- libavcodec/x86/hevcdsp.h | 1 + libavcodec/

[FFmpeg-devel] [PATCH v2 3/5] avcodec/x86/hevc_mc: add qpel_h4_8_avx512icl

2022-03-10 Thread jianhua . wu-at-intel . com
From: Wu Jianhua ff_hevc_put_hevc_qpel_h4_8_sse4 993694 ff_hevc_put_hevc_qpel_h4_8_avx512icl 686647 Signed-off-by: Wu Jianhua --- libavcodec/x86/hevc_mc.asm| 9 + libavcodec/x86/hevcdsp.h | 1 + libavcodec/x86/hevcdsp_init.c | 1 + 3 files changed, 11 insertions(+) dif

[FFmpeg-devel] [PATCH v2 2/5] avcodec/x86/hevc_mc: add qpel_h16_8_avx512icl

2022-03-10 Thread jianhua . wu-at-intel . com
From: Wu Jianhua ff_hevc_put_hevc_qpel_h16_8_sse4 3290870 ff_hevc_put_hevc_qpel_h16_8_avx512icl 1730033 Signed-off-by: Wu Jianhua --- libavcodec/x86/hevc_mc.asm| 26 +- libavcodec/x86/hevcdsp.h | 1 + libavcodec/x86/hevcdsp_init.c | 1 + 3 files change

[FFmpeg-devel] [PATCH v2 1/5] avcodec/x86/hevc_mc: add qpel_h8_8_avx512icl and qpel_hv8_8_avx512icl

2022-03-10 Thread jianhua . wu-at-intel . com
From: Wu Jianhua This commit uses the instruction `vpdpbusd` introduced by AVX512 VNNI to calculate the horizontal filter. ff_hevc_put_hevc_qpel_h8_8_sse4 1039169 ff_hevc_put_hevc_qpel_h8_8_avx512icl 677153 ff_hevc_put_hevc_qpel_hv8_8_sse4 3603511 ff_hevc_put_hevc_qpel_hv8_8_avx512i

[FFmpeg-devel] [PATCH] avformat/matroskadec: Use rounded down duration in get_cue_desc() check

2022-03-10 Thread Michael Niedermayer
Floating point is evil, it would be better if duration was not a double Fixes: Infinite loop Fixes: 45123/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6725052291219456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Sign

Re: [FFmpeg-devel] [PATCH] libavfilter: zscale performance optimization >4x

2022-03-10 Thread Paul B Mahol
On Thu, Mar 10, 2022 at 7:41 PM Victoria Zhislina wrote: > Paul and all, do you have any chances to view my patch from Feb,19? I > assume I'\ve fixed all you've kindly pointed out and even more. Please > correct me if I'm wrong. The only question remaining is - are you ok > with the combination o

Re: [FFmpeg-devel] [PATCH] libavfilter: zscale performance optimization >4x

2022-03-10 Thread Victoria Zhislina
Paul and all, do you have any chances to view my patch from Feb,19? I assume I'\ve fixed all you've kindly pointed out and even more. Please correct me if I'm wrong. The only question remaining is - are you ok with the combination of threading and conditional filter operation (= do something if it

Re: [FFmpeg-devel] [PATCH 3/3] avformat/movenc: Add support for AVIF muxing

2022-03-10 Thread Vignesh Venkatasubramanian
On Thu, Mar 10, 2022 at 8:01 AM Andreas Rheinhardt wrote: > > Vignesh Venkatasubramanian: > > Add an AVIF muxer by re-using the existing the mov/mp4 muxer. > > > > AVIF Specifiation: https://aomediacodec.github.io/av1-avif > > > > Sample usage for still image: > > ffmpeg -i image.png -c:v libaom-a

[FFmpeg-devel] [PATCH 3/3] avformat/movenc: Add support for AVIF muxing

2022-03-10 Thread Vignesh Venkatasubramanian
Add an AVIF muxer by re-using the existing the mov/mp4 muxer. AVIF Specifiation: https://aomediacodec.github.io/av1-avif Sample usage for still image: ffmpeg -i image.png -c:v libaom-av1 -avif-image 1 image.avif Sample usage for animated AVIF image: ffmpeg -i video.mp4 animated.avif We can re-u

Re: [FFmpeg-devel] [PATCH 3/3] avformat/movenc: Add support for AVIF muxing

2022-03-10 Thread Andreas Rheinhardt
Vignesh Venkatasubramanian: > Add an AVIF muxer by re-using the existing the mov/mp4 muxer. > > AVIF Specifiation: https://aomediacodec.github.io/av1-avif > > Sample usage for still image: > ffmpeg -i image.png -c:v libaom-av1 -avif-image 1 image.avif > > Sample usage for animated AVIF image: >

Re: [FFmpeg-devel] [PATCH 2/6] avcodec/x86/hevc_mc: add qpel_h8_8_avx512icl and qpel_hv8_8_avx512icl

2022-03-10 Thread Henrik Gramner
On Wed, Feb 23, 2022 at 9:58 AM wrote: > +%macro HEVC_PUT_HEVC_QPEL_AVX512ICL 2 > [...] > +vpmovdw xm6, m6 > +movu [dstq], xm6 vpmovdw can take a memory operand as dst directly: vpmovdw [dstq], m6 (the same applies to the hv function) > +%macro HEVC_PUT_

Re: [FFmpeg-devel] [PATCH 1/6] avutil/cpu: add AVX512 Icelake flag

2022-03-10 Thread Henrik Gramner
On Wed, Feb 23, 2022 at 9:57 AM wrote: > > From: Wu Jianhua > > Signed-off-by: Wu Jianhua > --- > configure | 13 +++--- > libavutil/cpu.c | 1 + > libavutil/cpu.h | 1 + > libavutil/x86/cpu.c | 8 -- > libavutil/x86/cpu.h | 1 + > lib

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegenc: support writing ICC profiles

2022-03-10 Thread Andreas Rheinhardt
Niklas Haas: > From: Niklas Haas > > This is mostly straightforward. The major complication is that, as a > result of the 16-bit chunk size limitation, ICC profiles may need to be > split up into multiple chunks. > > We also need to make sure to allocate enough extra space in the packet > to fit

[FFmpeg-devel] [PATCH] avcodec/mjpegenc: support writing ICC profiles

2022-03-10 Thread Niklas Haas
From: Niklas Haas This is mostly straightforward. The major complication is that, as a result of the 16-bit chunk size limitation, ICC profiles may need to be split up into multiple chunks. We also need to make sure to allocate enough extra space in the packet to fit the ICC profile, so modify b

Re: [FFmpeg-devel] [PATCH] configure: move ranlib -D test after setting defaults

2022-03-10 Thread Martin Storsjö
On Mon, 14 Feb 2022, Adrian Ratiu wrote: In Gentoo and ChromeOS we want to allow pure LLVM builds without using GNU tools, so we block any unwanted mixed GNU/LLVM usages (GNU tools are still kept around in our chroots for projects like glibc which cannot yet be built otherwise). The default ${c

Re: [FFmpeg-devel] [PATCH v7 3/3] libavformat: Added DFPWM WAV container support

2022-03-10 Thread Paul B Mahol
LGTM, will apply soon. ___ 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] avfilter/vf_blend_vulkan: add addition blend mode

2022-03-10 Thread Wu Jianhua
Paul B Mahol: >Sent: 2022年3月10日 20:01 >To: FFmpeg development discussions and patches >Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add addition >blend mode > >On Thu, Mar 10, 2022 at 12:58 PM Wu Jianhua wrote: > >> Lynne

Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add addition blend mode

2022-03-10 Thread Paul B Mahol
On Thu, Mar 10, 2022 at 12:58 PM Wu Jianhua wrote: > Lynne: > >Sent: 2022年3月10日 18:42 > >To: FFmpeg development discussions and patches ffmpeg-devel@ffmpeg.org> > >Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add > addition blend mode > > > >9 Mar 2022, 19:1

Re: [FFmpeg-devel] [PATCH v2] avfilter: add shader_vulkan filter

2022-03-10 Thread Wu Jianhua
Ping. >From: Wu, Jianhua >Sent: 2022年3月4日 23:09 >To: ffmpeg-devel@ffmpeg.org >Subject: [FFmpeg-devel] [PATCH v2] avfilter: add shader_vulkan filter > > [PATCH 1/2] avfilter: add shader_vulkan filter > > [PATCH 2/2] avutil/vu

Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add addition blend mode

2022-03-10 Thread Wu Jianhua
Lynne: >Sent: 2022年3月10日 18:42 >To: FFmpeg development discussions and patches >Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add addition >blend mode > >9 Mar 2022, 19:19 by toq...@outlook.com: > >> Lynne:

Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add addition blend mode

2022-03-10 Thread Lynne
9 Mar 2022, 19:19 by toq...@outlook.com: > Lynne: > >Sent: 2022年3月10日 1:43 > >To: FFmpeg development discussions and > >patches > >Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_blend_vulkan: add addition > >blend mode > >> >> >>> Ping. >>>

[FFmpeg-devel] [PATCH] libavcodec/qsvenc: enable LowDelayBRC and MaxFrameSizeI/MaxFrameSizeP for more accurate bitrate control

2022-03-10 Thread He, Fan F
Feature introduction of LowDelayBRC, MaxFrameSizeI and MaxFrameSizeP could be found here: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md Signed-off-by: Dmitry Ermilov Signed-off-by: Fan F He --- doc/encoders.texi | 26 ++ libavcodec/qsvenc

Re: [FFmpeg-devel] [PATCH v2] avcodec: Add dv marker bsf

2022-03-10 Thread Tobias Rapp
On 09/03/2022 19:18, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- doc/bitstream_filters.texi | 30 libavcodec/Makefile | 1 + libavcodec/bitstream_filters.c | 1 + libavcodec/dv_error_marker_bsf.c | 127 +++