Re: [FFmpeg-devel] Is it ok to add G.722.1 decoder as external lib?

2019-09-19 Thread Tomas Härdin
tor 2019-09-19 klockan 13:58 +0900 skrev Hyun Yoo: > On Thu, Sep 19, 2019 at 7:28 AM Carl Eugen Hoyos wrote: > > Am Di., 17. Sept. 2019 um 02:37 Uhr schrieb Hyun Yoo > > : > > > I implemented a g.722.1 decoder by linking FreeSwitch's libg722_1 > > > as external lib like libilbc, libspeex(ex. conf

Re: [FFmpeg-devel] [PATCH 4/6] lavu/hwcontext_vaapi: add vaapi_format_map support for AYUV/Y210/Y410

2019-09-19 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Friday, September 13, 2019 07:48 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 4/6] lavu/hwcontext_vaapi: add > vaapi_format_map support for AYUV/Y210

Re: [FFmpeg-devel] [PATCH v1 1/3] avfilter/f_sidedata: try to fix warning: comparison of constant -1 with expression of type 'enum AVFrameSideDataType'

2019-09-19 Thread Marton Balint
On Thu, 19 Sep 2019, Limin Wang wrote: On Wed, Sep 18, 2019 at 08:23:46PM +0200, Michael Niedermayer wrote: On Sun, Aug 25, 2019 at 12:17:58AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/f_sidedata.c | 10 +- > libavuti

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-19 Thread Peter B.
btw: If you need anything to be tested, just let me know :) Cheers! Peter ___ 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

Re: [FFmpeg-devel] Adding ICC profile support to MOV decode/encode

2019-09-19 Thread vectronic
> On 18 Sep 2019, at 18:43, Derek Buitenhuis wrote: > > On 18/09/2019 17:29, Hello Vectronic wrote: >> And here is an example file: http://vectronic.io/icc-profile/icc-profile.mov >> >> And here is the relevant standard: >> https://standards.iso.org/ittf/PubliclyAvailableStandards/c068960_ISO

Re: [FFmpeg-devel] [PATCH] avformat/aiffdec: parse replaygain metadata

2019-09-19 Thread Moritz Barsnick
On Mon, Mar 18, 2019 at 11:01:21 +0100, Paul B Mahol wrote: > On 3/18/19, Moritz Barsnick wrote: > >> Tested against sample provided here: > >> https://ffmpeg.org/pipermail/ffmpeg-user/2019-March/043717.html > >> > >> libavformat/aiffdec.c | 5 + > >> 1 file changed, 5 insertions(+) > > > > F

Re: [FFmpeg-devel] [PATCH] avformat/rtpenc_mpegts: copy metadata to mpegts sub-muxer

2019-09-19 Thread Moritz Barsnick
On Fri, Sep 07, 2018 at 21:32:02 +0200, Moritz Barsnick wrote: > On Mon, Jul 02, 2018 at 13:38:04 +0200, Moritz Barsnick wrote: > > Fixes #7293. > > Ping. Another friendly ping. For reference, since it's quite a while back: https://patchwork.ffmpeg.org/patch/9566/ Still applies cleanly to HEAD of

Re: [FFmpeg-devel] [PATCH 3/4] libavfilter/dnn: separate depth_to_space layer from dnn_backend_native.c to a new file

2019-09-19 Thread Pedro Arthur
LGTM Pushed, thanks! Em qui, 5 de set de 2019 às 03:05, Guo, Yejun escreveu: > > the logic is that one layer in one separated source file to make > the source files simple for maintaining. > > Signed-off-by: Guo, Yejun > --- > libavfilter/dnn/Makefile | 1 + > libavf

Re: [FFmpeg-devel] [PATCH 1/4] libavfilter/dnn: separate conv2d layer from dnn_backend_native.c to a new file

2019-09-19 Thread Pedro Arthur
Em qui, 5 de set de 2019 às 03:05, Guo, Yejun escreveu: > > the logic is that one layer in one separated source file to make > the source files simple for maintaining. > > Signed-off-by: Guo, Yejun > --- > libavfilter/dnn/Makefile | 1 + > libavfilter/dnn/dnn_backend_n

Re: [FFmpeg-devel] [PATCH 2/4] FATE/dnn: add unit test for dnn conv2d layer

2019-09-19 Thread Pedro Arthur
Em qui, 5 de set de 2019 às 03:05, Guo, Yejun escreveu: > > 'make fate-dnn-layer-conv2d' to run the test > > Signed-off-by: Guo, Yejun > --- > tests/dnn/Makefile| 1 + > tests/dnn/dnn-layer-conv2d-test.c | 238 > ++ > tests/fate/dnn.mak

Re: [FFmpeg-devel] [PATCH 4/4] FATE/dnn: add unit test for dnn depth_to_space layer

2019-09-19 Thread Pedro Arthur
LGTM Pushed, thanks! Em qui, 5 de set de 2019 às 03:05, Guo, Yejun escreveu: > > 'make fate-dnn-layer-depth2space' to run the test > > Signed-off-by: Guo, Yejun > --- > tests/dnn/Makefile | 1 + > tests/dnn/dnn-layer-depth2space-test.c | 100 > +++

Re: [FFmpeg-devel] [PATCH v1 1/3] avfilter/f_sidedata: try to fix warning: comparison of constant -1 with expression of type 'enum AVFrameSideDataType'

2019-09-19 Thread Limin Wang
On Thu, Sep 19, 2019 at 09:58:46AM +0200, Marton Balint wrote: > > On Thu, 19 Sep 2019, Limin Wang wrote: > > >On Wed, Sep 18, 2019 at 08:23:46PM +0200, Michael Niedermayer wrote: > >>On Sun, Aug 25, 2019 at 12:17:58AM +0800, lance.lmw...@gmail.com wrote: > >>> From: Limin Wang > >>> > Signed-of

[FFmpeg-devel] [PATCH v4] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-19 Thread phunkyfish
--- libavformat/rtsp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index c153cac88b..859defa592 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1318,6 +1318,9 @@ static int rtsp_send_cmd_with_content_async(AVFormatContext *s, ch

Re: [FFmpeg-devel] [PATCH v4] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-19 Thread Ross Nicholson
Updated to v4 of patch after learning from Aman Gupta that 'rt' did not need to be checked in the context of this function. Should be good to go now. On Thu, 19 Sep 2019 at 16:12, phunkyfish wrote: > --- > libavformat/rtsp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavform

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/v210dec: add the frame and slice threading support

2019-09-19 Thread Limin Wang
Another friendly ping. On Fri, Sep 06, 2019 at 11:28:29PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > The multithread is avoid one core cpu is full with other filter like scale > etc. > About the performance, the gain is very small, below is my testing for > performance. > In o

[FFmpeg-devel] [PATCH v3] avdevice/xcbgrab: check return values of xcb query functions

2019-09-19 Thread Moritz Barsnick
xcb_query_pointer_reply() and xcb_get_geometry_reply() can return NULL if e.g. the X server closes or the connection is lost. This needs to be checked in order to cleanly exit, because the returned pointers are dereferenced later. Furthermore, their return values need to be free()d, also in error

Re: [FFmpeg-devel] [PATCH v3] avdevice/xcbgrab: check return values of xcb query functions

2019-09-19 Thread Moritz Barsnick
On Thu, Sep 19, 2019 at 17:42:30 +0200, Moritz Barsnick wrote: > +av_log(c, AV_LOG_ERROR, "Failed get xcb geometry\n"); D'uh, missing a "to " in there. Will fix, or pusher please do so. Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg

Re: [FFmpeg-devel] [PATCH] avcodec/dvenc: support encoding dvcprohd

2019-09-19 Thread Michael Niedermayer
On Wed, Sep 11, 2019 at 12:29:57PM -0700, Baptiste Coudurier wrote: > --- > libavcodec/dv.h| 1 + > libavcodec/dvenc.c | 576 - > 2 files changed, 522 insertions(+), 55 deletions(-) a fate test should be added for this if its not already planed or

Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-09-19 Thread Marton Balint
On Thu, 12 Sep 2019, Anthony Delannoy wrote: But I'd like to see data decoder in the future to use more easily EPG/NIT/BAT etc tables. Will it be possible? With modifications if it needs to be? I don't see how, as it does not fit into the concept of the libav* libraries. I feel this belongs

[FFmpeg-devel] [PATCH 1/4] avcodec/flac_parser: do not over-decrement nb_headers_buffered

2019-09-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 15400/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5669509794365440 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/flac_parser.c | 1 - 1 file changed,

[FFmpeg-devel] [PATCH 4/4] avcodec/jpeglsdec: Apply transform only to initialized lines

2019-09-19 Thread Michael Niedermayer
Fixes: Timeout (110sec -> 1sec) Fixes: 17123/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMV_fuzzer-5636452758585344 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeglsdec.c | 7 +

[FFmpeg-devel] [PATCH 3/4] avcodec/jpeglsdec: Return error codes from ls_decode_line()

2019-09-19 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/jpeglsdec.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c index 5308b744df..79f7fc1322 100644 --- a/libavcodec/jpeglsdec.c +++ b/libavcodec/jpeglsdec

[FFmpeg-devel] [PATCH 2/4] avcodec/flac_parser: Make expected_frame_num, expected_sample_num 64bit

2019-09-19 Thread Michael Niedermayer
Fixes: Integer overflow Fixes: 17199/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5696145187143680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/flac_parser.c | 2 +- 1 file

Re: [FFmpeg-devel] Adding ICC profile support to MOV decode/encode

2019-09-19 Thread James Almer
On 9/18/2019 7:27 AM, Hello Vectronic wrote: > > >> On 18 Sep 2019, at 11:09, Hendrik Leppkes wrote: >> >> On Wed, Sep 18, 2019 at 11:37 AM Hello Vectronic >> wrote: >>> >>> Hello, >>> >>> I need to implement support for reading and writing ICC profiles which can >>> be stored in MOV/MP4 sampl

[FFmpeg-devel] [PATCH 00/11] Fix undefined behaviour

2019-09-19 Thread Andreas Rheinhardt
1. When one uses UBSan (Undefined behaviour sanitizer) compiled with the -fsanitize-trap=undefined option (that makes the resulting binary trap on undefined behaviour instead of simply emitting a warning), lots of FATE tests (about 960 on an x64) fail. Over 200 of these are false positives because

[FFmpeg-devel] [PATCH 03/11] avcodec/wavpackenc: Fix undefined shifts

2019-09-19 Thread Andreas Rheinhardt
Fixes ticket #8161 and the acodec-wavpack FATE-test. Signed-off-by: Andreas Rheinhardt --- libavcodec/wavpackenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c index 95f4b6530c..0c85fbe374 100644 --- a/libavcodec/wavp

[FFmpeg-devel] [PATCH 01/11] avformat/sdsdec: Fix undefined shifts

2019-09-19 Thread Andreas Rheinhardt
An uint8_t gets promoted to an int before left shifting, so that it is subject to the usual restrictions of signed types wrt shifts. Given that the destination is an unsigned, simply convert to unsigned before shifting. Fixes tickets #8163, #8164 and #8165. Signed-off-by: Andreas Rheinhardt ---

[FFmpeg-devel] [PATCH 10/11] avcodec/truespeech: Fix invalid shifts

2019-09-19 Thread Andreas Rheinhardt
Fixes the truespeech FATE-test as well as the truespeech bugs reported in ticket #8159. Signed-off-by: Andreas Rheinhardt --- libavcodec/truespeech.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index d4ddfcbf9c..f0

[FFmpeg-devel] [PATCH 06/11] avcodec/pcm: Fix undefined shifts

2019-09-19 Thread Andreas Rheinhardt
Fixes the acodec-pcm-u16[lb]e FATE-tests. Signed-off-by: Andreas Rheinhardt --- Changing the macro for planar decoding is actually unnecessary, as none of the currently used users of this macro need it. I have nevertheless done so to minimise the changes between the macros. libavcodec/pcm.c | 4

[FFmpeg-devel] [PATCH 08/11] avformat/movenc: Fix undefined shift

2019-09-19 Thread Andreas Rheinhardt
Fixes the movenc FATE-test. Signed-off-by: Andreas Rheinhardt --- libavformat/movenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index edddfeeb00..ce9fc8c5aa 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -

[FFmpeg-devel] [PATCH 11/11] avcodec/ac3enc: Fix invalid shift

2019-09-19 Thread Andreas Rheinhardt
Fixes the FATE-tests unknown_layout-ac3, ac3-fixed-encode, ac3-encode and eac3-encode. It furthermore fixes the ac3-encoder bugs mentioned in tickets #7994, #8144 and #8159. Signed-off-by: Andreas Rheinhardt --- libavcodec/ac3enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[FFmpeg-devel] [PATCH 05/11] avformat/nutenc: Don't pass NULL to memcmp

2019-09-19 Thread Andreas Rheinhardt
Fixes lots of FATE tests, e.g. lavf-nut, as well as the nut part of ticket #7980. Signed-off-by: Andreas Rheinhardt --- This patch is made to match the previous behaviour; whether the previous behaviour is correct at all if the header length is zero is unknown to me. libavformat/nutenc.c | 5 ++

[FFmpeg-devel] [PATCH 07/11] avcodec/pcm: Cosmetics

2019-09-19 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/pcm.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index d9176732d9..83850cc793 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -300,23 +300,23 @@ sta

[FFmpeg-devel] [PATCH]lavc/opus: Create extradata if it is missing

2019-09-19 Thread Carl Eugen Hoyos
Hi! Attached patch fixes remuxing opus from sdp, reported by Juan Navarro. Please comment, Carl Eugen From 957e568e7dd1c2acc0ea29dad122919c8c9e05ce Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 20 Sep 2019 00:29:16 +0200 Subject: [PATCH] lavc/opus: Create extradata if it is missing.

[FFmpeg-devel] [PATCH 02/11] avcodec/mpeg12dec: Sanitize start codes earlier

2019-09-19 Thread Andreas Rheinhardt
The MPEG-1/2 decoder uses avpriv_find_start_code to search for start codes and worked with the resulting start code before checking that it is really a start code of a slice. In particular, if the picture is so big that a slice_vertical_position_extension is present, it added the slice_vertical_pos

[FFmpeg-devel] [PATCH 04/11] avcodec/tdsc: Fix undefined shifts

2019-09-19 Thread Andreas Rheinhardt
Fixes the tdsc FATE-test. Signed-off-by: Andreas Rheinhardt --- libavcodec/tdsc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/tdsc.c b/libavcodec/tdsc.c index 4182404cf0..e9ea41ef55 100644 --- a/libavcodec/tdsc.c +++ b/libavcodec/tdsc.c @@ -187,7 +187,7 @

[FFmpeg-devel] [PATCH 09/11] avcodec/g723_1dec: Fix invalid shift

2019-09-19 Thread Andreas Rheinhardt
Fixes the FATE-tests g723_1-dec-1, g723_1-dec-2 and g723_1-dec-4. Signed-off-by: Andreas Rheinhardt --- libavcodec/g723_1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/g723_1dec.c b/libavcodec/g723_1dec.c index d8bc3f97ac..d1faf92c39 100644 --- a/libavcodec/

Re: [FFmpeg-devel] [PATCH 00/11] Fix undefined behaviour

2019-09-19 Thread Carl Eugen Hoyos
Am Fr., 20. Sept. 2019 um 00:23 Uhr schrieb Andreas Rheinhardt : > > 1. When one uses UBSan (Undefined behaviour sanitizer) compiled with the > -fsanitize-trap=undefined option (that makes the resulting binary trap > on undefined behaviour instead of simply emitting a warning), lots of > FATE tests

Re: [FFmpeg-devel] [PATCH 05/11] avformat/nutenc: Don't pass NULL to memcmp

2019-09-19 Thread Carl Eugen Hoyos
Am Fr., 20. Sept. 2019 um 00:30 Uhr schrieb Andreas Rheinhardt : > > Fixes lots of FATE tests, e.g. lavf-nut, as well as the nut part of > ticket #7980. > > Signed-off-by: Andreas Rheinhardt > --- > This patch is made to match the previous behaviour; whether the previous > behaviour is correct at

Re: [FFmpeg-devel] [PATCH]lavfi/movie: Use filter threads as decoding threads

2019-09-19 Thread Carl Eugen Hoyos
Am So., 25. Aug. 2019 um 18:43 Uhr schrieb Carl Eugen Hoyos : > > Am So., 25. Aug. 2019 um 18:38 Uhr schrieb James Almer : > > > > On 8/25/2019 1:27 PM, Carl Eugen Hoyos wrote: > > > Hi! > > > > > > Attached patch should fix ticket #7542. > > > > > > Please comment, Carl Eugen > > > > > > > > > 000

[FFmpeg-devel] [PATCH] lavc/vaapi_decode: Add 4:4:4 8/10 bit decode support for VP9

2019-09-19 Thread Linjie Fu
Add decode support for VP9 4:4:4 8 bit and 10 bit. Supported since ICL. Signed-off-by: Linjie Fu --- libavcodec/vaapi_decode.c | 2 ++ libavcodec/vp9.c | 6 ++ 2 files changed, 8 insertions(+) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index 69512e1..1a48e3b

[FFmpeg-devel] [PATCH v3] avutil/avstring: support input path is a null pointer or empty string

2019-09-19 Thread lance . lmwang
From: Limin Wang Linux and OSX systems support basename and dirname via , I plan to make the wrapper interface conform to the standard interface first. If it is feasible, I will continue to modify it to call the system interface if there is already a system call interface. You can get more descr

[FFmpeg-devel] [PATCH v3 3/3] FATE: add fate test for minterpolate filter

2019-09-19 Thread lance . lmwang
From: Limin Wang have tested on linux x86_32/64, mingw32/64 arm & mips qemu Tested-by: Michael Niedermayer Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 tests/ref/fate/filter-minterpolate-down | 6 ++ tests/ref/fate/filter-minterpolate-up | 15 +++

Re: [FFmpeg-devel] [PATCH v2 3/3] FATE: add fate test for minterpolate filter

2019-09-19 Thread Limin Wang
On Sun, Sep 15, 2019 at 07:05:35PM +0200, Michael Niedermayer wrote: > On Sat, Sep 14, 2019 at 11:37:31AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > tests/fate/filter-video.mak | 4 > > tests/ref/fate/filter-minterpo

Re: [FFmpeg-devel] [PATCH, v2 2/2] lavc/vaapi_decode: recreate hw_frames_ctx for vp9 without destroy va_context

2019-09-19 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Fu, Linjie > Sent: Wednesday, September 11, 2019 00:02 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH, v2 2/2] lavc/vaapi_decode: recreate > hw_frames_ctx for vp9 without de

[FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_minterpolate: correct the mafd calculation

2019-09-19 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238ade..fc8054b710 100644 --- a/libavfilter/vf_minterpolate.c +++ b/liba

[FFmpeg-devel] [PATCH v3 2/3] avfilter/vf_minterpolate: change the default threshold to get better scene change detect result

2019-09-19 Thread lance . lmwang
From: Limin Wang ./ffmpeg -loglevel debug -i ../fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf minterpolate=fps=60:mi_mode=blend -an -f null - [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 1600 [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 4120 [Pa

[FFmpeg-devel] [PATCH 1/4] libavfilter/dnn: add layer maximum for native mode.

2019-09-19 Thread Guo, Yejun
The reason to add this layer is that it is used by srcnn in vf_sr. This layer is currently ignored in native mode. After this patch, we can add multiple outputs support for native mode. Signed-off-by: Guo, Yejun --- libavfilter/dnn/Makefile | 1 + libavfilter/dnn/dnn_b

[FFmpeg-devel] [PATCH 3/4] libavfilter/dnn/dnn_backend_native: find the input operand according to input name

2019-09-19 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavfilter/dnn/dnn_backend_native.c | 39 +--- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_native.c b/libavfilter/dnn/dnn_backend_native.c index 22a9a33..1b0aea2 100644 --- a/libavfilte

[FFmpeg-devel] [PATCH 2/4] FATE/dnn: add unit test for layer maximum

2019-09-19 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- tests/dnn/Makefile | 1 + tests/dnn/dnn-layer-maximum-test.c | 71 ++ tests/fate/dnn.mak | 5 +++ 3 files changed, 77 insertions(+) create mode 100644 tests/dnn/dnn-layer-maximum-test.c diff --gi

[FFmpeg-devel] [PATCH 4/4] libavfilter/dnn: support multiple outputs for native mode

2019-09-19 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavfilter/dnn/dnn_backend_native.c | 43 +++- libavfilter/dnn/dnn_backend_native.h | 2 ++ 2 files changed, 34 insertions(+), 11 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_native.c b/libavfilter/dnn/dnn_backend_native.c

[FFmpeg-devel] [PATCH 1/3] lavu/qsv: remove redundant version query

2019-09-19 Thread Zhong Li
Signed-off-by: Zhong Li --- libavutil/hwcontext_qsv.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 0329a81ec3..b1b67400de 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -1180,11 +1180,6 @@ static int

[FFmpeg-devel] [PATCH 2/3] lavc/qsv: Fix MSDK initialization failure in system memory mode

2019-09-19 Thread Zhong Li
MSDK does not create internal acceleration device on Linux, So MFXVideoCORE_SetHandle() is necessary. It has been added for ff_qsv_init_session_device(). But missed for ff_qsv_init_internal_session() due to commit 1f26a23 overwrited commit db89f45 Fix #7030 Signed-off-by: Zhong Li --- libavcode

[FFmpeg-devel] [PATCH 3/3] lavc/qsv: add memory type message

2019-09-19 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsv.c | 29 + libavcodec/qsv_internal.h | 3 +++ libavcodec/qsvdec.c | 2 ++ 3 files changed, 34 insertions(+) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 87ff694030..9c5a0647c9 100644 --- a/libavcodec