[FFmpeg-devel] [PATCH 7/8] libavfilter/dnn: add more data type support for dnn model input

2019-04-01 Thread Guo, Yejun
currently, only float is supported as model input, actually, there are other data types, this patch adds uint8. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 4 +++- libavfilter/dnn_backend_tf.c | 28 libavfilter/dnn_interface.h | 10

[FFmpeg-devel] [PATCH 8/8][RFC] libavfilter/vf_objectdetect: add a filter for object detection

2019-04-01 Thread Guo, Yejun
This filter is not finished yet. Currently, for visual effect, it detects objections and draws a box for the detected objections with score > 0.8. The purpose here is to show the previous changes of the dnn is necessary, and it is also a RFC (require for comment) patch for this filter. In my plan

[FFmpeg-devel] [PATCH 2/8] libavfilter/vf_sr: refine code to remove keyword 'else'

2019-04-01 Thread Guo, Yejun
remove 'else' since there is always 'return' in 'if' scope, so the code will be clean for later maintenance Signed-off-by: Guo, Yejun --- libavfilter/vf_sr.c | 143 ++-- 1 file changed, 71 insertions(+), 72 deletions(-) diff --git a/libavfilter/vf

[FFmpeg-devel] [PATCH 6/8] libavfilter/dnn: support multiple outputs for tensorflow model

2019-04-01 Thread Guo, Yejun
some models such as ssd, yolo have more than one output. the clean up code in this patch is a little complex, it is because that set_input_output_tf coulde be called for many times together with ff_dnn_execute_model_tf, we have to clean resources for the case that the two interfaces are called int

[FFmpeg-devel] [PATCH 5/8] libavfilter/dnn: avoid memcpy for tensorflow dnn output

2019-04-01 Thread Guo, Yejun
use TF_Tensor's cpu address to avoid extra memcpy. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_tf.c | 37 - libavfilter/vf_sr.c | 3 --- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/libavfilter/dnn_backend_tf.c b/libavfi

[FFmpeg-devel] [PATCH 3/8] libavfilter/dnn: remove limit for the name of DNN model input/output

2019-04-01 Thread Guo, Yejun
remove the requirment that the name of DNN model input/output should be "x"/"y", Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 2 +- libavfilter/dnn_backend_tf.c | 10 +- libavfilter/dnn_interface.h | 2 +- libavfilter/vf_sr.c | 4 ++-- 4 files

[FFmpeg-devel] [PATCH 4/8] libavfilter/dnn: determine dnn output during execute_model instead of set_input_output

2019-04-01 Thread Guo, Yejun
Currently, within interface set_input_output, the dims/memory of the tensorflow dnn model output is determined by executing the model with zero input, actually, the output dims might vary with different input data for networks such as object detection models faster-rcnn, ssd and yolo. This patch m

[FFmpeg-devel] [PATCH 1/8] libavfilter/dnn_backend_tf.c: set layer_add_res for input layer

2019-04-01 Thread Guo, Yejun
otherwise, the following check will return error if layer_add_res is randomly initialized. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_tf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/dnn_backend_tf.c b/libavfilter/dnn_backend_tf.c index 5bc7f06..9e0c127 100644 ---

Re: [FFmpeg-devel] [PATCH v10 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper

2019-04-01 Thread Sun, Jing A
-Original Message- From: Li, Zhong Sent: Friday, March 29, 2019 6:59 PM To: FFmpeg development discussions and patches Cc: Sun, Jing A ; Huang, Zhengxu ; Jun Zhao ; Tmar, Hassene Subject: RE: [FFmpeg-devel] [PATCH v10 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper > From: ffmpeg

[FFmpeg-devel] [PATCH v10 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper

2019-04-01 Thread Jing Sun
Signed-off-by: Zhengxu Huang Signed-off-by: Hassene Tmar Signed-off-by: Jun Zhao Signed-off-by: Jing Sun --- configure| 4 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/libsvt_hevc.c | 482 +++ 4 f

Re: [FFmpeg-devel] [PATCH 1/1] Prevent writing manifest files multiple times

2019-04-01 Thread Jeyapal, Karthick via ffmpeg-devel
On 3/27/19 2:08 AM, joepadmiraal wrote: > --- > libavformat/dashenc.c | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) Sorry for the delayed reply. Thanks for submitting a patch for a very useful optimization. Here are my review comments. Please add a prefix "libavforma

Re: [FFmpeg-devel] [PATCH] ffmpeg: add -drop_deviant_frames option

2019-04-01 Thread Gyan
On 01-04-2019 10:23 AM, Gyan wrote: On 27-03-2019 08:26 PM, Gyan wrote: Weird. Attached corrected patch. Thanks. Ping. Plan to push tomorrow evening. Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listin

Re: [FFmpeg-devel] [PATCH v2 4/9] vp9_parser: Return stream properties

2019-04-01 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Tuesday, April 2, 2019 7:40 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 4/9] vp9_parser: Return stream > properties > > Rewrites the parser entirely, using CBS for header par

Re: [FFmpeg-devel] [PATCH] configure: include pkgconfig path as vaapi header search

2019-04-01 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Dennis Mungai > Sent: Thursday, March 28, 2019 7:11 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] configure: include pkgconfig path as vaapi > hea

[FFmpeg-devel] [PATCH v1] libavf/movenc: Fix indent

2019-04-01 Thread Jun Li
--- libavformat/movenc.c | 144 +-- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 26cb2e6ea1..9f05d48733 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -5544,87 +5544,87 @@

Re: [FFmpeg-devel] [PATCH] lavfi: add nlmeans_opencl filter

2019-04-01 Thread Song, Ruiling
> Can you supply some details performance data ?  On my i7-6770HQ, the nlmeans take 1.2s to process one 1080p frame. And nlmeans_opencl take 500ms to process one frame. Ruiling ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/

[FFmpeg-devel] [PATCH] avcodec/qtrle: Check how much of the chunk is available before decoding

2019-04-01 Thread Michael Niedermayer
Fixes: Timeout (10sec -> 2sec) Fixes: 13979/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QTRLE_fuzzer-5635157718990848 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/qtrle.c | 7 +--

[FFmpeg-devel] [PATCH v2 3/9] cbs_vp9: Fill context information for show-existing-frame

2019-04-01 Thread Mark Thompson
The frame being shown could have different properties to the last-decoded one. --- libavcodec/cbs_vp9.h | 3 +++ libavcodec/cbs_vp9_syntax_template.c | 23 +++ 2 files changed, 26 insertions(+) diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h index 4c9

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cbs_av1: add support for Padding OBUs

2019-04-01 Thread James Almer
On 4/1/2019 7:47 PM, Mark Thompson wrote: > On 25/03/2019 14:22, James Almer wrote: >> Based on itut_t35 Matadata OBU parsing code. >> >> Signed-off-by: James Almer >> --- >> libavcodec/cbs_av1.c | 20 + >> libavcodec/cbs_av1.h | 7 ++ >> libav

[FFmpeg-devel] [PATCH v2 5/9] lavc/qsvdec: Add VP9 decoder support

2019-04-01 Thread Mark Thompson
From: Zhong Li VP9 decoder is supported on Intel kabyLake+ platforms with MSDK Version 1.19+ Signed-off-by: Zhong Li --- On 20/03/2019 14:41, Li, Zhong wrote: > Yes, QSV is a marketing name which is no equal to libmfx/MSDK. > But would be better to keep consistent with others, such as "Intel >

[FFmpeg-devel] [PATCH v2 8/9] av1_parser: Use CBS parser interface

2019-04-01 Thread Mark Thompson
This simplifies the parser and improves performance by reducing the number of allocations and eliminating redundant copies. --- libavcodec/av1_parser.c | 63 + 1 file changed, 13 insertions(+), 50 deletions(-) diff --git a/libavcodec/av1_parser.c b/libavcod

[FFmpeg-devel] [PATCH v2 6/9] cbs_av1: Implement parser entrypoint

2019-04-01 Thread Mark Thompson
--- Unsure about this one - while the patch is short, it's rather invasive in a pretty ugly way with how it abuses the read call. It will still do allocations for the decomposition because of that, even though we don't really want them. Any ideas welcome. libavcodec/cbs_av1.c | 89 ++

[FFmpeg-devel] [PATCH v2 7/9] cbs_av1: Fill context information for show-existing-frame

2019-04-01 Thread Mark Thompson
--- libavcodec/cbs_av1_syntax_template.c | 16 1 file changed, 16 insertions(+) diff --git a/libavcodec/cbs_av1_syntax_template.c b/libavcodec/cbs_av1_syntax_template.c index 76eb90b279..a9bf78e4ad 100644 --- a/libavcodec/cbs_av1_syntax_template.c +++ b/libavcodec/cbs_av1_syntax

[FFmpeg-devel] [PATCH v2 9/9] av1_parser: Reindent

2019-04-01 Thread Mark Thompson
--- libavcodec/av1_parser.c | 74 - 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index 4a743d92d4..b848b41050 100644 --- a/libavcodec/av1_parser.c +++ b/libavcodec/av1_parser.c @@ -88,43 +8

[FFmpeg-devel] [PATCH v2 4/9] vp9_parser: Return stream properties

2019-04-01 Thread Mark Thompson
Rewrites the parser entirely, using CBS for header parsing. --- libavcodec/vp9_parser.c | 112 +--- 1 file changed, 82 insertions(+), 30 deletions(-) diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c index c957a75667..6bf4f30e80 100644 --- a/libavc

[FFmpeg-devel] [PATCH v2 1/9] cbs: Add entrypoint for parser use

2019-04-01 Thread Mark Thompson
This can avoid copying due to lack of refcounting in parsers. --- libavcodec/cbs.c | 9 + libavcodec/cbs.h | 14 ++ libavcodec/cbs_internal.h | 4 3 files changed, 27 insertions(+) diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c index c388be896b..ff98

[FFmpeg-devel] [PATCH v2 2/9] cbs_vp9: Implement parser entrypoint

2019-04-01 Thread Mark Thompson
--- libavcodec/cbs_vp9.c | 90 +++- 1 file changed, 73 insertions(+), 17 deletions(-) diff --git a/libavcodec/cbs_vp9.c b/libavcodec/cbs_vp9.c index 0b5f137ed8..6ea4681d68 100644 --- a/libavcodec/cbs_vp9.c +++ b/libavcodec/cbs_vp9.c @@ -409,15 +409,23 @@ st

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-04-01 Thread Thomas Mundt
Am Sa., 30. März 2019 um 17:52 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > Hi Thomas, > > > On Mar 29, 2019, at 1:11 PM, Thomas Mundt wrote: > > > > > > […] > > > >> > 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0a,0x04,0x01,0x02,0x02,0x01,0x32,0x31,0x04 > >> }, 568832, 122, 0, 1

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/cbs_av1: fix parsing spatial_id

2019-04-01 Thread Mark Thompson
On 25/03/2019 14:22, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/cbs_av1.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c > index 22330eabf3..77548084b6 100644 > --- a/libavcodec/cbs_av1.c > +++ b/libavc

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/av1_metadata: add an option to remove Padding OBUs

2019-04-01 Thread Mark Thompson
On 25/03/2019 14:22, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/av1_metadata_bsf.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/libavcodec/av1_metadata_bsf.c b/libavcodec/av1_metadata_bsf.c > index 2b74b697e4..fe208feaf5 100644 > --- a/lib

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cbs_av1: add support for Padding OBUs

2019-04-01 Thread Mark Thompson
On 25/03/2019 14:22, James Almer wrote: > Based on itut_t35 Matadata OBU parsing code. > > Signed-off-by: James Almer > --- > libavcodec/cbs_av1.c | 20 + > libavcodec/cbs_av1.h | 7 ++ > libavcodec/cbs_av1_syntax_template.c | 32 +

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix range of allowed values for obu_type

2019-04-01 Thread Mark Thompson
On 24/03/2019 22:28, James Almer wrote: > 0 is a reserved value. > > Signed-off-by: James Almer > --- > libavcodec/cbs_av1_syntax_template.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/cbs_av1_syntax_template.c > b/libavcodec/cbs_av1_syntax_template.c >

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

2019-04-01 Thread Mark Thompson
On 01/04/2019 22:38, James Almer wrote: > On 4/1/2019 6:43 AM, Linjie Fu wrote: >> Parse all the constraint flags. >> >> It can be passed to hw decoders to detemine the exact profile for Range >> Extension HEVC. >> >> Signed-off-by: Linjie Fu >> --- >> libavcodec/hevc_ps.c | 18 +++---

Re: [FFmpeg-devel] There may be a bug for .mp4 reader.

2019-04-01 Thread Hendrik Leppkes
On Mon, Apr 1, 2019 at 7:21 PM Yufei He wrote: > > Hi > > There may be a bug for .mp4 reader. > > On decoding some ntsc mp4 files with my h.264 codec, from actvx I received, > > avctx->framerate.den is 100 > > avctx->framerate.num is 2997 > > avctx->pkt_timebase.num is 1 > avctx->pkt_timebase.den

Re: [FFmpeg-devel] [PATCH] configure: include pkgconfig path as vaapi header search

2019-04-01 Thread Mark Thompson
On 28/03/2019 05:17, Song, Ruiling wrote: Neo is the successor to Beignet, correct? >>> Yes, that's the truth. >>> Currently we simply checking against the specific header file of OpenCL, >>> which is in-fact not accurate. >>> I am not sure whether you would like to use Neo together with

Re: [FFmpeg-devel] [PATCH] apedec: add ability to check CRC

2019-04-01 Thread Lynne
Mar 6, 2019, 1:47 PM by d...@lynne.ee: > 6 Mar 2019, 11:22 by > d...@lynne.ee > : > >> The CRC flag is only signalled once every few minutes but CRC is still >> always present so the patch uses the file version instead. >> CRC on 24-bit files wants non-padded samples so skip

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

2019-04-01 Thread James Almer
On 4/1/2019 6:43 AM, Linjie Fu wrote: > Parse all the constraint flags. > > It can be passed to hw decoders to detemine the exact profile for Range > Extension HEVC. > > Signed-off-by: Linjie Fu > --- > libavcodec/hevc_ps.c | 18 +++--- > libavcodec/hevc_ps.h | 10 ++ > 2 fi

Re: [FFmpeg-devel] [PATCH] prompeg_write() must report data all was written

2019-04-01 Thread Michael Niedermayer
On Sun, Mar 31, 2019 at 02:32:34AM +0100, David Holroyd wrote: > Previously, prompeg_write() would only report to caller that bytes we > written when a FEC packet was actually created. Not all RTP packets are > expected to generate a FEC packet however, so this behavior was causing > avio to retry

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

2019-04-01 Thread Michael Niedermayer
On Mon, Apr 01, 2019 at 05:43:20PM +0800, Linjie Fu wrote: > Parse all the constraint flags. > > It can be passed to hw decoders to detemine the exact profile for Range > Extension HEVC. > > Signed-off-by: Linjie Fu > --- > libavcodec/hevc_ps.c | 18 +++--- > libavcodec/hevc_ps.h |

Re: [FFmpeg-devel] [Patch] beautified + accelerated vf_fillborders – Please review

2019-04-01 Thread Carl Eugen Hoyos
> Am 01.04.2019 um 21:39 schrieb Ulf Zibis : > > Hi Carl Eugen, > > Am 28.03.19 um 22:45 schrieb Carl Eugen Hoyos: >>> Here they are, my new set of patches. >> Patch 1 is wrong. > > Can you please tell me more detailed, what is wrong with the indentations? It’s correct as it is now, please do

Re: [FFmpeg-devel] There may be a bug for .mp4 reader.

2019-04-01 Thread Yufei He
On 04/01/2019 01:42 PM, Devin Heitmueller wrote: > Hello Yufei, > >> On Apr 1, 2019, at 1:21 PM, Yufei He wrote: >> >> Hi >> >> There may be a bug for .mp4 reader. >> >> On decoding some ntsc mp4 files with my h.264 codec, from actvx I received, >> >> avctx->framerate.den is 100 >> >> avctx->frame

Re: [FFmpeg-devel] [Patch] beautified + accelerated vf_fillborders – Please review

2019-04-01 Thread Ulf Zibis
Hi Carl Eugen, Am 28.03.19 um 22:45 schrieb Carl Eugen Hoyos: >> Here they are, my new set of patches. > Patch 1 is wrong. Can you please tell me more detailed, what is wrong with the indentations? -Ulf ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpe

Re: [FFmpeg-devel] [PATCH] lavf/mov: skip extradata check in esds for MPEG-1/2 audio

2019-04-01 Thread Gyan
On 01-04-2019 10:22 AM, Gyan wrote: On 28-03-2019 11:04 PM, Gyan wrote: 0001-lavf-mov-skip-extradata-check-in-esds-for-MPEG-1-2-a.patch  From 7e10e1c58e69137487ff0da85caf1c350b3262ae Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Thu, 28 Mar 2019 22:59:30 +0530 Subject: [PATCH] lavf/mov:

Re: [FFmpeg-devel] There may be a bug for .mp4 reader.

2019-04-01 Thread Devin Heitmueller
Hello Yufei, > On Apr 1, 2019, at 1:21 PM, Yufei He wrote: > > Hi > > There may be a bug for .mp4 reader. > > On decoding some ntsc mp4 files with my h.264 codec, from actvx I received, > > avctx->framerate.den is 100 > > avctx->framerate.num is 2997 > > avctx->pkt_timebase.num is 1 > avctx

[FFmpeg-devel] There may be a bug for .mp4 reader.

2019-04-01 Thread Yufei He
Hi There may be a bug for .mp4 reader. On decoding some ntsc mp4 files with my h.264 codec, from actvx I received, avctx->framerate.den is 100 avctx->framerate.num is 2997 avctx->pkt_timebase.num is 1 avctx->pkt_timebase.den is 2997 Duration of every packet I received from ff_decode_get_packe

Re: [FFmpeg-devel] [PATCH] x11grab: fix vertical repositioning

2019-04-01 Thread Octavio Alvarez
On 4/1/19 7:41 AM, Carl Eugen Hoyos wrote: >> The patch is untested, but it looks fairly straightforward. > > How can this patch be tested? ffmpeg -y -r 30 -f x11grab -show_region 1 -draw_mouse 0 -s 350x614 -follow_mouse 10 -i :0.0+0,0 -r 30 -preset ultrafast followcapture-test-.mkv A dotted fra

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2019-04-01 Thread Leo Izen
Bumping this? I'd like to request a review because I think being able to set the input framerate on streamcopy is worthwhile. In case of formatting issues with the reply email, I've attached the patch file as well. In terms of testing, I've tested this with various input formats (matroska, mp

Re: [FFmpeg-devel] [PATCH 4/5] x86/opusdsp: implement FMA3 accelerated postfilter and deemphasis

2019-04-01 Thread James Almer
On 4/1/2019 9:13 AM, Lynne wrote: > Mar 31, 2019, 11:49 PM by jamr...@gmail.com: > >> A float ret value needs to be in xmm0, and you swapped m0 with m2 on >> Win64. This is the source of the fate failure. >> > Attached a patch to fix this. > >> %if WIN64 >> -    SWAP 0, 2 >> -%endif >> +    shufp

[FFmpeg-devel] [PATCH v2] Fix sdp size check on fmtp integer parameters

2019-04-01 Thread Olivier Maignial
RFC-4566 do not give any limit of size on interger parameters given in fmtp line. By reading some more RFCs it is possible to find examples where some integers parameters are greater than 32 (see RFC-6416, 7.4) Instead I propose to check just check the eventual integer overflow. Using INT_MIN an

Re: [FFmpeg-devel] [PATCH] x11grab: fix vertical repositioning

2019-04-01 Thread Carl Eugen Hoyos
2019-03-28 5:52 GMT+01:00, Octavio Alvarez : > There is a calculation error in xcbgrab_reposition() that breaks > vertical repositioning on follow_mouse. It made the bottom > reposition occur when moving the mouse lower than N pixels after > the capture bottom edge, instead of before. > > This comm

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbv: change 24-bit decoder channel order, from RGB24 to BGR24

2019-04-01 Thread Tomas Härdin
mån 2019-04-01 klockan 13:29 +0100 skrev Matthew Fearnley: > > On 1 Apr 2019, at 10:28, Tomas Härdin wrote: > > > > fre 2019-03-29 klockan 22:23 + skrev Matthew Fearnley: > > > > > On Wed, 27 Mar 2019 at 09:42, Tomas Härdin > > > > e> wrote: > > > > > Additional minor fix: use PTRDIFF_SPECIF

Re: [FFmpeg-devel] patch for supporting m264 on h.264 decoding and encoding.

2019-04-01 Thread Nicolas George
Ronald S. Bultje (12019-04-01): > I would like to propose that we delay further consideration of this patch > until Thilo has organized the vote [1] on whether we want to allow > closed-source software integration in FFmpeg. Seconded. Regards, -- Nicolas George signature.asc Description: PG

Re: [FFmpeg-devel] patch for supporting m264 on h.264 decoding and encoding.

2019-04-01 Thread Ronald S. Bultje
Hi, On Fri, Mar 29, 2019 at 12:15 PM Yufei He wrote: > Hi > > This is the fixed version of this patch that follows the way other > companies do on supporting FFmpeg. I would like to propose that we delay further consideration of this patch until Thilo has organized the vote [1] on whether we w

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbv: change 24-bit decoder channel order, from RGB24 to BGR24

2019-04-01 Thread Matthew Fearnley
> On 1 Apr 2019, at 10:28, Tomas Härdin wrote: > > fre 2019-03-29 klockan 22:23 + skrev Matthew Fearnley: On Wed, 27 Mar 2019 at 09:42, Tomas Härdin wrote: Additional minor fix: use PTRDIFF_SPECIFIER for `src - c->decomp_buf`. Other bit depths saw this change in ced0d6c14d,

Re: [FFmpeg-devel] [PATCH 4/5] x86/opusdsp: implement FMA3 accelerated postfilter and deemphasis

2019-04-01 Thread Lynne
Mar 31, 2019, 11:49 PM by jamr...@gmail.com: > A float ret value needs to be in xmm0, and you swapped m0 with m2 on > Win64. This is the source of the fate failure. > Attached a patch to fix this. > %if WIN64 > -    SWAP 0, 2 > -%endif > +    shufps m0, m2, 0 > +%else >      shufps m0, m0, 0 > +

Re: [FFmpeg-devel] [PATCH] lavfi: add nlmeans_opencl filter

2019-04-01 Thread myp...@gmail.com
On Mon, Apr 1, 2019 at 3:53 PM Ruiling Song wrote: > Signed-off-by: Ruiling Song > --- > This filter runs about 2x faster on integrated GPU than nlmeans on my > Skylake CPU. > Anybody like to give some comments? > > Ruiling > > configure | 1 + > doc/filters.texi

[FFmpeg-devel] [PATCH] lavc/qsvenc: no need to include h264.h for jpeg encoder

2019-04-01 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc_jpeg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/qsvenc_jpeg.c b/libavcodec/qsvenc_jpeg.c index 1e7785a826..1619a335c7 100644 --- a/libavcodec/qsvenc_jpeg.c +++ b/libavcodec/qsvenc_jpeg.c @@ -29,7 +29,6 @@ #include "avcodec.h"

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power as a common option for QSV encoder

2019-04-01 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Linjie Fu > Sent: Friday, March 29, 2019 1:19 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power as a > common option for QSV encoder > > Always exposes low_

[FFmpeg-devel] [PATCH] swscale/ppc: VSX-optimize yuv2rgb_full_X

2019-04-01 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 \ -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 32-bit mul, power8 only. ~6.4x speedup: rgb24 214278 UNITS in yuv2packedX, 16384 runs, 0 skips 33249 UNITS in yuv2p

Re: [FFmpeg-devel] [PATCH] avcodec/rscc: Check that the to be uncompressed input is large enough

2019-04-01 Thread Michael Niedermayer
On Mon, Apr 01, 2019 at 10:08:10AM +0200, Paul B Mahol wrote: > On 4/1/19, Michael Niedermayer wrote: > > On Sun, Mar 31, 2019 at 05:35:33PM +0200, Paul B Mahol wrote: > >> On 3/31/19, Michael Niedermayer wrote: > >> > Fixes: Out of array access > >> > Fixes: > >> > 13984/clusterfuzz-testcase-min

[FFmpeg-devel] [PATCH] swscale/ppc: VSX-optimize yuv2rgb_full_2

2019-04-01 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 -sws_flags area \ -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 32-bit mul, power8 only. ~4x speedup: rgb24 52763 UNITS in yuv2packed2, 16384 runs, 0 skips 13453 UNITS in

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

2019-04-01 Thread Linjie Fu
Parse all the constraint flags. It can be passed to hw decoders to detemine the exact profile for Range Extension HEVC. Signed-off-by: Linjie Fu --- libavcodec/hevc_ps.c | 18 +++--- libavcodec/hevc_ps.h | 10 ++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbv: change 24-bit decoder channel order, from RGB24 to BGR24

2019-04-01 Thread Tomas Härdin
fre 2019-03-29 klockan 22:23 + skrev Matthew Fearnley: > > On Wed, 27 Mar 2019 at 09:42, Tomas Härdin wrote: > > > Additional minor fix: use PTRDIFF_SPECIFIER for `src - c->decomp_buf`. > > > Other bit depths saw this change in ced0d6c14d, but this instance was > > > missed, presumably because

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-04-01 Thread Tomas Härdin
fre 2019-03-29 klockan 08:30 -0700 skrev Baptiste Coudurier: > Hey Tomas, I hope you are doing well > > > > > On Mar 29, 2019, at 2:41 AM, Tomas Härdin wrote: > > > > tor 2019-03-28 klockan 08:50 -0700 skrev Baptiste Coudurier: > > > --- > > >  libavformat/mxf.h|   1 + > > >  libavformat/mxf

Re: [FFmpeg-devel] [PATCH] lavf/movenc: fix tmcd writing for non-MP4/MOV modes

2019-04-01 Thread Tomas Härdin
sön 2019-03-31 klockan 00:11 +0530 skrev Gyan: > Regression since, I believe, 42cb050a05 Sounds like there should be a test case to go along with it so it doesn't re-regress in the future :) /Tomas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org h

Re: [FFmpeg-devel] patch for supporting m264 on h.264 decoding and encoding.

2019-04-01 Thread Tomas Härdin
fre 2019-03-29 klockan 16:14 + skrev Yufei He: diff --git a/Changelog b/Changelog > index 4d80e5b..ce0daf8 100644 > --- a/Changelog > +++ b/Changelog > @@ -2753,6 +2757,7 @@ msmpeg4v3_decoder_select="h263_decoder" >  msmpeg4v3_encoder_select="h263_encoder" >  mss2_decoder_select="mpegvideo qpel

Re: [FFmpeg-devel] [PATCH] avcodec/rscc: Check that the to be uncompressed input is large enough

2019-04-01 Thread Paul B Mahol
On 4/1/19, Michael Niedermayer wrote: > On Sun, Mar 31, 2019 at 05:35:33PM +0200, Paul B Mahol wrote: >> On 3/31/19, Michael Niedermayer wrote: >> > Fixes: Out of array access >> > Fixes: >> > 13984/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-5734128093233152 >> > >> > Found-by:

[FFmpeg-devel] [PATCH] lavfi: add nlmeans_opencl filter

2019-04-01 Thread Ruiling Song
Signed-off-by: Ruiling Song --- This filter runs about 2x faster on integrated GPU than nlmeans on my Skylake CPU. Anybody like to give some comments? Ruiling configure | 1 + doc/filters.texi| 4 + libavfilter/Makefile| 1 + libavfilter/