Re: [FFmpeg-devel] [PATCH 14/14] videotoolbox: remove opengl compatibility attribute

2017-12-16 Thread Xiaolei Yu
On 12/16/2017 04:19 PM, Wang Bin wrote: > 2017-12-16 15:33 GMT+08:00 Xiaolei Yu : >> On 12/16/2017 02:07 PM, Wang Bin wrote: >>> 2017-12-16 2:52 GMT+08:00 wm4 : On Fri, 15 Dec 2017 15:02:44 +0800 wbse...@gmail.com wrote: > From: wang-bin > > 1. a cvpixelbuffer backed by

Re: [FFmpeg-devel] [PATCH 07/25] avfilter: negotiate color_range between filters

2017-12-16 Thread Michael Niedermayer
On Sat, Dec 16, 2017 at 11:12:27AM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > fftools/ffmpeg.c| 2 ++ > fftools/ffmpeg.h| 1 + > fftools/ffmpeg_filter.c | 57 +++--- > fftools/ffmpeg_opt.c| 2 ++ > libavcodec

Re: [FFmpeg-devel] [PATCH 13/25] avcodec/mjpegenc: add support for non-YUVJ formats

2017-12-16 Thread Michael Niedermayer
On Sat, Dec 16, 2017 at 11:12:33AM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/mjpegenc.c| 5 - > tests/lavf-regression.sh | 2 +- > 2 files changed, 5 insertions(+), 2 deletions(-) this breaks jpg encoding, (looks like colorspace convert/negotiate failing

[FFmpeg-devel] [PATCH v2 2/2] avformat/dashenc: Persistent HTTP connections supported as an option

2017-12-16 Thread Karthick J
From: Karthick Jeyapal --- doc/muxers.texi | 2 ++ libavformat/dashenc.c | 67 +-- 2 files changed, 56 insertions(+), 13 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 3d0c7bf..d6415db 100644 --- a/doc/muxers.texi +++ b/d

[FFmpeg-devel] [PATCH v2 1/2] avformat/hlsenc, utils: Moved is_http_proto from hlsenc to utils for re-use

2017-12-16 Thread Karthick J
From: Karthick Jeyapal --- libavformat/hlsenc.c | 12 +++- libavformat/internal.h | 8 libavformat/utils.c| 5 + 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index e3442c3..03d54c7 100644 --- a/libavforma

Re: [FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Persistent HTTP connections supported as an option

2017-12-16 Thread Karthick Jeyapal
On 12/15/17 9:36 PM, Karthick J wrote: From: Karthick Jeyapal --- libavformat/dashenc.c | 67 +-- 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 5687530..e7d1a0d 100644 ---

[FFmpeg-devel] avfilter/vf_limiter : add checkasm and AVX2 version

2017-12-16 Thread Martin Vignali
Hello, in attach patch to add a checkasm test for vf_limiter SIMD (8 and 16) the checkasm patch need to be apply after patch in discussion : "avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version" 007 : add ff_limiter_init func to init the dsp func 008 : checkasm patch can be te

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-16 Thread Michael Niedermayer
On Fri, Dec 15, 2017 at 02:24:17PM -0800, Jacob Trimble wrote: > >> + > >> +/** The ID of the key used to encrypt the packet. */ > >> +uint8_t key_id[16]; > >> + > >> +/** The initialization vector. */ > >> +uint8_t iv[16]; > > > > what happens if the key or iv is longer ? > > Both

Re: [FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-16 Thread Paul B Mahol
On 12/16/17, Martin Vignali wrote: > 2017-12-16 14:48 GMT+01:00 Carl Eugen Hoyos : > >> 2017-12-16 14:17 GMT+01:00 Martin Vignali : >> >> > 002 : Checkasm test for lowpass_line >> >> The change to checkasm.mak contains unexpected tabs iiuc. >> > > New patch in attach > > >> I can confirm that avx

[FFmpeg-devel] avfilter/vf_interlace and vf_tinterlace : remove avx version

2017-12-16 Thread Martin Vignali
Hello, Following discussion "avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version" the AVX version seems to be slower than SSE Patch in attach remove it, for vf_interlace and vf_tinterlace (both use the same SIMD) Martin 0004-avfilter-vf_interlace-and-vf_tinterlace.patch Desc

Re: [FFmpeg-devel] [PATCH 08/25] fftools/ffplay: support only limited color range

2017-12-16 Thread Paul B Mahol
On 12/16/17, Nicolas George wrote: > Marton Balint (2017-12-16): >> I am afraid this wont work, because ffplay supports full range RGB as >> well. >> Unless there is a way to specify allowed pixel format / color range >> combinations (which is the only way to mimic existing behaviour as far as >>

Re: [FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-16 Thread Martin Vignali
2017-12-16 14:48 GMT+01:00 Carl Eugen Hoyos : > 2017-12-16 14:17 GMT+01:00 Martin Vignali : > > > 002 : Checkasm test for lowpass_line > > The change to checkasm.mak contains unexpected tabs iiuc. > New patch in attach > I can confirm that avx is not faster than sse2 here. > > > Thanks for test

Re: [FFmpeg-devel] [PATCH 08/25] fftools/ffplay: support only limited color range

2017-12-16 Thread Nicolas George
Marton Balint (2017-12-16): > I am afraid this wont work, because ffplay supports full range RGB as well. > Unless there is a way to specify allowed pixel format / color range > combinations (which is the only way to mimic existing behaviour as far as I > see), you have to use hacks like configure

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/hevcdsp_template: Fix undefined shift in put_hevc_qpel_bi_w_hv()

2017-12-16 Thread Michael Niedermayer
On Fri, Dec 15, 2017 at 07:45:19PM +0100, Michael Niedermayer wrote: > Fixes: runtime error: left shift of negative value -3 > Fixes: 4524/clusterfuzz-testcase-minimized-6055590120914944 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Si

Re: [FFmpeg-devel] [PATCH 03/14] configure: fix probing armv6zk

2017-12-16 Thread Michael Niedermayer
On Fri, Dec 15, 2017 at 03:05:13PM +0800, wbse...@gmail.com wrote: > From: wang-bin > > clang reports 6kz: https://reviews.llvm.org/D14568 > --- > configure | 1 + > 1 file changed, 1 insertion(+) will apply thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc: enable hwaccel_flags option

2017-12-16 Thread Michael Niedermayer
On Mon, Oct 09, 2017 at 10:24:30PM +, Jun Zhao wrote: > ffmpeg | branch: master | Jun Zhao | Mon Oct 9 > 15:49:58 2017 +0800| [71e2ec017a1b51987d50b97d48b6a6114a58507d] | committer: > Mark Thompson > > lavc: enable hwaccel_flags option > > Enable per-stream hwaccel_flags. > > Signed-off-

[FFmpeg-devel] [PATCH] configure: Fix case of static libmp3lame

2017-12-16 Thread Stefan Pöschel
Fixes #6918. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index d5bbb5b..20ca792 100755 --- a/configure +++ b/configure @@ -5853,7 +5853,7 @@ enabled libkvazaar&& require_pkg_config libkvazaar "kvazaar >= 0.8.1" kv enabled libmfx

Re: [FFmpeg-devel] [PATCH][RFC] avcodec/dpxenc: add option to force color transfer characteristics

2017-12-16 Thread Carl Eugen Hoyos
2017-12-15 22:22 GMT+01:00 Tobias Rapp : > +{ "dpx_color_trc", "Transfer Characteristics", OFFSET(color_trc), > AV_OPT_TYPE_INT, { .i64 = DPX_TRC_UNDEFINED }, DPX_TRC_UNDEFINED, > DPX_TRC_NB-1, VE, "trc" }, This seems wrong to me, we have colour characteristics in general code. Carl Eugen

Re: [FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-16 Thread Matthieu Bouron
On Sat, Dec 16, 2017 at 07:20:53PM +0800, Wang Bin wrote: > 2017-12-16 17:12 GMT+08:00 Matthieu Bouron : > > On Sat, Dec 16, 2017 at 01:40:18PM +0800, Wang Bin wrote: > >> > > +width = s->crop_right + 1 - s->crop_left; > >> > > +else > >> > > +width = s->width; > >> > > > >> > >

Re: [FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-16 Thread Carl Eugen Hoyos
2017-12-16 14:17 GMT+01:00 Martin Vignali : > 002 : Checkasm test for lowpass_line The change to checkasm.mak contains unexpected tabs iiuc. I can confirm that avx is not faster than sse2 here. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffm

Re: [FFmpeg-devel] [PATCH 08/25] fftools/ffplay: support only limited color range

2017-12-16 Thread Paul B Mahol
On 12/16/17, Marton Balint wrote: > > > On Sat, 16 Dec 2017, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol >> --- >> fftools/ffplay.c | 6 +- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >> diff --git a/fftools/ffplay.c b/fftools/ffplay.c >> index 10a917194d..f023c81575 100644 >

[FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-16 Thread Martin Vignali
Hello, In attach patch to add a checkasm test, for lowpass_line (8 and 16) and AVX2 version for lowpass_line (8 and 16) 001 : Modify init part of vf_interlace (add ff_interlace_init and modify ff_interlace_init_x86) 002 : Checkasm test for lowpass_line can be test with ./tests/checkasm/checkasm

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-16 Thread wm4
On Sat, 16 Dec 2017 20:26:56 +0800 Wang Bin wrote: > 2017-12-16 19:47 GMT+08:00 wm4 : > > On Sat, 16 Dec 2017 13:48:05 +0800 > > Wang Bin wrote: > > > >> 2017-12-16 2:50 GMT+08:00 wm4 : > >> > On Fri, 15 Dec 2017 15:05:50 +0800 > >> > wbse...@gmail.com wrote: > >> > > >> >> From: wang-bin

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-16 Thread Wang Bin
2017-12-16 19:47 GMT+08:00 wm4 : > On Sat, 16 Dec 2017 13:48:05 +0800 > Wang Bin wrote: > >> 2017-12-16 2:50 GMT+08:00 wm4 : >> > On Fri, 15 Dec 2017 15:05:50 +0800 >> > wbse...@gmail.com wrote: >> > >> >> From: wang-bin >> >> >> >> mmal buffer->data is already in host memory. AFAIK decoders impl

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-16 Thread wm4
On Sat, 16 Dec 2017 13:48:05 +0800 Wang Bin wrote: > 2017-12-16 2:50 GMT+08:00 wm4 : > > On Fri, 15 Dec 2017 15:05:50 +0800 > > wbse...@gmail.com wrote: > > > >> From: wang-bin > >> > >> mmal buffer->data is already in host memory. AFAIK decoders implemented in > >> omx must > >> be configure

Re: [FFmpeg-devel] [PATCH 6/7] avfilter/vf_framerate: do not calculate scene change score multiple times for the same frame

2017-12-16 Thread Marton Balint
On Sun, 10 Dec 2017, Marton Balint wrote: This speeds up the filter, and also fixes scene change detection score which is reduced based on the difference of the current MAFD to the preivous MAFD. Obviously if we compare two frames twice, the difference will be 0... Paul, you missed this one

Re: [FFmpeg-devel] [PATCH 08/25] fftools/ffplay: support only limited color range

2017-12-16 Thread Marton Balint
On Sat, 16 Dec 2017, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- fftools/ffplay.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 10a917194d..f023c81575 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -1822,6 +1

Re: [FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-16 Thread Wang Bin
2017-12-16 17:12 GMT+08:00 Matthieu Bouron : > On Sat, Dec 16, 2017 at 01:40:18PM +0800, Wang Bin wrote: >> > > +width = s->crop_right + 1 - s->crop_left; >> > > +else >> > > +width = s->width; >> > > >> > > av_log(avctx, AV_LOG_INFO, >> > > "Output crop parameters

[FFmpeg-devel] [PATCH 05/25] avfilter/vf_scale: make use of color_range from filter links

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_scale.c | 8 1 file changed, 8 insertions(+) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 9f45032e85..802f841cc3 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -303,9 +303,15 @@ static int config_p

[FFmpeg-devel] [PATCH 10/25] avcodec/mpeg4videoenc: mark as limited color range only

2017-12-16 Thread Paul B Mahol
lavf-mkv changes only because of metadata. Signed-off-by: Paul B Mahol --- libavcodec/mpeg4videoenc.c | 1 + libavcodec/mpegvideo_enc.c | 4 tests/ref/lavf/mkv | 8 tests/ref/seek/lavf-mkv| 44 ++-- 4 files changed, 31 insertio

[FFmpeg-devel] [PATCH 07/25] avfilter: negotiate color_range between filters

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- fftools/ffmpeg.c| 2 ++ fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 57 +++--- fftools/ffmpeg_opt.c| 2 ++ libavcodec/utils.c | 11 +++ libavfilter/avfilter.c | 9 -- lib

[FFmpeg-devel] [PATCH 11/25] avcodec/mjpegdec: replace YUVJ pixel formats

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegdec.c| 18 +- libavcodec/tdsc.c| 2 +- tests/fate/vcodec.mak| 4 ++-- tests/ref/fate/api-mjpeg-codec-param | 4 ++-- tests/ref/fate/exif-image-embedded | 2 +- tests/ref/fate/

[FFmpeg-devel] [PATCH 04/25] avfilter/buffersink: export color_range from filtergraph output

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/buffersink.c | 1 + libavfilter/buffersink.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index 0f87b5439a..897396cac4 100644 --- a/libavfilter/buffersink.c +++ b/libavfilter/buffersink.c @@ -

[FFmpeg-devel] [PATCH 01/25] avcodec: add color_range to AVCodec struct

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/avcodec.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ce089b7c4a..a58ef3b83b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3390,6 +3390,7 @@ typedef struct AVCodec { uint8_

[FFmpeg-devel] [PATCH 02/25] avfilter/avfilter: add color_range to AVFilterLink struct

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avfilter.c | 2 ++ libavfilter/avfilter.h | 2 ++ libavfilter/video.c| 8 +++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index b98b32bacb..4a579bb49d 100644 --- a/libavfilter/a

[FFmpeg-devel] [PATCH 03/25] avfilter/buffersrc: recognize color_range as additonal parameter and set it to input link

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/buffersrc.c | 18 ++ libavfilter/buffersrc.h | 5 + 2 files changed, 23 insertions(+) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index cd56f8ca45..51a1a9fb49 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilte

[FFmpeg-devel] [PATCH 06/25] avcodec/pngdec: set full color range only for gray formats

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/pngdec.c| 8 ++-- tests/ref/fate/api-png-codec-param | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index f93f200bb1..dbf986de50 100644 --- a/libavcodec/pngdec.c +++

[FFmpeg-devel] [PATCH 08/25] fftools/ffplay: support only limited color range

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- fftools/ffplay.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 10a917194d..f023c81575 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -1822,6 +1822,7 @@ fail: static int configure_video_f

[FFmpeg-devel] [PATCH 09/25] avcodec/proresenc: prores supports limited color range only

2017-12-16 Thread Paul B Mahol
Add .color_range field to encoder's AVCodec struct. Signed-off-by: Paul B Mahol --- libavcodec/proresenc_anatoliy.c | 2 ++ libavcodec/proresenc_kostya.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c index 0516066163..cb

[FFmpeg-devel] [PATCH 12/25] avcodec/mjpegdec: remove YUVJ pixel format usage

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegdec.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 55676d8576..160bbfd34b 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -2415,12 +2415,9 @@ th

[FFmpeg-devel] [PATCH 13/25] avcodec/mjpegenc: add support for non-YUVJ formats

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegenc.c| 5 - tests/lavf-regression.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index d2fcb8e191..c31985efd3 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpege

[FFmpeg-devel] [PATCH 22/25] avfilter/vf_blackdetect: use color_range from inlink

2017-12-16 Thread Paul B Mahol
Remove YUVJ pixel format usage. Signed-off-by: Paul B Mahol --- libavfilter/vf_blackdetect.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c index 06ef9988d1..ff4b9eebb9 100644 --- a/libavfilter/vf_blackdet

[FFmpeg-devel] [PATCH 24/25] avformat/rtpenc_jpeg: remove usage of YUVJ formats

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/rtpenc_jpeg.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/rtpenc_jpeg.c b/libavformat/rtpenc_jpeg.c index 38eb2e68eb..e0e7afebfc 100644 --- a/libavformat/rtpenc_jpeg.c +++ b/libavformat/rtpenc_jpeg.c @@ -46

[FFmpeg-devel] [PATCH 23/25] avfilter/vf_setrange: change outlink color_range too

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_setparams.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c index 8427f98ba8..98a4aa2ad3 100644 --- a/libavfilter/vf_setparams.c +++ b/libavfilter/vf_setparams.c @@ -56,6 +56,16

[FFmpeg-devel] [PATCH 25/25] avfilter: remove YUVJ pixel format usage

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avf_showspectrum.c | 2 +- libavfilter/vaf_spectrumsynth.c| 4 +--- libavfilter/vf_atadenoise.c| 3 --- libavfilter/vf_avgblur.c | 4 +--- libavfilter/vf_bitplanenoise.c

[FFmpeg-devel] [PATCH 21/25] avcodec/hevcdec: remove usage of YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/hevcdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 433a7056ea..d1b54b1db5 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -363,7 +363,6 @@ static enum AVPixelFormat get_format(HE

[FFmpeg-devel] [PATCH 20/25] avcodec/roqvideoenc: do not use YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/roqvideoenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index ac05123dc6..18ceef1b2c 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -1132,7 +1132,8 @

[FFmpeg-devel] [PATCH 19/25] avcodec/hevc_ps: do not use YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Color range is already set. Signed-off-by: Paul B Mahol --- libavcodec/hevc_ps.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index a4f7ed60f7..19ec2d7ebf 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -578,8 +578,6 @@ static v

[FFmpeg-devel] [PATCH 18/25] avcodec/h264_slice: do not use YUVJ pixel formats

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/h264_slice.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index aad5484588..a75ab08c29 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@

[FFmpeg-devel] [PATCH 15/25] avcodec/fraps: replace YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/fraps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 7a7673f73f..b2025b5d3f 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -218,7 +218,7 @@ static int decode_frame(AVCodecC

[FFmpeg-devel] [PATCH 17/25] avcodec/mdec: replace YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index 330b761279..637158d231 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -227,7 +227,7 @@ static av_cold int decode_init(AVCode

[FFmpeg-devel] [PATCH 14/25] avcodec/svq3: replace YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/svq3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index a937b2f951..4c6d838a15 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1158,7 +1158,7 @@ static av_cold int svq3_decode_

[FFmpeg-devel] [PATCH 16/25] avcodec/roqvideodec: replace YUVJ pixel format

2017-12-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/roqvideodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c index 0ab7d399d6..c5b7bbe236 100644 --- a/libavcodec/roqvideodec.c +++ b/libavcodec/roqvideodec.c @@ -190,7 +190,7 @@ st

Re: [FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-16 Thread Matthieu Bouron
On Sat, Dec 16, 2017 at 01:40:18PM +0800, Wang Bin wrote: > > > +width = s->crop_right + 1 - s->crop_left; > > > +else > > > +width = s->width; > > > > > > av_log(avctx, AV_LOG_INFO, > > > "Output crop parameters top=%d bottom=%d left=%d right=%d, " > > > > On whic

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_aspect: change outlink sample aspect ratio instead of inlink

2017-12-16 Thread Paul B Mahol
On 12/16/17, Nicolas George wrote: > Paul B Mahol (2017-12-15): >> More than 4 days passed. >> >> I assume this one is OK? > > Wrong assumption. If you assume instead that I had very little time > during the last five days, you are right. > What's wrong then your highness? ___

Re: [FFmpeg-devel] [PATCH 14/14] videotoolbox: remove opengl compatibility attribute

2017-12-16 Thread Wang Bin
2017-12-16 15:33 GMT+08:00 Xiaolei Yu : > On 12/16/2017 02:07 PM, Wang Bin wrote: >> 2017-12-16 2:52 GMT+08:00 wm4 : >>> On Fri, 15 Dec 2017 15:02:44 +0800 >>> wbse...@gmail.com wrote: >>> From: wang-bin 1. a cvpixelbuffer backed by iosurface can always be converted to an open