Re: [FFmpeg-devel] [PATCH] configure: Change the configure check for tonemap_vaapi

2019-12-29 Thread Sun, Xinpeng
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Saturday, December 28, 2019 7:57 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] configure: Change the configure check for > tonemap_vaapi > > On 24/12/2019 06:32, Xinpeng Sun wrote: >

[FFmpeg-devel] [PATCH v2 2/2] configure: Reorder the filters part by alphabet

2019-12-29 Thread Xinpeng Sun
Signed-off-by: Xinpeng Sun --- configure | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 01b4acd77e..e7036b04ec 100755 --- a/configure +++ b/configure @@ -3510,6 +3510,7 @@ interlace_filter_deps="gpl" kerndeint_filter_deps="gpl"

[FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure check for tonemap_vaapi

2019-12-29 Thread Xinpeng Sun
"VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2.4.1, which will lead to build failure for the filter tonemap_vaapi for libva 2.3.0 with current check. This patch is to fix this build error. Signed-off-by: Xinpeng Sun --- configure | 4 ++-- 1 file changed, 2 insertions(+),

[FFmpeg-devel] [PATCH v5] avfilter/buffersrc: deprecate sws_param option

2019-12-29 Thread quinkblack
From: Zhao Zhili --- Rebase patch on master. doc/filters.texi| 8 libavfilter/buffersrc.c | 14 -- libavfilter/version.h | 5 - 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 619542e7b5..341503c7f8

Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_convolution: Add x86 SIMD optimizations for filter_row()

2019-12-29 Thread Xu Jun
Hi, Andriy - Original Message - > From: "Andriy Gelman" > To: "FFmpeg development discussions and patches" > Cc: xuju...@sjtu.edu.cn > Sent: Monday, December 23, 2019 12:50:48 AM > Subject: Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_convolution: Add x86 > SIMD optimizations for

Re: [FFmpeg-devel] [PATCH 1/4] tests/checkasm: add overflow test for hevc_add_res

2019-12-29 Thread Fu, Linjie
Hi, > -Original Message- > From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Friday, December 27, 2019 17:04 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/4] tests/checkasm: add overflow test > for hevc_add_res > > Hi, > >

Re: [FFmpeg-devel] [PATCH] lavc/pthread_frame: Update user context in ff_frame_thread_free

2019-12-29 Thread Fu, Linjie
Hi, > -Original Message- > From: Fu, Linjie > Sent: Friday, December 27, 2019 16:48 > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [PATCH] lavc/pthread_frame: Update user context in > ff_frame_thread_free > > Resolution/format changes lead to re-initialization of hardware >

Re: [FFmpeg-devel] [PATCH v4] avfilter/buffersrc: deprecate sws_param option

2019-12-29 Thread myp...@gmail.com
On Mon, Dec 23, 2019 at 8:23 PM Nicolas George wrote: > > myp...@gmail.com (12019-12-12): > > LGTM, but need to wait next release cycle? > > What do you mean? There is all the necessary code to let the option > disappear automatically at the next release. > > I shall push soon, unless you point

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/avcodec: Add codec_tags array to AVCodec

2019-12-29 Thread James Almer
On 12/29/2019 9:32 PM, Carl Eugen Hoyos wrote: > Am Mo., 30. Dez. 2019 um 01:19 Uhr schrieb James Almer : >> >> On 12/29/2019 8:38 PM, Michael Niedermayer wrote: >>> This allows the fuzzer to target meaningfull codec tags instead >>> of hunting the 4gb space, which it seems to have problems with.

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/avcodec: Add codec_tags array to AVCodec

2019-12-29 Thread Carl Eugen Hoyos
Am Mo., 30. Dez. 2019 um 01:19 Uhr schrieb James Almer : > > On 12/29/2019 8:38 PM, Michael Niedermayer wrote: > > This allows the fuzzer to target meaningfull codec tags instead > > of hunting the 4gb space, which it seems to have problems with. > > > > Suggested-by: James > > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/avcodec: Add codec_tags array to AVCodec

2019-12-29 Thread James Almer
On 12/29/2019 8:38 PM, Michael Niedermayer wrote: > This allows the fuzzer to target meaningfull codec tags instead > of hunting the 4gb space, which it seems to have problems with. > > Suggested-by: James > Signed-off-by: Michael Niedermayer > --- > libavcodec/avcodec.h | 6 ++ > 1 file

[FFmpeg-devel] [PATCH 3/3] tools/target_dec_fuzzer: Use codec_tags list

2019-12-29 Thread Michael Niedermayer
This should make it much quicker for the fuzzer to test real relevant codec_tags Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index c6e1235ad3..b9e08f74d2 100644

[FFmpeg-devel] [PATCH 1/3] avcodec/avcodec: Add codec_tags array to AVCodec

2019-12-29 Thread Michael Niedermayer
This allows the fuzzer to target meaningfull codec tags instead of hunting the 4gb space, which it seems to have problems with. Suggested-by: James Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/avcodec.h

[FFmpeg-devel] [PATCH 2/3] avcodec/hapdec: Add codec_tags list

2019-12-29 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/hapdec.c | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c index 8c845770cf..7759f1da3e 100644 --- a/libavcodec/hapdec.c +++ b/libavcodec/hapdec.c @@ -484,4 +484,12 @@ AVCodec ff_hap_decoder = {

Re: [FFmpeg-devel] [RFC] avfilter/image2: Add source file path and basename to each packet side data.

2019-12-29 Thread Marton Balint
On Sun, 29 Dec 2019, Alexandre Heitor Schmidt wrote: On 26/12/2019 14:01, Alexandre Heitor Schmidt wrote: > > you may have to only activate this (or at least the full path metadata) feature > > if the user explicitly requests it. Probably the best way to do that is to > > introduce a new

Re: [FFmpeg-devel] [RFC] avfilter/image2: Add source file path and basename to each packet side data.

2019-12-29 Thread Alexandre Heitor Schmidt
On 26/12/2019 14:01, Alexandre Heitor Schmidt wrote: > > you may have to only activate this (or at least the full path metadata) feature > > if the user explicitly requests it. Probably the best way to do that is to > > introduce a new option of the image2 demuxer, probably with an

[FFmpeg-devel] [PATCH 2/5] avcodec/8svx: Use av_assert1(0) instead of error message in unreachable code

2019-12-29 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/8svx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index edc945c697..092dbaae04 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -164,8 +164,7 @@ static av_cold int

[FFmpeg-devel] [PATCH 5/5] avcodec/acelp_pitch_delay: Remove unused functions

2019-12-29 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/acelp_pitch_delay.c | 14 -- libavcodec/acelp_pitch_delay.h | 33 - 2 files changed, 47 deletions(-) diff --git a/libavcodec/acelp_pitch_delay.c b/libavcodec/acelp_pitch_delay.c index

[FFmpeg-devel] [PATCH 1/5] tools/target_dec_fuzzer: Fuzz idct_algo value

2019-12-29 Thread Michael Niedermayer
This should improve coverage Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index a9ad226708..3f77ceac52 100644 --- a/tools/target_dec_fuzzer.c +++

[FFmpeg-devel] [PATCH 4/5] tools/target_dec_fuzzer: Also Fuzz with CPU optimizations disabled

2019-12-29 Thread Michael Niedermayer
This should improve coverage of *_c() Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 42dd36e2af..d02db85340 100644 --- a/tools/target_dec_fuzzer.c +++

Re: [FFmpeg-devel] [PATCH 2/2] tools/target_dec_fuzzer: List valid codec tags (based on fate)

2019-12-29 Thread James Almer
On 12/28/2019 5:16 PM, Michael Niedermayer wrote: > I am a bit undecided on listing them like this but it seems the > fuzzer has difficulty finding valid tags (like in hapdec/snappy) > > With this it finds issues in hapdec within seconds locally (with constrained > w/h) > while before on googles

[FFmpeg-devel] [PATCH 8/8] lavc/hevcdec: add 4:2:2 8-bit/10-bit VAAPI decode support

2019-12-29 Thread Linjie Fu
Add decode support for 4:2:2 8-bt and 10-bit HEVC Range Extension clips. Signed-off-by: Linjie Fu --- libavcodec/hevcdec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 19b0cd8..f60bcf6 100644 --- a/libavcodec/hevcdec.c +++

[FFmpeg-devel] [PATCH 7/8] lavc/vaapi_decode: add profile_parser and format map support for HEVC REXT

2019-12-29 Thread Linjie Fu
Add function pointer field in vaapi_profile_map[], set profile_parser for HEVC_REXT to find the exact va_profile. Also add format map support. Signed-off-by: Linjie Fu --- libavcodec/vaapi_decode.c | 77 +-- 1 file changed, 47 insertions(+), 30

[FFmpeg-devel] [PATCH 5/8] lavc/hevc_ps: parse constraint flags for HEVC REXT

2019-12-29 Thread Linjie Fu
Parse all the constraint flags according to ITU-T Rec. H.265 (02/2018). They have to be passed to hw decoders to determine the exact profile for Range Extension HEVC. Signed-off-by: Linjie Fu --- libavcodec/hevc_ps.c | 44 libavcodec/hevc_ps.h | 13

[FFmpeg-devel] [PATCH 6/8] lavc/vaapi_hevc: add function to find exact va_profile for REXT

2019-12-29 Thread Linjie Fu
Add vaapi_parse_rext_profile and use profile constraint flags to determine the exact va_profile for HEVC_REXT. Add build object in Makefile for h265_profile_level dependency. Signed-off-by: Linjie Fu --- libavcodec/Makefile | 2 +- libavcodec/vaapi_hevc.c | 69

[FFmpeg-devel] [PATCH 4/8] lavc/vaapi_hevc: Add HEVC Rext parameter for VAPicture and VASlice

2019-12-29 Thread Linjie Fu
Add VAPictureParameterBufferHEVCRext and VASliceParameterBufferHEVCRext. Pass Range Extension flags to support the decode for HEVC REXT. Signed-off-by: Linjie Fu --- libavcodec/vaapi_hevc.c | 79 +++-- 1 file changed, 76 insertions(+), 3 deletions(-)

[FFmpeg-devel] [PATCH 3/8] lavu/hwcontext_vaapi: add vaapi_format_map support for Y210

2019-12-29 Thread Linjie Fu
VA_RT_FORMAT describes the desired sampling format for surface. When creating surface, VA_RT_FORMAT will be used firstly to choose the expected fourcc/media_format for the surface. And the fourcc will be revised by the value of VASurfaceAttribPixelFormat. Add vaapi_format_map support for new

[FFmpeg-devel] [PATCH 2/8] swscale: Add swscale input support for Y210

2019-12-29 Thread Linjie Fu
Add swscale input support for Y210, output support and fate test could be added later if there is requirement for software CSC to this packed format. Signed-off-by: Linjie Fu --- libswscale/input.c | 48 libswscale/utils.c | 2 ++ 2 files

[FFmpeg-devel] [PATCH 1/8] lavu/pix_fmt: add new pixel format y210

2019-12-29 Thread Linjie Fu
Add some packed 4:2:2 10-bit pixel formats for hardware decode support in VAAPI and QSV. Signed-off-by: Linjie Fu --- libavutil/pixdesc.c | 23 +++ libavutil/pixfmt.h | 5 + libavutil/version.h | 2 +-

[FFmpeg-devel] [PATCH 0/8] add 4:2:2 8-bit/10-bit VAAPI decode support

2019-12-29 Thread Linjie Fu
Linjie Fu (8): lavu/pix_fmt: add new pixel format y210 swscale: Add swscale input support for Y210 lavu/hwcontext_vaapi: add vaapi_format_map support for Y210 lavc/vaapi_hevc: Add HEVC Rext parameter for VAPicture and VASlice lavc/hevc_ps: parse constraint flags for HEVC REXT

Re: [FFmpeg-devel] [PATCH 001/244] Add a new channel layout API

2019-12-29 Thread Anton Khirnov
Quoting Nicolas George (2019-12-07 21:25:53) > Anton Khirnov (12019-12-06): > > The new API is more extensible and allows for custom layouts. > > More accurate information is exported, eg for decoders that do not > > set a channel layout, lavc will not make one up for them. > > > > Deprecate the

Re: [FFmpeg-devel] [PATCH 2/3] avfilter/vf_geq: use per-thread state for expression evaluation

2019-12-29 Thread Marton Balint
On Sun, 29 Dec 2019, Michael Niedermayer wrote: On Sat, Dec 28, 2019 at 03:46:24PM +0100, Marton Balint wrote: Fixes ticket #7528. Signed-off-by: Marton Balint --- libavfilter/vf_geq.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_geq.c

Re: [FFmpeg-devel] [PATCH 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2019-12-29 Thread Marton Balint
On Sun, 29 Dec 2019, Michael Niedermayer wrote: On Sat, Dec 28, 2019 at 03:46:23PM +0100, Marton Balint wrote: Also add helper functions to allocate and free such a struct, and make it usable by providing a new av_eval_expr2 function for which you can specify a custom AVExprState.

Re: [FFmpeg-devel] [PATCH 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2019-12-29 Thread Michael Niedermayer
On Sat, Dec 28, 2019 at 03:46:23PM +0100, Marton Balint wrote: > Also add helper functions to allocate and free such a struct, and make it > usable by providing a new av_eval_expr2 function for which you can specify a > custom AVExprState. > > Signed-off-by: Marton Balint > --- > doc/APIchanges

Re: [FFmpeg-devel] [PATCH 2/3] avfilter/vf_geq: use per-thread state for expression evaluation

2019-12-29 Thread Michael Niedermayer
On Sat, Dec 28, 2019 at 03:46:24PM +0100, Marton Balint wrote: > Fixes ticket #7528. > > Signed-off-by: Marton Balint > --- > libavfilter/vf_geq.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_geq.c b/libavfilter/vf_geq.c > index

Re: [FFmpeg-devel] [PATCH 3/3] avfilter/vf_geq: fix multiple assignments of ptr in slice_geq_filter

2019-12-29 Thread Michael Niedermayer
On Sat, Dec 28, 2019 at 03:46:25PM +0100, Marton Balint wrote: > Fixes Coverity CID 1427183. > > Signed-off-by: Marton Balint > --- > libavfilter/vf_geq.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avformat/ftp: Exit with error on ftp_open if file does not exist

2019-12-29 Thread Michael Niedermayer
On Sat, Dec 28, 2019 at 04:11:54PM +0300, Fotyev V. wrote: > See attached > > On 2019-12-28 17:17, Michael Niedermayer wrote: > >On Sat, Dec 28, 2019 at 01:52:04PM +0300, Fotyev V. wrote: > >>Add a check for code 550 when requesting file size > >>--- > >>  libavformat/ftp.c | 11 +-- > >>  

Re: [FFmpeg-devel] [PATCH 001/244] Add a new channel layout API

2019-12-29 Thread Anton Khirnov
Quoting Nicolas George (2019-12-17 20:20:00) > Hi. > > Anton Khirnov (12019-12-10): > > I disagree. I think I have a fair amount of skill and experience as a C > > developer, but I still get hit by those issues frequently. It's extra > > trouble for only theoretical gain. > > I concede this to

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/libx265: add a qp option and apply the relevant global AVCodecContext settings to the encoder context

2019-12-29 Thread Michael Niedermayer
On Sun, Dec 29, 2019 at 10:17:48AM -0300, James Almer wrote: > On 12/29/2019 8:53 AM, Michael Niedermayer wrote: > > On Sat, Dec 28, 2019 at 08:55:13PM -0300, James Almer wrote: > >> Signed-off-by: James Almer > >> --- > >> doc/encoders.texi| 22 ++ > >>

[FFmpeg-devel] [PATCH] HEVC: Export motion vectors to frame side data.

2019-12-29 Thread Asaf Kave
--- libavcodec/hevc_refs.c | 15 libavcodec/hevcdec.c | 173 - libavcodec/hevcdec.h | 13 3 files changed, 200 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c index 7870a72fd6..20f028fa73 100644 ---

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/libx265: add a qp option and apply the relevant global AVCodecContext settings to the encoder context

2019-12-29 Thread James Almer
On 12/29/2019 8:53 AM, Michael Niedermayer wrote: > On Sat, Dec 28, 2019 at 08:55:13PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> doc/encoders.texi| 22 ++ >> libavcodec/libx265.c | 28 >> 2 files changed, 50

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/libx265: add a qp option and apply the relevant global AVCodecContext settings to the encoder context

2019-12-29 Thread Michael Niedermayer
On Sat, Dec 28, 2019 at 08:55:13PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > doc/encoders.texi| 22 ++ > libavcodec/libx265.c | 28 > 2 files changed, 50 insertions(+) breaks build here, i susupect missing libx265 version

Re: [FFmpeg-devel] [PATCH 1/2] avfilter: add thistogram video filter

2019-12-29 Thread Paul B Mahol
Gonna apply soon with local minor changes. ___ 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 2/2] cmdutils: add show_help_protocol for get protocol options

2019-12-29 Thread Liu Steven
> 在 2019年12月29日,下午4:12,Michael Niedermayer 写道: > > On Sun, Dec 29, 2019 at 01:14:47PM +0800, Liu Steven wrote: >> >> >>> 在 2019年11月28日,上午5:24,Michael Niedermayer 写道: >>> >>> On Wed, Nov 27, 2019 at 01:57:02PM +0800, Steven Liu wrote: Signed-off-by: Steven Liu ---

Re: [FFmpeg-devel] [PATCH 2/2] lavc/vp9: support hardware decode with resolution changing on inter frame

2019-12-29 Thread Hendrik Leppkes
On Sun, Dec 29, 2019 at 4:21 AM Fu, Linjie wrote: > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Hendrik Leppkes > > Sent: Friday, December 27, 2019 18:22 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 2/2]

Re: [FFmpeg-devel] [PATCH v3 2/2] cmdutils: add show_help_protocol for get protocol options

2019-12-29 Thread Michael Niedermayer
On Sun, Dec 29, 2019 at 01:14:47PM +0800, Liu Steven wrote: > > > > 在 2019年11月28日,上午5:24,Michael Niedermayer 写道: > > > > On Wed, Nov 27, 2019 at 01:57:02PM +0800, Steven Liu wrote: > >> Signed-off-by: Steven Liu > >> --- > >> fftools/cmdutils.c | 14 ++ > >> fftools/ffmpeg_opt.c