[FFmpeg-devel] [PATCH V5 1/2] lavfi/colorlevels: Add slice threading support

2019-05-31 Thread Jun Zhao
From: Jun Zhao Add slice threading support, use the command like: ./ffmpeg -i input -vf colorlevels -f null /dev/null with 1080p h264 clip, the fps from 39 fps to 79 fps in the local(Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz) Signed-off-by: Jun Zhao --- libavfilter/vf_colorlevels.c | 110

[FFmpeg-devel] [PATCH V5 2/2] lavfi/lut: Add slice threading support

2019-05-31 Thread Jun Zhao
From: Jun Zhao Used the command for 1080p h264 clip as follow: a). ffmpeg -i input -vf lutyuv="u=128:v=128" -f null /dev/null b). ffmpeg -i input -vf lutrgb="g=0:b=0" -f null /dev/null after enabled the slice threading, the fps change from: a). 144fps to 258fps (lutyuv) b). 94fps to 153fps

[FFmpeg-devel] [PATCH V5 0/2] Add slice threading support

2019-05-31 Thread Jun Zhao
V5: - Using Macros for redundant code, don't use the is_16bit check in the thread exec callback to avoid potential performance issues, Thanks Ruiling Song, ZhongLi and Paul B Mahol review/comments/suggestion. Jun Zhao (2): lavfi/colorlevels: Add slice threading support

[FFmpeg-devel] [PATCH V1 2/3] lavf/sr: Don't need to check NULL before sws_freeContext

2019-05-31 Thread Jun Zhao
From: Jun Zhao sws_freeContext have check the NULL pointer, so don't need to check NULL before sws_freeContext. Signed-off-by: Jun Zhao --- libavfilter/vf_sr.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c index

[FFmpeg-devel] [PATCH V1 3/3] lavf/sr: Refine the coding style for init

2019-05-31 Thread Jun Zhao
From: Jun Zhao We perfer the coding style like: /* some stuff */ if (error) { /* error handling */ return -(errorcode); } /* normal actions */ do_something() Signed-off-by: Jun Zhao --- libavfilter/vf_sr.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff

[FFmpeg-devel] [PATCH V1 0/3] Refine SR filter

2019-05-31 Thread Jun Zhao
V1: - Dump input pixel format in error message - Remove NULL check before call sws_freeContext - Refine the error handling coding logic for init Jun Zhao (3): lavf/sr: Dump input pixel format in error message lavf/sr: Don't need to check NULL before sws_freeContext lavf/sr: Refine

[FFmpeg-devel] [PATCH V1 1/3] lavf/sr: Dump input pixel format in error message

2019-05-31 Thread Jun Zhao
From: Jun Zhao Dump input pixel format in error message, it's will help to debugging Signed-off-by: Jun Zhao --- libavfilter/vf_sr.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c index 86dc551..a371e44 100644 ---

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Gyan
On 01-06-2019 02:06 AM, Carl Eugen Hoyos wrote: Am Fr., 31. Mai 2019 um 16:40 Uhr schrieb Lynne : Number of threads should not have any impact at all on quality ever. Afair, it has for x264... (not necessarily related to this patch though) Definitely x265:

Re: [FFmpeg-devel] [PATCH v6 1/2] lavf/vf_transpose: add exif orientation support

2019-05-31 Thread Jun Li
On Thu, May 30, 2019 at 5:29 PM Jun Li wrote: > Add exif orientation support and expose an option. > --- > libavfilter/hflip.h| 2 + > libavfilter/transpose.h| 14 > libavfilter/vf_hflip.c | 40 ++--- > libavfilter/vf_transpose.c | 161

Re: [FFmpeg-devel] [PATCH v3] libavfilter: Add derain filter

2019-05-31 Thread Steven Liu
> 在 2019年5月30日,20:35,Xuewei Meng 写道: > > Remove the rain in the input image/video by applying the derain > methods based on convolutional neural networks. Training scripts > as well as scripts for model generation are provided in the > repository at

Re: [FFmpeg-devel] [PATCH] lavu/frame: fix typo for ROI (region of interest) documentation

2019-05-31 Thread Steven Liu
> 在 2019年5月31日,16:02,Guo, Yejun 写道: > > there is already a nice patch set to fix the ROI documentation, but it > is pending, see > https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-May/20.html > > so just fix this obvious typo that the document does not match the code. > >

[FFmpeg-devel] [PATCH v3] avformat/hcom: Remove unused variables

2019-05-31 Thread Andreas Rheinhardt
The variables huffcount, rsrc_size and data_size were all set but not used. Therefore they have been removed. This entailed a chance to compactify calls to avio_skip; it has been used while retaining the information about the offsets of the huffcount etc. fields as comments. This fixes

Re: [FFmpeg-devel] [PATCH] avfilter/vf_gblur: add x86 SIMD optimizations

2019-05-31 Thread Carl Eugen Hoyos
Am Do., 30. Mai 2019 um 05:46 Uhr schrieb Ruiling Song : > > For details of the implementation, please refer to the comment > inlined in the assembly code. This sentence sounds unneeded to me. > It improves the horizontal pass > performance about 100% under single thread. I am not a native

Re: [FFmpeg-devel] [PATCH] avcodec: Add librav1e encoder

2019-05-31 Thread Carl Eugen Hoyos
Am Di., 28. Mai 2019 um 19:29 Uhr schrieb Derek Buitenhuis : > * The C bindings for rav1e currently live in the crav1e repo. This will > be merged into rav1e's repo Soon(TM), when stuff stabalizes. So is your patch meant to wait until this merge is done? I would suggest so... Carl

Re: [FFmpeg-devel] [PATCH] avformat/hcom: Remove unused variables

2019-05-31 Thread Carl Eugen Hoyos
Am Fr., 31. Mai 2019 um 23:43 Uhr schrieb Andreas Rheinhardt : > > The variables huffcount, rsrc_size and data_size were all set but not > used. Therefore they have been removed. The entailed a chance to > compactify calls to avio_skip; it has been used. > This fixes -Wunused-but-set-variable

[FFmpeg-devel] [PATCH] avformat/hcom: Remove unused variables

2019-05-31 Thread Andreas Rheinhardt
The variables huffcount, rsrc_size and data_size were all set but not used. Therefore they have been removed. The entailed a chance to compactify calls to avio_skip; it has been used. This fixes -Wunused-but-set-variable warnings in GCC. Signed-off-by: Andreas Rheinhardt --- My earlier patch [1]

[FFmpeg-devel] [PATCH] doc/filters: move reference to framesync options from lut3d to haldclut

2019-05-31 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/filters.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 4fdcfe919e..e2cbc373d2 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -10844,6 +10844,8 @@ Default is @code{1}.

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/tiff: Recognize DNG/CinemaDNG images

2019-05-31 Thread Carl Eugen Hoyos
Am Do., 30. Mai 2019 um 19:38 Uhr schrieb Nick Renieris : > diff --git a/libavcodec/tiff.h b/libavcodec/tiff.h > index 4b08650108..81913c6b1a 100644 > --- a/libavcodec/tiff.h > +++ b/libavcodec/tiff.h > @@ -20,7 +20,7 @@ > > /** > * @file > - * TIFF tables > + * TIFF constants & data

Re: [FFmpeg-devel] [PATCH 1/3] lavf/qsv_vpp: add frame format option

2019-05-31 Thread Carl Eugen Hoyos
Am Fr., 31. Mai 2019 um 10:01 Uhr schrieb Zhong Li : > @@ -104,6 +109,8 @@ static const AVOption options[] = { > { "width", "Output video width", OFFSET(ow), AV_OPT_TYPE_STRING, { > .str="cw" }, 0, 255, .flags = FLAGS }, > { "h", "Output video height", OFFSET(oh),

Re: [FFmpeg-devel] [PATCH 3/3] lavf/qsv: use av_cold for init/uninit

2019-05-31 Thread Carl Eugen Hoyos
Am Fr., 31. Mai 2019 um 10:01 Uhr schrieb Zhong Li : > > Signed-off-by: Zhong Li > --- > libavfilter/vf_deinterlace_qsv.c | 2 +- > libavfilter/vf_overlay_qsv.c | 2 +- > libavfilter/vf_scale_qsv.c | 4 ++-- > 3 files changed, 4 insertions(+), 4 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Pavel Koshevoy wrote: > On Fri, May 31, 2019 at 2:17 PM Paul B Mahol wrote: >> >> On 5/31/19, Pavel Koshevoy wrote: >> > On Fri, May 31, 2019 at 2:03 PM Paul B Mahol wrote: >> >> >> >> On 5/31/19, Pavel Koshevoy wrote: >> >> > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy >> >>

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Carl Eugen Hoyos
Am Fr., 31. Mai 2019 um 16:40 Uhr schrieb Lynne : > Number of threads should not have any impact at all on quality ever. Afair, it has for x264... (not necessarily related to this patch though) Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/qtrle: return last frame even if unchanged

2019-05-31 Thread Marton Balint
On Thu, 30 May 2019, Michael Niedermayer wrote: Fixes: Ticket7880 Signed-off-by: Michael Niedermayer --- libavcodec/qtrle.c| 42 +++ tests/ref/fate/qtrle-8bit | 1 + 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/libavcodec/qtrle.c

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Pavel Koshevoy
On Fri, May 31, 2019 at 2:17 PM Paul B Mahol wrote: > > On 5/31/19, Pavel Koshevoy wrote: > > On Fri, May 31, 2019 at 2:03 PM Paul B Mahol wrote: > >> > >> On 5/31/19, Pavel Koshevoy wrote: > >> > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy > >> > wrote: > >> >> I've had to use zscale

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Pavel Koshevoy wrote: > On Fri, May 31, 2019 at 2:03 PM Paul B Mahol wrote: >> >> On 5/31/19, Pavel Koshevoy wrote: >> > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy >> > wrote: >> >> >> >> >> >> >> >> >> >> On Fri, May 31, 2019 at 4:46 AM Paul B Mahol wrote: >> >> > >> >> >

Re: [FFmpeg-devel] [PATCH] tools: Add fuzzer for demuxers

2019-05-31 Thread Michael Niedermayer
On Mon, May 27, 2019 at 11:53:14PM +0200, Michael Niedermayer wrote: > This is based on target_dec_fuzzer > > Signed-off-by: Michael Niedermayer > --- > Makefile | 3 + > tools/Makefile| 3 + > tools/target_dem_fuzzer.c | 163

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Michael Niedermayer
On Fri, May 31, 2019 at 06:47:47PM +0200, Paul B Mahol wrote: > On 5/31/19, Michael Niedermayer wrote: > > On Fri, May 31, 2019 at 02:12:10PM +0200, Paul B Mahol wrote: > >> On 5/31/19, Michael Niedermayer wrote: > >> > On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: > >> >> On

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Pavel Koshevoy
On Fri, May 31, 2019 at 2:03 PM Paul B Mahol wrote: > > On 5/31/19, Pavel Koshevoy wrote: > > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy wrote: > >> > >> > >> > >> > >> On Fri, May 31, 2019 at 4:46 AM Paul B Mahol wrote: > >> > > >> > Signed-off-by: Paul B Mahol > >> > --- > >> >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Pavel Koshevoy wrote: > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy wrote: >> >> >> >> >> On Fri, May 31, 2019 at 4:46 AM Paul B Mahol wrote: >> > >> > Signed-off-by: Paul B Mahol >> > --- >> > libavfilter/vf_zscale.c | 335 +--- >> > 1 file

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Pavel Koshevoy
On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy wrote: > > > > > On Fri, May 31, 2019 at 4:46 AM Paul B Mahol wrote: > > > > Signed-off-by: Paul B Mahol > > --- > > libavfilter/vf_zscale.c | 335 +--- > > 1 file changed, 214 insertions(+), 121 deletions(-) >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Pavel Koshevoy
On Fri, May 31, 2019 at 4:46 AM Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_zscale.c | 335 +--- > 1 file changed, 214 insertions(+), 121 deletions(-) > > diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c > index

Re: [FFmpeg-devel] [PATCH v1 1/1] vaapi_encode: replace av_new_packet with ff_alloc_packet2

2019-05-31 Thread James Almer
On 5/31/2019 5:26 AM, Jing Sun wrote: > ff_alloc_packet2 should be used if encode2 API vaapi_encode seems to be using send/receive API, though, and not encode2. I see ff_vaapi_encode_receive_packet() -> vaapi_encode_output(), and the former is the callback function used in all vaapi encoders as

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Paul B Mahol
On 5/31/19, Michael Niedermayer wrote: > On Fri, May 31, 2019 at 02:12:10PM +0200, Paul B Mahol wrote: >> On 5/31/19, Michael Niedermayer wrote: >> > On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: >> >> On 5/29/19, Michael Niedermayer wrote: >> >> > Improves: Timeout (355sec ->

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Michael Niedermayer
On Fri, May 31, 2019 at 02:12:10PM +0200, Paul B Mahol wrote: > On 5/31/19, Michael Niedermayer wrote: > > On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: > >> On 5/29/19, Michael Niedermayer wrote: > >> > Improves: Timeout (355sec -> 97sec) > >> > Improves: > >> >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Hendrik Leppkes wrote: > On Fri, May 31, 2019 at 5:32 PM Paul B Mahol wrote: >> >> On 5/31/19, Lynne wrote: >> > >> > >> > >> > May 31, 2019, 2:33 PM by one...@gmail.com: >> > >> >> On 5/31/19, Lynne wrote: >> >> >> >>> >> >>> >> >>> >> >>> May 31, 2019, 2:16 PM by

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Hendrik Leppkes
On Fri, May 31, 2019 at 5:32 PM Paul B Mahol wrote: > > On 5/31/19, Lynne wrote: > > > > > > > > May 31, 2019, 2:33 PM by one...@gmail.com: > > > >> On 5/31/19, Lynne wrote: > >> > >>> > >>> > >>> > >>> May 31, 2019, 2:16 PM by one...@gmail.com: > >>> > On 5/31/19, Lynne wrote: > >

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_zscale: update input/output chroma location too

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 275951e1a3..094f225d24 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -746,10 +746,12 @@ static int

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 337 +--- 1 file changed, 216 insertions(+), 121 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index f0309272fa..275951e1a3 100644 --- a/libavfilter/vf_zscale.c +++

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Lynne wrote: > > > > May 31, 2019, 2:33 PM by one...@gmail.com: > >> On 5/31/19, Lynne wrote: >> >>> >>> >>> >>> May 31, 2019, 2:16 PM by one...@gmail.com: >>> On 5/31/19, Lynne wrote: > May 31, 2019, 11:45 AM by one...@gmail.com : > >>

[FFmpeg-devel] [PATCH] libavcodec/vaapi_encode_mpeg2: enable constant QP setting

2019-05-31 Thread Phillip Burr
--- libavcodec/vaapi_encode_mpeg2.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c index fb1ef71fdc..bd754001d5 100644 --- a/libavcodec/vaapi_encode_mpeg2.c +++ b/libavcodec/vaapi_encode_mpeg2.c @@ -31,6 +31,7 @@ typedef

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Lynne
May 31, 2019, 2:33 PM by one...@gmail.com: > On 5/31/19, Lynne wrote: > >> >> >> >> May 31, 2019, 2:16 PM by one...@gmail.com: >> >>> On 5/31/19, Lynne wrote: >>> May 31, 2019, 11:45 AM by one...@gmail.com : > Signed-off-by: Paul B Mahol <>

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Lynne wrote: > > > > May 31, 2019, 2:16 PM by one...@gmail.com: > >> On 5/31/19, Lynne wrote: >> >>> May 31, 2019, 11:45 AM by one...@gmail.com : >>> Signed-off-by: Paul B Mahol <> one...@gmail.com > > ---

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Lynne
May 31, 2019, 2:16 PM by one...@gmail.com: > On 5/31/19, Lynne wrote: > >> May 31, 2019, 11:45 AM by one...@gmail.com : >> >>> Signed-off-by: Paul B Mahol <> one...@gmail.com > >>> > >>> --- >>> libavfilter/vf_zscale.c | 335

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Lynne wrote: > May 31, 2019, 11:45 AM by one...@gmail.com : > >> Signed-off-by: Paul B Mahol <> one...@gmail.com > >> > >> --- >> libavfilter/vf_zscale.c | 335 +--- >> 1 file changed, 214

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Lynne
May 31, 2019, 11:45 AM by one...@gmail.com : > Signed-off-by: Paul B Mahol <> one...@gmail.com > > > --- > libavfilter/vf_zscale.c | 335 +--- > 1 file changed, 214 insertions(+), 121 deletions(-) > This will

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Paul B Mahol
On 5/31/19, Michael Niedermayer wrote: > On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: >> On 5/29/19, Michael Niedermayer wrote: >> > Improves: Timeout (355sec -> 97sec) >> > Improves: >> > 14709/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5704215281795072 >> >

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Michael Niedermayer
On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: > On 5/29/19, Michael Niedermayer wrote: > > Improves: Timeout (355sec -> 97sec) > > Improves: > > 14709/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5704215281795072 > > > > Found-by: continuous fuzzing process > >

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 335 +--- 1 file changed, 214 insertions(+), 121 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index f0309272fa..c53bb08ccc 100644 --- a/libavfilter/vf_zscale.c +++

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_zscale: update input/output chroma location too

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index c53bb08ccc..de33579185 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -744,10 +744,12 @@ static int

Re: [FFmpeg-devel] [PATCH, v2 1/2] lavf/qsvvpp: allocate continuous memory

2019-05-31 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Linjie Fu > Sent: Thursday, May 30, 2019 1:01 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [FFmpeg-devel] [PATCH, v2 1/2] lavf/qsvvpp: allocate continuous > memory > > Mediasdk calls CMRT to copy from

Re: [FFmpeg-devel] [PATCH v5] avformat/ifv: added support for ifv cctv files

2019-05-31 Thread Swaraj Hota
On Thu, May 30, 2019 at 08:33:35PM +0200, Reimar Döffinger wrote: > > > On 29.05.2019, at 19:51, Swaraj Hota wrote: > >> > >> Entirely depends on the purpose. > >> If the aim is to have a working demuxer, I think it is acceptable from > >> what I looked at. > >> I guess the only concern might

[FFmpeg-devel] [PATCH] lavu/frame: fix typo for ROI (region of interest) documentation

2019-05-31 Thread Guo, Yejun
there is already a nice patch set to fix the ROI documentation, but it is pending, see https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-May/20.html so just fix this obvious typo that the document does not match the code. Signed-off-by: Guo, Yejun --- libavutil/frame.h | 2 +- 1 file

[FFmpeg-devel] [PATCH 3/3] lavf/qsv: use av_cold for init/uninit

2019-05-31 Thread Zhong Li
Signed-off-by: Zhong Li --- libavfilter/vf_deinterlace_qsv.c | 2 +- libavfilter/vf_overlay_qsv.c | 2 +- libavfilter/vf_scale_qsv.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_deinterlace_qsv.c b/libavfilter/vf_deinterlace_qsv.c index

[FFmpeg-devel] [PATCH 2/3] lavf/qsvvpp: add P010 output format support

2019-05-31 Thread Zhong Li
Signed-off-by: Zhong Li --- libavfilter/qsvvpp.c | 1 + libavfilter/vf_vpp_qsv.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c index 5cd1d5d345..fc24426b75 100644 --- a/libavfilter/qsvvpp.c +++ b/libavfilter/qsvvpp.c @@ -153,6 +153,7 @@

[FFmpeg-devel] [PATCH 1/3] lavf/qsv_vpp: add frame format option

2019-05-31 Thread Zhong Li
1. Currently output format is hard-coded as NV12, thus means CSC is always done for not NV12 input such as P010. Follow original input format as default output. 2. Add an option to specify output format. Signed-off-by: Zhong Li --- libavfilter/vf_vpp_qsv.c | 37

[FFmpeg-devel] [PATCH v1 1/1] vaapi_encode: replace av_new_packet with ff_alloc_packet2

2019-05-31 Thread Jing Sun
ff_alloc_packet2 should be used if encode2 API Signed-off-by: Jing Sun --- libavcodec/vaapi_encode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 2dda451..98e3176 100644 --- a/libavcodec/vaapi_encode.c +++

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

2019-05-31 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Li, Zhong > Sent: Sunday, April 28, 2019 6:24 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v2 4/9] vp9_parser: Return stream > properties > > > From: ffmpeg-devel