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

2019-10-17 Thread lance . lmwang
From: Limin Wang Threading is to avoid a core cpu being occupied fully with other filters like scale, regarding performance, if your cpu frequency is very high, the gain is very small, but with more cores and fewer cpu MHz cpus, you will get more improvements. The following is my testing resul

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

2019-10-17 Thread lance . lmwang
From: Limin Wang Threading is to avoid a core cpu being occupied fully with other filters like scale, regarding performance, if your cpu frequency is very high, the gain is very small, but with more cores and fewer cpu MHz cpus, you will get more improvements. The following is my testing resul

[FFmpeg-devel] [PATCH v1 2/2] avcodec/hapdec: simplify the calculation of slice start and end

2019-10-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hapdec.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c index 8c845770cf..dd325bb51a 100644 --- a/libavcodec/hapdec.c +++ b/libavcodec/hapdec.c @@ -246,7

[FFmpeg-devel] [PATCH v1 1/2] avcodec/dds: simplify the calculation of slice start and end

2019-10-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dds.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/libavcodec/dds.c b/libavcodec/dds.c index 9154f692fa..7c0ad9ee72 100644 --- a/libavcodec/dds.c +++ b/libavcodec/dds.c @@ -434,7 +434,7 @@ stat

[FFmpeg-devel] [PATCH v4 3/3] FATE: add a test for freeezedetect

2019-10-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 + tests/ref/fate/filter-metadata-freezedetect | 251 2 files changed, 255 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-freezedetect diff --git a/tests/fate

[FFmpeg-devel] [PATCH v4 1/3] avfilter/vsrc_mptestsrc: add options to set the maximum number of frames

2019-10-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 3 +++ libavfilter/vsrc_mptestsrc.c | 29 + 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index db4313da37..2815372249 100644 --- a/d

[FFmpeg-devel] [PATCH v4 2/3] avfilter/vsrc_mptestsrc: simplify the code and change the type of frame

2019-10-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_mptestsrc.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c index 31c68939e4..2ea736b0b2 100644 --- a/libavfilter/vsrc_mp

[FFmpeg-devel] [PATCH v1 1/3] tests/fate/filter-video: add test for colorlevels

2019-10-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 +++ tests/ref/fate/filter-colorlevels| 55 tests/ref/fate/filter-colorlevels-16 | 55 3 files changed, 116 insertions(+) create mode 100644 te

[FFmpeg-devel] [PATCH v1 3/3] avfilter/colorlevels: add slice threading support with less code

2019-10-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_colorlevels.c | 176 +++ 1 file changed, 77 insertions(+), 99 deletions(-) diff --git a/libavfilter/vf_colorlevels.c b/libavfilter/vf_colorlevels.c index 5385a5e754..f8645a08bd 100644 --- a/libavfilte

[FFmpeg-devel] [PATCH v1 2/3] Revert "lavfi/colorlevels: Add slice threading support"

2019-10-23 Thread lance . lmwang
From: Limin Wang This reverts commit 360bee8ca49d94d5cc8b77106887d6d7250440fe An alternative approach will be used to make the code easy to maintain Signed-off-by: Limin Wang --- libavfilter/vf_colorlevels.c | 110 ++- 1 file changed, 19 insertions(+), 91 delet

[FFmpeg-devel] [PATCH v3 2/3] avformat/hlsenc: free the original malloc pointer to avoid error when system function used in the following patch

2019-10-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index af4b532..7aefa28 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -4

[FFmpeg-devel] [PATCH v3 1/3] avformat/hlsenc: fix the av_dirname path isn't include separator in the end of string

2019-10-23 Thread lance . lmwang
From: Limin Wang Reviewed-by: Liu Steven Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 7b1d54e..af4b532 100644 --- a/libavformat/hlsenc.c +++ b/libavform

[FFmpeg-devel] [PATCH v3 3/3] avutil/avstring: replace with system interface if dirname and basename functions are detected

2019-10-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- configure| 4 libavutil/avstring.c | 13 - 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 8413826..5296a4c 100755 --- a/configure +++ b/configure @@ -2188,6 +2188,8 @@ SYSTEM

[FFmpeg-devel] [PATCH v1] avformat/mpeg: fix CID 1455132: Memory - illegal accesses (UNINIT)

2019-10-23 Thread lance . lmwang
From: Limin Wang Before header_str is initialized, the code is possible to goto end and free the header_str and cause invalid access. Signed-off-by: Limin Wang --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c ind

[FFmpeg-devel] [PATCH v1] avcodec/v410dec: add the frame and slice threading support

2019-10-25 Thread lance . lmwang
From: Limin Wang 1, Test server configure: [root@localhost ~]# cat /proc/cpuinfo |grep "model name" model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz ... [root@localhost ~]# free -h totalusedfree

[FFmpeg-devel] [PATCH v1] avfilter/asrc_anoisesrc: change type to TYPE_INT64 for color is int64_t

2019-10-25 Thread lance . lmwang
From: Limin Wang Or it'll cause invalid color and s->filter is NULL. Please reproduce it with below command on big endian system: $ ./ffmpeg -f lavfi -i "anoisesrc=d=60:c=1:r=48000" -f s16le -c:a pcm_s16le -f null - Segmentation fault (core dumped) Signed-off-by: Limin Wang --- libavfilter/

[FFmpeg-devel] [PATCH v2] avfilter/asrc_anoisesrc: change color variable to int

2019-10-26 Thread lance . lmwang
From: Limin Wang Or it'll cause invalid color and s->filter is NULL. Please reproduce it with below command on big endian system: $ ./ffmpeg -f lavfi -i "anoisesrc=d=60:c=1:r=48000" -f s16le -c:a pcm_s16le -f null - Segmentation fault (core dumped) Signed-off-by: Limin Wang --- libavfilter/a

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_colorbalance: rewrite the code with macro-based function

2019-10-27 Thread lance . lmwang
From: Limin Wang rename the function to lut_planar_##bits and lut_packed_##bits to make it more clear Signed-off-by: Limin Wang --- libavfilter/vf_colorbalance.c | 253 +++--- 1 file changed, 89 insertions(+), 164 deletions(-) diff --git a/libavfilter/vf_c

[FFmpeg-devel] [PATCH v1 1/2] tests/fate/filter-video: add fate test for colorbalance

2019-10-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak| 12 tests/ref/fate/filter-colorbalance-gbrap | 8 tests/ref/fate/filter-colorbalance-gbrap16 | 8 tests/ref/fate/filter-colorbalance-rgb24 | 8 tests/ref/fa

[FFmpeg-devel] [PATCH v1 1/3] tests/fate/filter-video: add fate pixfmts test for lut3d

2019-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 +++ tests/ref/fate/filter-pixfmts-lut3d | 24 2 files changed, 27 insertions(+) create mode 100644 tests/ref/fate/filter-pixfmts-lut3d diff --git a/tests/fate/filter-video.mak b/t

[FFmpeg-devel] [PATCH v1 3/3] avfilter/vf_lut: simplify code

2019-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_lut.c | 60 1 file changed, 11 insertions(+), 49 deletions(-) diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 1fdc5e1812..3aed4ccc2c 100644 --- a/libavfilter/vf_lut.c +++ b

[FFmpeg-devel] [PATCH v1 2/3] avfilter/vf_lut3d: simplify code

2019-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_lut3d.c | 27 +++ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c index cd0aba1f69..ff030f0950 100644 --- a/libavfilter/vf_lut3d.c +++ b/libavfilt

[FFmpeg-devel] [PATCH v2 1/5] swscale/swscale_unscaled: fix gbrap10be md5 different on big endian system

2019-10-30 Thread lance . lmwang
From: Limin Wang You can reproduce it by below command: ./ffmpeg -f lavfi -i "testsrc=duration=1:rate=30" -vf format=gbrap10 -vcodec rawvideo \ -pix_fmt gbrap10le -flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact \ -frames:v 1 -f nut md5: little-endian: f91e2edd8098

[FFmpeg-devel] [PATCH v2 4/5] avfilter/vf_lut3d: simplify code

2019-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_lut3d.c | 54 +- 1 file changed, 6 insertions(+), 48 deletions(-) diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c index cd0aba1f69..9e820a17c9 100644 --- a/libavfilter/vf_lut3d.c

[FFmpeg-devel] [PATCH v2 2/5] tests/fate-run: add pixel format endian mode parameter for pixfmts function

2019-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate-run.sh | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index aec12c16a3..6ea0ab4f3c 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -385,6 +385,8 @@ pixfmts(

[FFmpeg-devel] [PATCH v2 3/5] tests/fate/filter-video: add fate pixfmts test for lut1d and lut3d

2019-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 ++ tests/ref/fate/filter-pixfmts-lut1d | 24 tests/ref/fate/filter-pixfmts-lut3d | 24 3 files changed, 54 insertions(+) create mode 100644 tests/ref/f

[FFmpeg-devel] [PATCH v2 5/5] avfilter/vf_lut: simplify code

2019-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_lut.c | 60 1 file changed, 11 insertions(+), 49 deletions(-) diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 1fdc5e1812..3aed4ccc2c 100644 --- a/libavfilter/vf_lut.c +++ b

[FFmpeg-devel] [PATCH v1 3/4] avcodec/prores_metadata_bsf: add arib-std-b67 format support

2019-11-04 Thread lance . lmwang
From: Limin Wang It's based on the following specs: RDD 45:2017 - SMPTE Registered Disclosure Doc - Interoperable Master Format - Application ProRes Signed-off-by: Limin Wang --- doc/bitstream_filters.texi | 7 +++ libavcodec/prores_metadata_bsf.c | 1 + 2 files changed, 8 insertion

[FFmpeg-devel] [PATCH v1 1/4] doc/bitstream_filters: Fix copy an paste typo

2019-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/bitstream_filters.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 50a1679fc7..8fe5b3ad75 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.

[FFmpeg-devel] [PATCH v1 2/4] avcodec/prores_metadata_bsf: add smpte2084 format support

2019-11-04 Thread lance . lmwang
From: Limin Wang It's based on the following specs: RDD 36:2015 - SMPTE Registered Disclosure Doc - Apple ProRes Bitstream Syntax and Decoding Process Signed-off-by: Limin Wang --- doc/bitstream_filters.texi | 2 ++ libavcodec/prores_metadata_bsf.c | 3 ++- 2 files changed, 4 insertions

[FFmpeg-devel] [PATCH v1 4/4] avcodec/proresenc_anatoliy: support for more color matrix for proresenc

2019-11-04 Thread lance . lmwang
From: Limin Wang Please tested with below command: ./ffmpeg -i ../fate-suite/mpeg2/t.mpg -c:v prores_aw -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 -an output.mov mediainfo outout.mov ... Color primaries : BT.2020 Transfer characteristics

[FFmpeg-devel] [PATCH v1] avformat/utils: Fixes misdetection of zYLx.wav

2019-11-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442dd1..8381498e2b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -367,8 +367,7 @@ static i

[FFmpeg-devel] [PATCH v1] avfilter/vf_vaguedenoiser: use fabsf() instead of FFABS()

2019-11-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_vaguedenoiser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_vaguedenoiser.c b/libavfilter/vf_vaguedenoiser.c index a68f7626e6..75a58c363b 100644 --- a/libavfilter/vf_vaguedenoiser.c +++ b/

[FFmpeg-devel] [PATCH v2] avformat/utils: Fixes misdetection of zYLx.wav

2019-11-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/wavdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 52194f54ef..109c931a22 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -149,7 +149,8 @@ sta

[FFmpeg-devel] [PATCH v3] avformat/utils: Fixes misdetection of zYLx.wav

2019-11-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mp3dec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 258f19174b..f15045dd6f 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -73,6 +73,7 @@ static int mp3_rea

[FFmpeg-devel] [PATCH v3] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mp3dec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 258f19174b..f15045dd6f 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -73,6 +73,7 @@ static int mp3_rea

[FFmpeg-devel] [PATCH v4] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- By Hendrik comments, I have proposal a more general fix for more common case. Now It's only tested with fate and all samples in: http://samples.ffmpeg.org/A-codecs/MP3-pro http://samples.ffmpeg.org/A-codecs/MP3 libavformat/mp3dec.c | 13

[FFmpeg-devel] [PATCH v1] avformat/utils: simplify the ff_mkdir_p with SEPARATOR

2019-11-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/utils.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442..e634f15 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -48

[FFmpeg-devel] [PATCH v1 2/2] avformat/mp3dec: replace SAME_HEADER_MASK with MP3_MASK

2019-11-10 Thread lance . lmwang
From: Limin Wang mp3 header bitstream syntax: header() { syncword 12bits bslsf id 1bitbslsf layer 2bitbslsf protection_bit 1bit bslsf bitrate_index 4bits bslsf sampling_frequency 2bits bslsf padding_bit 1bit bslsf private_bit 1bit bslsf

[FFmpeg-devel] [PATCH v1 1/2] avformat/mp3dec: cosmetics

2019-11-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- Note, the patchset are changed after applied mp3 probe fix patchset: https://patchwork.ffmpeg.org/patch/16158/ libavformat/mp3dec.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/liba

[FFmpeg-devel] [PATCH v1 1/2] avfilter/vf_libvmaf: Check for av_frame_alloc failure

2019-11-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_libvmaf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c index ed3a383..14c3216 100644 --- a/libavfilter/vf_libvmaf.c +++ b/libavfilter/vf_libvmaf.c @@ -235,6 +235,9 @@ stat

[FFmpeg-devel] [PATCH v1 2/2] configure: Fix for the configure failed for vmaf

2019-11-12 Thread lance . lmwang
From: Limin Wang When enable-libvmaf with the vmaf master installed , it'll report below error: ERROR: libvmaf >= 1.3.9 not found using pkg-config In fact, after vmaf installed, the vmaf pkg-config filename is vmaf.pc, my build system is Centos7.4. Below is the debug info for why change libvmaf

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_colorbalance: Fix for the wrong step value for 16bit format

2019-11-13 Thread lance . lmwang
From: Limin Wang Please try to reproduce with below command: ./ffplay -vf format=rgba64,colorbalance=rm=.2 ../fate-suite/mpeg2/t.mpg Without the patch, the step is 8 if you check it by gdb or print out. Signed-off-by: Limin Wang --- libavfilter/vf_colorbalance.c | 3 ++- 1 file changed, 2 in

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_colorbalance: change to float to make framecrc same for 32 and 64bit system

2019-11-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_colorbalance.c | 36 +-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/libavfilter/vf_colorbalance.c b/libavfilter/vf_colorbalance.c index 3fd1426696..1ab3a61039 100644 --- a/libavfil

[FFmpeg-devel] [PATCH v2 3/3] FATE: add a test for colorbalance

2019-11-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- have tested with x86_64, x86_32, mips tests/fate/filter-video.mak | 12 tests/ref/fate/filter-colorbalance | 8 tests/ref/fate/filter-colorbalance-gbrap| 8 tests/ref/fate/filter-colorb

[FFmpeg-devel] [PATCH v2 2/4] avfilter/vf_lut3d: Fix for framecrc bitexact for 32bit and 64bit system

2019-11-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_lut3d.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c index 9e820a17c9..9ba86f7238 100644 --- a/libavfilter/vf_lut3d.c +++ b/libavfilter

[FFmpeg-devel] [PATCH v2 3/4] FATE: add a test for lut1d and lut3d

2019-11-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- have tested with x86_64(apple darwin, linux gcc), x86_32(linux), mips tests/fate/filter-video.mak | 6 ++ tests/ref/fate/filter-pixfmts-lut1d | 24 tests/ref/fate/filter-pixfmts-lut3d | 24

[FFmpeg-devel] [PATCH v2 1/4] tests/fate-run: add pixel format endian mode parameter for pixfmts function

2019-11-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate-run.sh | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index aec12c16a3..6ea0ab4f3c 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -385,6 +385,8 @@ pixfmts(

[FFmpeg-devel] [PATCH v2 4/4] swscale/swscale_unscaled: add AV_PIX_FMT_GBRAP10 for LE and BE conversion wrapper

2019-11-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale_unscaled.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index d9260c151a..d6d294f90c 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unsca

[FFmpeg-devel] [PATCH v3 2/2] FATE: add a test for colorbalance

2019-11-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 12 tests/ref/fate/filter-colorbalance | 8 tests/ref/fate/filter-colorbalance-gbrap| 8 tests/ref/fate/filter-colorbalance-gbrap-16 | 8 tests/re

[FFmpeg-devel] [PATCH v3 1/2] avfilter/vf_colorbalance:: Fix for framecrc bitexact for 32bit and 64bit system

2019-11-15 Thread lance . lmwang
Signed-off-by: Limin Wang --- libavfilter/vf_colorbalance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_colorbalance.c b/libavfilter/vf_colorbalance.c index cc90dc08c7..56f9d5c49c 100644 --- a/libavfilter/vf_colorbalance.c +++ b/libavfilter/vf_colorbalance.c

[FFmpeg-devel] [PATCH v1 2/2] avdevice/lavf: change the dumpgraph option to bool type

2019-11-20 Thread lance . lmwang
From: Limin Wang dumpgraph option currently uses string types, but actually only requires bool type Signed-off-by: Limin Wang --- doc/indevs.texi | 2 +- libavdevice/lavfi.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index

[FFmpeg-devel] [PATCH v1 1/2] fftools: add global option to dump filter graph to stderr

2019-11-20 Thread lance . lmwang
From: Limin Wang It's useful for debugging filter graph purposes, now only lavfi can do that. Signed-off-by: Limin Wang --- doc/ffmpeg.texi | 4 fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 7 +++ fftools/ffmpeg_opt.c| 3 +++ 4 files changed, 15 insertions(+)

[FFmpeg-devel] [PATCH v2] avfilter/vf_libvmaf: Check for av_frame_alloc failure

2019-11-20 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- Add Reviewed-by:, pleae help push it libavfilter/vf_libvmaf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c index ed3a383..14c3216 100644 --- a/libavfilter/vf_

[FFmpeg-devel] [PATCH v1] avfilter/vf_showinfo: Fix erroneous results for mean and stdev with pixel bits >8

2019-11-21 Thread lance . lmwang
From: Limin Wang The following is one of the testing results, you can observe the result of 16bit isn't correct. 1, yuv420p ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo Master: mean:[16 128 128] stdev:[0.0 0.0 0.0] After applied the patch: mean:[16 128

[FFmpeg-devel] [PATCH v1 2/4] bavfilter/vsrc_cellauto: Fix for tye random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 7a6d9659f7..c75460334e 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/

[FFmpeg-devel] [PATCH v1 1/4] avfilter/vf_elbg: Fix for the seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_elbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index b59da9ec85..5bccb5f58d 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -36,7 +36,7

[FFmpeg-devel] [PATCH v1 3/4] bavfilter/vsrc_life: Fix for tye random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index a87ceef15d..4c0ea73d8a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -

[FFmpeg-devel] [PATCH v1 4/4] bavfilter//vsrc_sierpinski: Fix for tye random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_sierpinski.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c index 93567ac189..0027a6788e 100644 --- a/libavfilter/vsrc_sierpinski.c +++ b/libavf

[FFmpeg-devel] [PATCH v2 3/3] bavfilter/vsrc_life: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index a87ceef15d..4c0ea73d8a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_elbg: Fix for the seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_elbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index b59da9ec85..5bccb5f58d 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -36,7 +36,7

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vsrc_cellauto: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 7a6d9659f7..c75460334e 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/

[FFmpeg-devel] [PATCH v2 3/3] avfilter/vsrc_life: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index a87ceef15d..4c0ea73d8a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_elbg: Fix for the seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_elbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index b59da9ec85..5bccb5f58d 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -36,7 +36,7

[FFmpeg-devel] [PATCH v2 2/3] bavfilter/vsrc_cellauto: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 7a6d9659f7..c75460334e 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/

[FFmpeg-devel] [PATCH v3] avfilter/vf_lut: simplify code

2019-11-22 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- have pass fate testing for fate-filter-pixfmts-lut libavfilter/vf_lut.c | 67 ++-- 1 file changed, 12 insertions(+), 55 deletions(-) diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 1f

[FFmpeg-devel] [PATCH v2] avcodec/v410dec: add support for frame and slice threading

2019-11-24 Thread lance . lmwang
From: Limin Wang 1, Test server configure: [root@localhost ~]# cat /proc/cpuinfo |grep "model name" model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz ... [root@localhost ~]# free -h totalusedfree

[FFmpeg-devel] [PATCH v8] avcodec/v210dec: add support for frame and slice threading

2019-11-24 Thread lance . lmwang
From: Limin Wang 1, Test server configure: [root@localhost ~]# cat /proc/cpuinfo |grep "model name" model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz ... [root@localhost ~]# free -h totalusedf

[FFmpeg-devel] [PATCH v1] doc/demuxers: Fix typo in help text

2019-11-24 Thread lance . lmwang
From: Limin Wang dose -> does Signed-off-by: Limin Wang --- doc/demuxers.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 4e1a5cb6aa..2820934d7a 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -332,7 +332,7 @@ Maximu

[FFmpeg-devel] [PATCH v2 1/2] fftools: add global option to dump filter graph to stderr

2019-11-25 Thread lance . lmwang
From: Limin Wang It's useful for debugging filter graph purposes, now only lavfi can do that. Reviewed-by: Carl Eugen Hoyos Signed-off-by: Limin Wang --- doc/ffmpeg.texi | 4 fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 7 +++ fftools/ffmpeg_opt.c| 3 +++ 4 fi

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_colorconstancy: av_frame_free(&in) in case of error or direct flag is false

2019-11-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_colorconstancy.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/vf_colorconstancy.c b/libavfilter/vf_colorconstancy.c index cc081e957f..9917d8993e 100644 --- a/libavfilter/vf_colorconstancy.c +++ b/libavfilter/

[FFmpeg-devel] [PATCH v1 1/2] avfilter/vf_colormatrix: av_frame_free(&in) in case of error

2019-11-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_colormatrix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 3a02e2b86e..3a0c3f01da 100644 --- a/libavfilter/vf_colormatrix.c +++ b/libavfilter/vf_colormatrix.c @

[FFmpeg-devel] [PATCH v1 3/3] avfilter/vf_yadif: remove duplicate code with macro-based function

2019-11-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_yadif.c | 147 +++-- 1 file changed, 54 insertions(+), 93 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index f53bb77008..15d8c47b0b 100644 --- a/libavfilter/vf_yadif.c

[FFmpeg-devel] [PATCH v1 1/3] avfilter/vf_yadif: rename config_props -> config_input, link -> outlink

2019-11-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_yadif.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 3107924932..0b34c5045b 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_yadif: rename config_props -> config_output, link -> outlink

2019-11-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- Sorry, fix the title typo libavfilter/vf_yadif.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 3107924932..0b34c5045b 100644 --- a/libavfilter/vf_ya

[FFmpeg-devel] [PATCH v1 2/3] avfilter/vf_yadif: cosmetics

2019-11-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_yadif.c | 47 +++--- 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 0b34c5045b..f53bb77008 100644 --- a/libavfilter/vf_yadif.c

[FFmpeg-devel] [PATCH v2] avfilter/vf_showinfo: Fix erroneous results for mean and stdev with pixel bits >8

2019-11-28 Thread lance . lmwang
From: Limin Wang The following is one of the testing results, you can observe the result of 16bit isn't correct. 1, yuv420p ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo Master: mean:[16 128 128] stdev:[0.0 0.0 0.0] After applied the patch: mean:[16 128

[FFmpeg-devel] [PATCH v3] avfilter/vf_showinfo: Fix erroneous results for mean and stdev with pixel bits >8

2019-11-29 Thread lance . lmwang
From: Limin Wang Have tested with be and le pixel format on be and le system for >8bit. System: lmwang@ubuntu:~/ffmpeg.git.mips$ grep HAVE_BIGENDIAN config.h #define HAVE_BIGENDIAN 1 ffmpeg.git git:(showinfo) ??? grep HAVE_BIGENDIAN config.h #define HAVE_BIGENDIAN 0 Test result: 1, yuv420p ./ffm

[FFmpeg-devel] [PATCH v2 2/2] avformat/utils: simplify the ff_mkdir_p with SEPARATOR

2019-12-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/utils.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 579e6d6..993e6d2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4843,12 +4843,

[FFmpeg-devel] [PATCH v2 1/2] avformat/utils: simplify the code and remove av_strncasecmp

2019-12-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/utils.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442..579e6d6 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4854,11 +4854,10 @@ int f

[FFmpeg-devel] [PATCH v3 1/2] avformat/utils: simplify the code and remove av_strncasecmp

2019-12-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/utils.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442dd1..03a3705200 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4854,11 +4854,10 @@ i

[FFmpeg-devel] [PATCH v3 2/2] avformat/utils: simplify the ff_mkdir_p with SEPARATOR

2019-12-01 Thread lance . lmwang
From: Limin Wang Please tested by below command(Mac or Linux): ./ffmpeg -i ~/Movies/input.mp4 -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename 'hls/t\e\s\t/%Y%m%d/file-%Y%m%d-%s.ts' ./out.m3u8 Master: $ ls hls/ t t\e t\e\s t\e\s\t After applied the patch: $ ls hls/ t\e

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vsrc_life: fix the print argument mismatch

2019-12-06 Thread lance . lmwang
From: Limin Wang Fix CID 1456556 Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index 4c0ea73..01b060a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/

[FFmpeg-devel] [PATCH v1 1/2] avfilter/vsrc_cellauto: fix the print argument mismatch

2019-12-06 Thread lance . lmwang
From: Limin Wang Fix CID 1456556 Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index c754603..03bdaba 100644 --- a/libavfilter/vsrc_cellauto.c ++

[FFmpeg-devel] [PATCH v1 2/2] avcodec/h265_metadata_bsf: add option to insert a string as SEI unregistered user data

2019-12-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/bitstream_filters.texi | 8 ++ libavcodec/h265_metadata_bsf.c | 65 +- 2 files changed, 72 insertions(+), 1 deletion(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index

[FFmpeg-devel] [PATCH v1 1/2] avcodec/cbs_h2645: add helper functions to insert and delete SEI PREFIX messages

2019-12-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/cbs_h2645.c | 93 ++ libavcodec/cbs_h265.h | 25 ++ 2 files changed, 118 insertions(+) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index 5f71d80..2fc957d 1006

[FFmpeg-devel] [PATCH v1] avcodec/bsf: replace ctx->internal-> with in-> for better readability

2019-12-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/bsf.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index c1653cd..a5a5a03 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -175,9 +175,11

[FFmpeg-devel] [PATCH v2] avcodec/bsf: replace ctx->internal-> with bsfi-> for better readability

2019-12-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/bsf.c | 49 +++-- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index c1653cd..c6dce93 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c

[FFmpeg-devel] [PATCH v1 1/5] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2019-12-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 7 +++ libavutil/version.h | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 401c65a753..7955dfa659 100644

[FFmpeg-devel] [PATCH v1 3/5] avfilter/vf_showinfo: display user data unregistered message

2019-12-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 20 1 file changed, 20 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 31f6b32aa4..0d227983c2 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showi

[FFmpeg-devel] [PATCH v1 5/5] avcodec/h264: create user data unregistered side data for H.264

2019-12-17 Thread lance . lmwang
From: Limin Wang Below is the sample message for -vf showinfo(need to apply the patchset): [Parsed_showinfo_0 @ 0x7fac7b702080] side data - User data unregistered: [Parsed_showinfo_0 @ 0x7fac7b702080] UUID=186f369370304f2c603021492feee5b8 [Parsed_showinfo_0 @ 0x7fac7b702080] User Data=hello Si

[FFmpeg-devel] [PATCH v1 2/5] avcodec/hevc_sei: add support for user data unregistered SEI message

2019-12-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 28 libavcodec/hevc_sei.h | 7 +++ libavcodec/hevcdec.c | 10 ++ 3 files changed, 45 insertions(+) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index c59bd4321e..1af9

[FFmpeg-devel] [PATCH v1 4/5] avcodec/h264_sei: fix the size of user data unregistered

2019-12-17 Thread lance . lmwang
From: Limin Wang According to the specifications, the payloadSize includes the 16-byte size of UUID. Signed-off-by: Limin Wang --- libavcodec/h264_sei.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index d4eb9c0dab..4

[FFmpeg-devel] [PATCH v2 1/5] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2019-12-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 7 +++ libavutil/version.h | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 401c65a753..7955dfa659 100644

[FFmpeg-devel] [PATCH v2 3/5] avfilter/vf_showinfo: display user data unregistered message

2019-12-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 40 +++ 1 file changed, 40 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 31f6b32aa4..77ee7f312c 100644 --- a/libavfilter/vf_showinfo.c +++ b/l

[FFmpeg-devel] [PATCH v2 2/5] avcodec/hevc_sei: add support for user data unregistered SEI message

2019-12-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 22 ++ libavcodec/hevc_sei.h | 5 + libavcodec/hevcdec.c| 10 ++ tests/ref/fate/hevc-monochrome-crop | 3 +++ 4 files changed, 40 insertions(+) d

[FFmpeg-devel] [PATCH v2 4/5] avcodec/h264_sei: fix the size of user data unregistered

2019-12-18 Thread lance . lmwang
From: Limin Wang According to the specifications, the payloadSize includes the 16-byte size of UUID. Signed-off-by: Limin Wang --- libavcodec/h264_sei.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index d4eb9c0dab..a5

[FFmpeg-devel] [PATCH v2 5/5] avcodec/h264: create user data unregistered side data for H.264

2019-12-18 Thread lance . lmwang
From: Limin Wang Below is the sample message for -vf showinfo(need to apply the patchset): [Parsed_showinfo_0 @ 0x7fac7b702080] side data - User data unregistered: [Parsed_showinfo_0 @ 0x7fac7b702080] UUID=186f369370304f2c603021492feee5b8 [Parsed_showinfo_0 @ 0x7fac7b702080] User Data=hello Si

[FFmpeg-devel] [PATCH v3 1/5] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2019-12-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 8 libavutil/version.h | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 401c65a753..7955dfa659 100644

[FFmpeg-devel] [PATCH v3 5/5] avcodec/h264: create user data unregistered side data for H.264

2019-12-18 Thread lance . lmwang
From: Limin Wang Below is the sample with more than one user data SEI message for -vf showinfo (need to apply the patchset): [Parsed_showinfo_0 @ 0x7f8d42f01480] side data - User Data Unregistered: [Parsed_showinfo_0 @ 0x7f8d42f01480] UUID=186f369370304f2c603021492feee5b8 [Parsed_showinfo_0 @

<    6   7   8   9   10   11   12   13   14   15   >