Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc: add low latency P-pyramid support for qsv

2020-12-09 Thread Linjie Fu
On Thu, Dec 10, 2020 at 2:07 PM wrote: > > From: Wenbinc-Bin > > Add low latency P-pyramid support for qsv, and it relates to a new > command line parameter "-p_strategy". To enable this flag, user also > need to set "-bf" to -1 or 0. IMO correcting the related options and prompting a warning wo

Re: [FFmpeg-devel] [PATCH] avcodec/libkvazaar: Set default ratecontrol algorithm for libkvazaar

2020-12-09 Thread Linjie Fu
On Thu, Dec 10, 2020 at 2:09 PM Joose Sainio wrote: > > The standalone version of Kvazaar sets a default ratecontrol algorithm when > bitrate is set. Mirror this behaviour. > > Signed-off-by: Joose Sainio > --- > libavcodec/libkvazaar.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [FFmpeg-devel] 回复: 回复: [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Gyan Doshi
Patchwork hasn't picked it up. Send without non-Latin characters, and as plaintext encoding, same as your original patch. Regards, Gyan On 10-12-2020 11:41 am, Sun Zhenliang wrote: In 3GPP TS 26.244 V16.1.0 (2020-09) 5.3 and 5.4, there was no clear explanation of HEVC bands. But I think it

Re: [FFmpeg-devel] [PATCH] http: support retry on connection error

2020-12-09 Thread Eran Kornblau
Resending... -Original Message- From: Eran Kornblau Sent: Thursday, December 3, 2020 10:52 AM To: FFmpeg development discussions and patches Subject: RE: [FFmpeg-devel] [PATCH] http: support retry on connection error Hi Marton, Thank you for the feedback, and sorry for my late reply :)

[FFmpeg-devel] 回复: 回复: [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Sun Zhenliang
In 3GPP TS 26.244 V16.1.0 (2020-09) 5.3 and 5.4, there was no clear explanation of HEVC bands. But I think it's fine to use h264 bands, due to 5.5 in 3GPP TS 26.244. these modifications should be enough. diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8715cb6e5c..2dd8c8789d 10

[FFmpeg-devel] [PATCH] avcodec/libkvazaar: Set default ratecontrol algorithm for libkvazaar

2020-12-09 Thread Joose Sainio
The standalone version of Kvazaar sets a default ratecontrol algorithm when bitrate is set. Mirror this behaviour. Signed-off-by: Joose Sainio ---  libavcodec/libkvazaar.c | 3 +++  1 file changed, 3 insertions(+) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c index 9032547678..6

[FFmpeg-devel] [PATCH] libavcodec/qsvenc: add low latency P-pyramid support for qsv

2020-12-09 Thread wenbin . chen
From: Wenbinc-Bin Add low latency P-pyramid support for qsv, and it relates to a new command line parameter "-p_strategy". To enable this flag, user also need to set "-bf" to -1 or 0. Signed-off-by Wenbin Chen --- libavcodec/qsvenc.c | 22 ++ libavcodec/qsvenc.h | 2 ++ 2

[FFmpeg-devel] [PATCH v3 2/2] qsv: dump more info in error, debug and verbose mode

2020-12-09 Thread Haihao Xiang
Dump iopattern mode and the SDK error/warning desciptions for qsv based filters and iopattern mode for qsvenc Signed-off-by: Haihao Xiang --- libavcodec/qsvenc.c | 1 + libavfilter/qsvvpp.c | 21 +-- libavfilter/vf_deinterlace_qsv.c | 36

[FFmpeg-devel] [PATCH v3 1/2] lavf/qsv: Add functions to print mfx iopattern, warning and error

2020-12-09 Thread Haihao Xiang
It is a copy of the relevant part in lavc/qsv. Signed-off-by: Haihao Xiang --- To avoid duplicated tables in the same library after applying patch ' lavc/qsv: make some functions inline', use a local copy of the relevant code in this patch libavfilter/qsvvpp.c | 104

Re: [FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread Lynne
Dec 10, 2020, 00:40 by jo...@kwiboo.se: > On 2020-12-10 00:17, James Almer wrote: > >> On 12/9/2020 8:06 PM, Lynne wrote: >> >>> Dec 9, 2020, 23:42 by jo...@kwiboo.se: >>> On 2020-12-09 23:09, Lynne wrote: > Dec 9, 2020, 21:25 by jo...@kwiboo.se: > >> Signed-off-by: Jonas Kar

Re: [FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread Lynne
Dec 9, 2020, 23:42 by jo...@kwiboo.se: > On 2020-12-09 23:09, Lynne wrote: > >> Dec 9, 2020, 21:25 by jo...@kwiboo.se: >> >>> Signed-off-by: Jonas Karlman >>> --- >>> doc/APIchanges | 3 +++ >>> libavutil/buffer.c | 13 + >>> libavutil/buffer.h | 5 + >>> libavutil/versi

Re: [FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread Lynne
Dec 9, 2020, 21:25 by jo...@kwiboo.se: > Signed-off-by: Jonas Karlman > --- > doc/APIchanges | 3 +++ > libavutil/buffer.c | 13 + > libavutil/buffer.h | 5 + > libavutil/version.h | 2 +- > 4 files changed, 22 insertions(+), 1 deletion(-) > > diff --git a/doc/APIchange

Re: [FFmpeg-devel] [PATCH] avcodec/av1dec: support exporting Film Grain params as frame side data

2020-12-09 Thread Lynne
Dec 9, 2020, 19:01 by jamr...@gmail.com: > Signed-off-by: James Almer > --- > libavcodec/av1dec.c| 69 ++ > libavcodec/dxva2_av1.c | 5 +-- > libavcodec/nvdec_av1.c | 10 +++--- > libavcodec/vaapi_av1.c | 8 +++-- > 4 files changed, 83 insertions(+),

Re: [FFmpeg-devel] [PATCH 5/5] h264dec: add V4L2 request API hwaccel

2020-12-09 Thread Mark Thompson
On 09/12/2020 20:25, Jonas Karlman wrote: From: Jernej Skrabec Signed-off-by: Jernej Skrabec Signed-off-by: Jonas Karlman --- Changelog | 1 + configure | 3 + libavcodec/Makefile| 1 + libavcodec/h264_slice.c| 4 + l

Re: [FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread Jonas Karlman
On 2020-12-10 00:17, James Almer wrote: > On 12/9/2020 8:06 PM, Lynne wrote: >> Dec 9, 2020, 23:42 by jo...@kwiboo.se: >> >>> On 2020-12-09 23:09, Lynne wrote: >>> Dec 9, 2020, 21:25 by jo...@kwiboo.se: > Signed-off-by: Jonas Karlman > --- > doc/APIchanges | 3 +++ >>>

Re: [FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread James Almer
On 12/9/2020 8:06 PM, Lynne wrote: Dec 9, 2020, 23:42 by jo...@kwiboo.se: On 2020-12-09 23:09, Lynne wrote: Dec 9, 2020, 21:25 by jo...@kwiboo.se: Signed-off-by: Jonas Karlman --- doc/APIchanges | 3 +++ libavutil/buffer.c | 13 + libavutil/buffer.h | 5 + lib

Re: [FFmpeg-devel] [PATCH 2/5] avcodec: add common V4L2 request API code

2020-12-09 Thread Mark Thompson
On 09/12/2020 20:25, Jonas Karlman wrote: Signed-off-by: Jonas Karlman --- configure | 12 + libavcodec/Makefile | 1 + libavcodec/hwconfig.h | 2 + libavcodec/v4l2_request.c | 987 ++ libavcodec/v4l2_request.h | 77 +++

Re: [FFmpeg-devel] [PATCH 1/6] fate: Add dpx-probe test

2020-12-09 Thread Carl Eugen Hoyos
Am Mo., 7. Dez. 2020 um 12:39 Uhr schrieb Harry Mallon : > > I attach the cyan.dpx that I generated for this test, it needs to be in the > dpx folder in fate. The file is >400k, I believe a very small file should also allow to test ffprobe with dpx. Carl Eugen ___

Re: [FFmpeg-devel] [PATCH 3/5] h264dec: add idr_pic_id to slice context

2020-12-09 Thread Jonas Karlman
On 2020-12-09 23:23, Mark Thompson wrote: > On 09/12/2020 20:25, Jonas Karlman wrote: >> From: Ezequiel Garcia >> >> Signed-off-by: Ezequiel Garcia >> Signed-off-by: Jonas Karlman >> --- >> libavcodec/h264_slice.c | 2 +- >> libavcodec/h264dec.h| 1 + >> 2 files changed, 2 insertions(+),

Re: [FFmpeg-devel] [PATCH]lavf/img2dec: Return a low score for mjpeg when probing jpeg_pipe

2020-12-09 Thread Carl Eugen Hoyos
Am Mi., 9. Dez. 2020 um 23:38 Uhr schrieb Carl Eugen Hoyos : > Attached patch fixes ticket #9026. Alternative patch attached. Carl Eugen From eff71dca7111042cf696f47267ba311a5565629f Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 9 Dec 2020 23:42:33 +0100 Subject: [PATCH] lavf/rawde

Re: [FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread Jonas Karlman
On 2020-12-09 23:09, Lynne wrote: > Dec 9, 2020, 21:25 by jo...@kwiboo.se: > >> Signed-off-by: Jonas Karlman >> --- >> doc/APIchanges | 3 +++ >> libavutil/buffer.c | 13 + >> libavutil/buffer.h | 5 + >> libavutil/version.h | 2 +- >> 4 files changed, 22 insertions(+),

[FFmpeg-devel] [PATCH]lavf/img2dec: Return a low score for mjpeg when probing jpeg_pipe

2020-12-09 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #9026. Please comment, Carl Eugen From 0acdf4ccbad59d10d1b8fa2a1bde0b7cf59a46ab Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 9 Dec 2020 23:35:36 +0100 Subject: [PATCH] lavf/img2dec: Return a low score for mjpeg when probing jpeg_pipe. Fixes ticket

Re: [FFmpeg-devel] [PATCH 3/5] h264dec: add idr_pic_id to slice context

2020-12-09 Thread Mark Thompson
On 09/12/2020 20:25, Jonas Karlman wrote: From: Ezequiel Garcia Signed-off-by: Ezequiel Garcia Signed-off-by: Jonas Karlman --- libavcodec/h264_slice.c | 2 +- libavcodec/h264dec.h| 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_slice.c b/libavcodec

Re: [FFmpeg-devel] [PATCH 4/4 v3] avcodec/av1dec: add an option to select an operating point

2020-12-09 Thread James Almer
On 12/9/2020 6:36 PM, Mark Thompson wrote: On 15/11/2020 21:55, James Almer wrote: Signed-off-by: James Almer ---   doc/decoders.texi   | 13 +   libavcodec/av1dec.c | 30 ++   libavcodec/av1dec.h |  4   3 files changed, 47 insertions(+) diff --git a/

Re: [FFmpeg-devel] [PATCH 2/4 v2] avcodec/cbs: allow cbs_read_fragment_content() to discard units

2020-12-09 Thread James Almer
On 12/9/2020 6:22 PM, Mark Thompson wrote: On 15/11/2020 21:55, James Almer wrote: The caller may not need all units in a fragment in reading only scenarios. They could in fact alter global state stored in the private CodedBitstreamType fields in an undesirable way. And unlike preventing decomp

Re: [FFmpeg-devel] [PATCH 4/4 v3] avcodec/av1dec: add an option to select an operating point

2020-12-09 Thread Mark Thompson
On 15/11/2020 21:55, James Almer wrote: Signed-off-by: James Almer --- doc/decoders.texi | 13 + libavcodec/av1dec.c | 30 ++ libavcodec/av1dec.h | 4 3 files changed, 47 insertions(+) diff --git a/doc/decoders.texi b/doc/decoders.texi index

Re: [FFmpeg-devel] [PATCH 2/4 v2] avcodec/cbs: allow cbs_read_fragment_content() to discard units

2020-12-09 Thread Mark Thompson
On 15/11/2020 21:55, James Almer wrote: The caller may not need all units in a fragment in reading only scenarios. They could in fact alter global state stored in the private CodedBitstreamType fields in an undesirable way. And unlike preventing decomposition of units, discarding can be done base

Re: [FFmpeg-devel] [PATCH 2/6] avformat/vividas: Make len signed

2020-12-09 Thread Michael Niedermayer
On Mon, Nov 23, 2020 at 01:43:00AM +0100, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 27424/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-5682070692823040 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 3/6] avformat/vividas: Check sample_rate

2020-12-09 Thread Michael Niedermayer
On Mon, Nov 23, 2020 at 01:43:01AM +0100, Michael Niedermayer wrote: > Fixes: Assertion c > 0 failed at libavutil/mathematics.c > Fixes: > 27001/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-5726041328582656 > Fixes: > 27453/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-5716

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Sanity check codec_id/track type

2020-12-09 Thread Michael Niedermayer
On Mon, Dec 07, 2020 at 02:20:50AM +0100, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Fixes: memleak > > Fixes: > > 27766/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-5198300814508032 > > > > Found-by: continuous fuzzing process > > https://github.com/google/oss-fuzz/tree/m

[FFmpeg-devel] [PATCH 5/5] h264dec: add V4L2 request API hwaccel

2020-12-09 Thread Jonas Karlman
From: Jernej Skrabec Signed-off-by: Jernej Skrabec Signed-off-by: Jonas Karlman --- Changelog | 1 + configure | 3 + libavcodec/Makefile| 1 + libavcodec/h264_slice.c| 4 + libavcodec/h264dec.c | 3 + libavcodec

[FFmpeg-devel] [PATCH 4/5] h264dec: add ref_pic_marking and pic_order_cnt bit_size to slice context

2020-12-09 Thread Jonas Karlman
From: Boris Brezillon Signed-off-by: Boris Brezillon Signed-off-by: Jonas Karlman --- libavcodec/h264_slice.c | 6 +- libavcodec/h264dec.h| 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 8a3ce1a688..5ad1c347ed

[FFmpeg-devel] [PATCH 3/5] h264dec: add idr_pic_id to slice context

2020-12-09 Thread Jonas Karlman
From: Ezequiel Garcia Signed-off-by: Ezequiel Garcia Signed-off-by: Jonas Karlman --- libavcodec/h264_slice.c | 2 +- libavcodec/h264dec.h| 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index fa7a639053..8a3ce1a688 1006

[FFmpeg-devel] [PATCH 2/5] avcodec: add common V4L2 request API code

2020-12-09 Thread Jonas Karlman
Signed-off-by: Jonas Karlman --- configure | 12 + libavcodec/Makefile | 1 + libavcodec/hwconfig.h | 2 + libavcodec/v4l2_request.c | 987 ++ libavcodec/v4l2_request.h | 77 +++ 5 files changed, 1079 insertions(+) create mode 1

[FFmpeg-devel] [PATCH 0/5] Add V4L2 request API H.264 hwaccel

2020-12-09 Thread Jonas Karlman
Hello, This is a follow up to an old RFC [1], adding a new hwaccel using the V4L2 request API for stateless decoding of H.264. The V4L2 ctrls needed for stateless decoding of H.264 is targeted for being de-staged and moved to public linux uapi with linux v5.11. De-stage of MPEG-2 and VP8 statele

[FFmpeg-devel] [PATCH 1/5] avutil/buffer: add av_buffer_pool_flush()

2020-12-09 Thread Jonas Karlman
Signed-off-by: Jonas Karlman --- doc/APIchanges | 3 +++ libavutil/buffer.c | 13 + libavutil/buffer.h | 5 + libavutil/version.h | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 3fb9e12525..4a739ce453 100644 --

Re: [FFmpeg-devel] [PATCH] avformat/rpl: Check the number of streams

2020-12-09 Thread Michael Niedermayer
On Wed, Dec 09, 2020 at 06:28:40PM +0100, Paul B Mahol wrote: > LGTM will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Observe your enemies, for they first find out your faults. -- Antisthenes signature.asc Description: PGP signature

[FFmpeg-devel] [PATCH] avcodec/av1dec: support exporting Film Grain params as frame side data

2020-12-09 Thread James Almer
Signed-off-by: James Almer --- libavcodec/av1dec.c| 69 ++ libavcodec/dxva2_av1.c | 5 +-- libavcodec/nvdec_av1.c | 10 +++--- libavcodec/vaapi_av1.c | 8 +++-- 4 files changed, 83 insertions(+), 9 deletions(-) diff --git a/libavcodec/av1dec.c b/liba

[FFmpeg-devel] [PATCH] avfilter: add stereoupmix

2020-12-09 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 34 libavfilter/Makefile | 1 + libavfilter/af_stereoupmix.c | 352 +++ libavfilter/allfilters.c | 1 + 4 files changed, 388 insertions(+) create mode 100644 libavfilter/af_stereo

Re: [FFmpeg-devel] [PATCH] avformat/rpl: Check the number of streams

2020-12-09 Thread Paul B Mahol
LGTM On Wed, Dec 9, 2020 at 5:52 PM Michael Niedermayer wrote: > Fixes: out of memory access > Fixes: > 27787/clusterfuzz-testcase-minimized-ffmpeg_dem_RPL_fuzzer-4743666463408128.fuzz > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sig

[FFmpeg-devel] [PATCH] avformat/rpl: Check the number of streams

2020-12-09 Thread Michael Niedermayer
Fixes: out of memory access Fixes: 27787/clusterfuzz-testcase-minimized-ffmpeg_dem_RPL_fuzzer-4743666463408128.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/rpl.c | 3 +++ 1 file chang

Re: [FFmpeg-devel] 回复: [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Gyan Doshi
On 09-12-2020 07:33 pm, Sun Zhenliang wrote: 1) 3GPP TS 26.244 V16.1.0 (2020-09) and ISO/IEC 14496-15: "Information technology – Coding of audio-visual objects – Part 15: Carriage of NAL unit structured video in the ISO base media file format" states HEVC's sample entry in 3GPP file format

Re: [FFmpeg-devel] [PATCH] avcodec/vaapi_av1: fill the remaining VAFilmGrainStructAV1 fields

2020-12-09 Thread James Almer
On 12/3/2020 1:46 PM, James Almer wrote: On 11/30/2020 7:42 PM, James Almer wrote: Signed-off-by: James Almer ---   libavcodec/vaapi_av1.c | 60 +++---   1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/libavcodec/vaapi_av1.c b/libavcodec/vaapi_a

Re: [FFmpeg-devel] [PATCH 1/4 v2] avcodec/cbs: add an AVClass to CodedBitstreamType for option handling

2020-12-09 Thread James Almer
On 12/1/2020 11:58 AM, James Almer wrote: On 11/15/2020 6:55 PM, James Almer wrote: So unit parsing may be configured with caller set options. Signed-off-by: James Almer ---   libavcodec/cbs.c  | 9 +   libavcodec/cbs_internal.h | 6 ++   2 files changed, 15 insertions(+) di

[FFmpeg-devel] 回复: 回复: [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Sun Zhenliang
I agree that it'd be fine to add those two tags of hevc there. Thanks for your review. Regards, SunZhenliang 发件人: ffmpeg-devel 代表 Jan Ekström 发送时间: 2020年12月9日 23:02 收件人: FFmpeg development discussions and patches 主题: Re: [FFmpeg-devel] 回复: [PATCH] libavformat

Re: [FFmpeg-devel] 回复: [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Jan Ekström
On Wed, Dec 9, 2020 at 4:34 PM Sun Zhenliang wrote: > > 1) 3GPP TS 26.244 V16.1.0 (2020-09) and ISO/IEC 14496-15: "Information > technology – Coding of audio-visual objects – Part 15: Carriage of NAL unit > structured video in the ISO base media file format" states HEVC's sample > entry in 3

[FFmpeg-devel] 回复: [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Sun Zhenliang
1) 3GPP TS 26.244 V16.1.0 (2020-09) and ISO/IEC 14496-15: "Information technology – Coding of audio-visual objects – Part 15: Carriage of NAL unit structured video in the ISO base media file format" states HEVC's sample entry in 3GPP file format. I think these documentations says we can store

Re: [FFmpeg-devel] [PATCH] Moves yuv2yuvX_sse3 to yasm, unrolls main loop and other small optimizations for ~20% speedup.

2020-12-09 Thread Alan Kelly
This function is tested by fate-filter-fps-r. I have also added a checkasm test and bench. I have done a lot more testing and benching of this code and I am now happy to activate the avx2 version because the performance is so good. On my machine I get the following results for filter size 4 and 0

Re: [FFmpeg-devel] [PATCH] avcodec/bitstream: Rewrite code to avoid triggering compiler warning

2020-12-09 Thread Paul B Mahol
probably fine On Wed, Dec 9, 2020 at 12:17 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Clang infers from the existence of a default case that said case can be > taken. In case of libavcodec/bitstream.c said default case consisted of > an av_assert1 that evaluates to nothing in

Re: [FFmpeg-devel] [PATCH] avcodec/bitstream: use av_assert0 in GET_DATA

2020-12-09 Thread Paul B Mahol
LGTM On Tue, Dec 8, 2020 at 11:41 PM Marvin Scholz wrote: > For builds with asserts disabled, if the default case would ever be > reached it could lead to uninitialized use of variables as v is never > assigned to anything. > > This caused the following clang warning: > > libavcodec/bitstream.

[FFmpeg-devel] [PATCH] Moves yuv2yuvX_sse3 to yasm, unrolls main loop and other small optimizations for ~20% speedup.

2020-12-09 Thread Alan Kelly
--- Activates avx2 version of yuv2yuvX Adds checkasm for yuv2yuvX Modifies ff_yuv2yuvX_* signature to match yuv2yuvX_* Replaces non-temporal stores with temporal stores libswscale/x86/Makefile | 1 + libswscale/x86/swscale.c| 106 +--- libswscale/x86/yuv2y

Re: [FFmpeg-devel] [PATCH] libavformat/movenc: add support for HEVC in .3gp

2020-12-09 Thread Gyan Doshi
On 09-12-2020 11:06 am, hisunzhenli...@outlook.com wrote: From: SunZhenliang Just add HEVC's tag in 3gp tag list and it works to support HEVC in 3gp files. 1) Is there official documentation for this support? 2) Any constraints on codec parameters? Regards, Gyan ___

[FFmpeg-devel] [PATCH 3/3] lavfi/dnn: check the return value from sws_getContext

2020-12-09 Thread Jun Zhao
From: Jun Zhao sws_getContext may be return NULL, and it's will be dereferenced, so add the check. Signed-off-by: Jun Zhao --- libavfilter/dnn/dnn_io_proc.c | 28 1 file changed, 28 insertions(+) diff --git a/libavfilter/dnn/dnn_io_proc.c b/libavfilter/dnn/dnn_io_

[FFmpeg-devel] [PATCH 2/3] lavfi/dnn: used the format name in debug message

2020-12-09 Thread Jun Zhao
From: Jun Zhao Used the format name in debug message. Signed-off-by: Jun Zhao --- libavfilter/dnn/dnn_io_proc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn/dnn_io_proc.c b/libavfilter/dnn/dnn_io_proc.c index 8ce1959..db13d7f 100644 --- a/libavfilte

[FFmpeg-devel] [PATCH 1/3] tests/audiomatch: add free to make static analysis tools happy

2020-12-09 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- tests/audiomatch.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/audiomatch.c b/tests/audiomatch.c index bb9deca..56a60bd 100644 --- a/tests/audiomatch.c +++ b/tests/audiomatch.c @@ -82,9 +82,9 @@ int main(int ar