[FFmpeg-devel] [PATCH v3 1/5] avcodec/v210enc: add depth parameter for WRITE_PIXELS and CLIP

2019-09-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 83 +++- 1 file changed, 36 insertions(+), 47 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index b024806..1b840b2 100644 --- a/libavcodec/v210enc.c

[FFmpeg-devel] [PATCH v2 5/6] avcodec/v210enc: define DEFINE_V210_ENCODE_FUNC to remove duplicate code

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 171 +-- 1 file changed, 69 insertions(+), 102 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 2400538f73..1b17d885cc 100644 --- a/libavcodec/v210enc.c +++

[FFmpeg-devel] [PATCH v1] avformat/mxfenc: fix warning: unused function 'klv_ber_length' [-Wunused-function]

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mxfenc.c | 8 1 file changed, 8 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 8b3d599a6f..b5d9bb5f46 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -542,14 +542,6 @@ static void

[FFmpeg-devel] [PATCH v2] avformat/mxfenc: fix warning: unused function 'klv_ber_length' [-Wunused-function]

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mxfenc.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 8b3d599a6f..aa23ee3947 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -553,15

[FFmpeg-devel] [PATCH v1 4/5] avcodec/v210enc: make 8bit and 10bit process consistent

2019-08-28 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 716544a..2400538 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@ -59,7

[FFmpeg-devel] [PATCH v1 1/5] avcodec/v210enc: add depth parameter for WRITE_PIXELS and CLIP

2019-08-28 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 83 +++- 1 file changed, 36 insertions(+), 47 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index b024806..1b840b2 100644 --- a/libavcodec/v210enc.c

[FFmpeg-devel] [PATCH v1 2/5] avcodec/v210enc: make 8bit and 10bit function consistent

2019-08-28 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 1b840b2..69a2efe 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@ -43,12 +43,7 @@

[FFmpeg-devel] [PATCH v1 0/5] avcodec/v210enc: remove the duplicate code

2019-08-28 Thread lance . lmwang
From: Limin Wang refine the code to support multithread later, for 8K resolution, it's too slow for the conversion. Have test with 8bit and 10bit and keep same frame crc with before. a. yuv422p10le ./ffmpeg -y -f lavfi -i smptehdbars -sws_flags +accurate_rnd+bitexact -vf \

[FFmpeg-devel] [PATCH v1 5/5] avcodec/v210enc: define DEFINE_V210_ENCODE_FUNC to remove duplicate code

2019-08-28 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 171 +-- 1 file changed, 69 insertions(+), 102 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 2400538..b40c7ae 100644 --- a/libavcodec/v210enc.c

[FFmpeg-devel] [PATCH v1 3/5] avcodec/v210enc: define DEFINE_V210_PLANAR_FUNC to remove duplicate function

2019-08-28 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 43 --- 1 file changed, 16 insertions(+), 27 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 69a2efe..716544a 100644 --- a/libavcodec/v210enc.c +++

[FFmpeg-devel] [PATCH v1 2/2] avcodec/v210dec: add the slice threading support

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210dec.c | 136 +++ libavcodec/v210dec.h | 1 + 2 files changed, 87 insertions(+), 50 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 6ce18aab5a..d3add8b45b 100644

[FFmpeg-devel] [PATCH v1 1/2] avcodec/v210dec: removed the duplicated 'if' condition

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 5a33d8c089..6ce18aab5a 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -98,8 +98,7 @@

[FFmpeg-devel] [PATCH v1] lavf/hlsenc: refine the get_relative_url function to avoid extra malloc for relation path

2019-08-29 Thread lance . lmwang
From: Limin Wang Reviewed-by: Steven Liu Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 50 ++- libavformat/hlsplaylist.c | 4 ++-- libavformat/hlsplaylist.h | 4 ++-- 3 files changed, 19 insertions(+), 39 deletions(-) diff --git

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

2019-08-23 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 01262d8..a6371e4 100644 ---

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

2019-08-23 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

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

2019-08-23 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 4a2db18..4101690 100644 ---

[FFmpeg-devel] [PATCH v1] avfilter/showinfo: support displaying for webvtt id and setting side data

2019-08-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 3c13f11..d1f074a 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -313,6

[FFmpeg-devel] [PATCH v1] lavf/dump: dump the vbv_delay with N/A instead of 18446744073709551615

2019-08-27 Thread lance . lmwang
From: Limin Wang How to check it: ./ffmpeg -f lavfi -i testsrc -c:v mpeg2video -f null - master: Side data: cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: 18446744073709551615 patch applied: Side data: cpb: bitrate max/min/avg: 0/0/20 buffer size: 0

[FFmpeg-devel] [PATCH v1 6/6] Add myself as v210enc, v210dec maintainer

2019-08-28 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7f60ef0021..4110d38354 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -243,6 +243,7 @@ Codecs: tta.c Alex

[FFmpeg-devel] [PATCH v1 2/3] fftools/ffmpeg: replace the deprecated av_copy_packet_side_data

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- fftools/ffmpeg.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 01f0410..e1a4b4a 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2004,6 +2004,7 @@ static void

[FFmpeg-devel] [PATCH v1 1/3] avcodec/avpacket: replace the deprecated av_copy_packet_side_data

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/avpacket.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index 2b20067..34676cb 100644 --- a/libavcodec/avpacket.c +++ b/libavcodec/avpacket.c @@ -198,8 +198,6 @@ do

[FFmpeg-devel] [PATCH v1 3/3] avformat/movenc: replace the deprecated av_copy_packet_side_data

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index edddfee..503f099 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -518,7 +518,7 @@

[FFmpeg-devel] [PATCH v1] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..f3b959c 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -64,7 +64,7 @@ typedef struct TsccContext

[FFmpeg-devel] [PATCH v2] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..b0dbef4 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -88,7 +88,7 @@ static int

[FFmpeg-devel] [PATCH v3] avcodec/tscc: fix for the backward compatibility to use const in the z_stream interface

2019-09-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..9eb17e3 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -88,7 +88,11 @@ static int

[FFmpeg-devel] [PATCH v1] avfilter/vf_framerate: make the scene change detection calculation method consistent with f_select filter

2019-09-12 Thread lance . lmwang
From: Limin Wang Have been tested by fate-suite/svq3/Vertical400kbit.sorenson3.mov and the testing results are consistent. If it is acceptable, I want to move get_scene_score() to the public function and make the scene change detection calculation method of the relevant module consistent.

[FFmpeg-devel] [PATCH v1 2/4] avcodec/pngdec: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/pngdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 2d6c1b218e..aec60ea493 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -406,7 +406,7 @@

[FFmpeg-devel] [PATCH v1 4/4] avcodec/zmbv: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/zmbv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index 99e735cfd9..ace13e2ada 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -542,7 +542,7 @@ static int

[FFmpeg-devel] [PATCH v1 3/4] avcodec/tiff: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 9f24796a88..4843a11f3d 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -393,7 +393,7 @@ static int

[FFmpeg-devel] [PATCH v1 1/4] avcodec/lcldec: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/lcldec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 046cdc4f8e..1154221f8f 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -136,7 +136,7 @@ static

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

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

[FFmpeg-devel] [PATCH v1] avcodec/pngenc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/pngenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index d4d8dc8..e78a829 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -274,7 +274,7 @@ static int

[FFmpeg-devel] [PATCH v1] avformat/dashdec: remove the unnecessary type conversion

2019-09-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dashdec.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index a6f7551..4db61d8 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@

[FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: refine the code for better readiablity

2019-09-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index 307e8643e6..f077900617 100644 --- a/libavcodec/h2645_parse.c +++

[FFmpeg-devel] [PATCH v3] avcodec/h2645_parse: refine the code for better readiablity

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index ef6a6b4..8b9595a 100644 --- a/libavcodec/h2645_parse.c +++

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

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 tests/ref/fate/filter-minterpolate-down | 6 ++ tests/ref/fate/filter-minterpolate-up | 15 +++ 3 files changed, 25 insertions(+) create mode 100644

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

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

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

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

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

2019-09-16 Thread lance . lmwang
From: Limin Wang Reviewed-by: Tomas Härdin Reviewed-by: Liu Steven Signed-off-by: Limin Wang --- libavutil/avstring.c | 12 libavutil/avstring.h | 13 + 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/libavutil/avstring.c b/libavutil/avstring.c index

[FFmpeg-devel] [PATCH v4 2/3] avcodec/v210enc: make 8bit and 10bit process consistent

2019-09-16 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 1b840b2c22..f545e43c6c 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@

[FFmpeg-devel] [PATCH v4 1/3] avcodec/v210enc: add depth parameter for WRITE_PIXELS and CLIP

2019-09-16 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 83 +++- 1 file changed, 36 insertions(+), 47 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index b024806d0b..1b840b2c22 100644 --- a/libavcodec/v210enc.c +++

[FFmpeg-devel] [PATCH v4 3/3] avcodec/v210enc: move v210_enc_8/10 function to template file

2019-09-16 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210_template.c | 90 + libavcodec/v210enc.c | 135 +++-- 2 files changed, 114 insertions(+), 111 deletions(-) create mode 100644 libavcodec/v210_template.c diff --git

[FFmpeg-devel] [PATCH v2 2/2] avfilter/vf_scale: change filter_frame interface to activate interface

2019-09-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index cb42794..5c1d811 100644 --- a/libavfilter/vf_scale.c +++

[FFmpeg-devel] [PATCH v2 1/2] avfilter/vf_scale: split the scale_frame function from filter_frame for activate function support

2019-09-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index bf340b8..cb42794 100644 --- a/libavfilter/vf_scale.c +++

[FFmpeg-devel] [PATCH v1] swscale/swscale: various cosmetics for the code style

2019-09-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 40 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4069550..3e2ebd5 100644 --- a/libswscale/swscale.c +++

[FFmpeg-devel] [PATCH v1] avcodec/h2645_parse: fix for the realloc size

2019-09-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index 307e8643e6..403acd2ee1 100644 --- a/libavcodec/h2645_parse.c +++ b/libavcodec/h2645_parse.c @@

[FFmpeg-devel] [PATCH v1 4/4] avformat/hlsenc: replace with av_freep for all av_free

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 64 ++-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 21fb9d7a1d..6dc92b786e 100644 --- a/libavformat/hlsenc.c +++

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

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/avstring.c | 12 libavutil/avstring.h | 13 + 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/libavutil/avstring.c b/libavutil/avstring.c index 4c068f5bc5..9fddd0c77b 100644 ---

[FFmpeg-devel] [PATCH v1 3/4] avformat/hlsenc: replace with av_dirname to get the directory

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index b5681a85c7..21fb9d7a1d 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH v1 2/4] avformat/hlsenc: remove the unnecessary null pointer check

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 31 ++- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1f2bdfbe4d..b5681a85c7 100644 --- a/libavformat/hlsenc.c +++

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

2019-09-16 Thread lance . lmwang
From: Limin Wang Reviewed-by: Tomas Härdin Reviewed-by: Liu Steven Signed-off-by: Limin Wang --- libavutil/avstring.c | 12 libavutil/avstring.h | 13 + 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/libavutil/avstring.c b/libavutil/avstring.c index

[FFmpeg-devel] [PATCH v2 4/4] avformat/hlsenc: replace with av_freep for all av_free

2019-09-16 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 64 ++-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 753addcbde..784a2b5ec0 100644 --- a/libavformat/hlsenc.c +++

[FFmpeg-devel] [PATCH v2 3/4] avformat/hlsenc: replace with av_dirname to get the directory

2019-09-16 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index d663785e4a..753addcbde 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH v2 2/4] avformat/hlsenc: remove the unnecessary null pointer check

2019-09-16 Thread lance . lmwang
From: Limin Wang Reviewed-by: Liu Steven Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 26 ++ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1f2bdfbe4d..d663785e4a 100644 ---

[FFmpeg-devel] [PATCH v2] swscale/swscale: various cosmetics for the code style

2019-09-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 61 ++-- 1 file changed, 21 insertions(+), 40 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4069550..1aa23c6 100644 --- a/libswscale/swscale.c

[FFmpeg-devel] [PATCH v3 2/2] swscale/swscale: various cosmetics for the code style

2019-09-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 66 +++- 1 file changed, 24 insertions(+), 42 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index b4f958a..5212317 100644 --- a/libswscale/swscale.c

[FFmpeg-devel] [PATCH v3 1/2] swscale/swscale: delete unwanted assignments

2019-09-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4069550..b4f958a 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -291,11 +291,9 @@ static int

[FFmpeg-devel] [PATCH v2 1/2] avcodec/v210dec: removed the duplicated 'if' condition

2019-09-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 5a33d8c..6ce18aa 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -98,8 +98,7 @@ static int

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

2019-09-06 Thread lance . lmwang
From: Limin Wang The multithread is avoid one core cpu is full with other filter like scale etc. About the performance, the gain is very small, below is my testing for performance. In order to avoid the disk bottleneck, I'll use stream_loop mode for 10 frame only. ./ffmpeg -y -i

[FFmpeg-devel] [PATCH v1] avfilter/vf_minterpolate: correct the mafd calculation

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

[FFmpeg-devel] [PATCH v1] fate: remove fate-checkasm-opusdsp for the segment fault for mac and linux system

2019-09-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/checkasm.mak | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fate/checkasm.mak b/tests/fate/checkasm.mak index 3893245..618bde5 100644 --- a/tests/fate/checkasm.mak +++ b/tests/fate/checkasm.mak @@ -19,7 +19,6 @@ FATE_CHECKASM

[FFmpeg-devel] [PATCH v1] doc/filters: add 4x4 layout example for xstack filter

2019-09-18 Thread lance . lmwang
From: Limin Wang In additon, I have added details of each input position to help understand how to write the layout parameters. Signed-off-by: Limin Wang --- doc/filters.texi | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH v1 1/2] avfilter/vf_scale: split the scale_frame function from filter_frame for activate function support

2019-07-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 29 + 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 7aebf56..efb480d 100644 --- a/libavfilter/vf_scale.c +++

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_scale: change filter_frame interface to activate interface

2019-07-27 Thread lance . lmwang
From: Limin Wang It's for the frame thread support later, once I have finished frame thread fate testing, I'll submit for review. Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH v1] avfilter/showinfo: support Content Light Level information

2019-08-08 Thread lance . lmwang
From: Limin Wang show real information instead of the unknown side data type message for HDR10 stream Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 12 1 file changed, 12 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index

[FFmpeg-devel] [PATCH v3 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-20 Thread lance . lmwang
From: Limin Wang Below is the tested results for the new added pixel format without autoscale to rgb24: 1. AV_PIX_FMT_YUVJ420P time ./ffprobe -of compact=p=0 -show_entries frame=pkt_pts:frame_tags -bitexact -f lavfi \

[FFmpeg-devel] [PATCH v3 2/3] fate: change the scenecut fate threshold for one more scenecut scenes

2019-07-20 Thread lance . lmwang
From: Limin Wang why change .4 to .25, it's for: one scenecut(pkt_pts=20040) isn't detected by 0.4 threshold why not change to 0.25 instead of .3: it'll cause this scenecut(pkt_pts=20040) failed to detect after applied the next patch which enable yuvj420 for fate testing, it's better to catch

[FFmpeg-devel] [PATCH v3 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-20 Thread lance . lmwang
From: Limin Wang This patch haven't make other pixel format usable yet to make sure the test result is same with rgb32 format. Reviewed-by: Marton Balint Signed-off-by: Limin Wang --- libavfilter/f_select.c | 34 ++ 1 file changed, 30 insertions(+), 4

[FFmpeg-devel] [PATCH] lavc/videotoolboxenc: make transfer_fnc initialized for unsupport function

2019-07-17 Thread lance . lmwang
From: Limin Wang The current function will report one error message, but the caller func haven't check it, so change the default to process as AVCOL_TRC_UNSPECIFIED. Signed-off-by: Limin Wang --- libavcodec/videotoolboxenc.c | 1 + 1 file changed, 1 insertion(+) diff --git

[FFmpeg-devel] [PATCH v2 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-19 Thread lance . lmwang
From: Limin Wang This patch haven't make other pixel format usable yet to make sure the test result is same with rgb32 format. Signed-off-by: Limin Wang --- libavfilter/f_select.c | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 2/3] fate: change the scenecut fate threshold for one more scenecut scenes

2019-07-19 Thread lance . lmwang
From: Limin Wang why change .4 to .25, it's for: one scenecut(pkt_pts=20040) isn't detected by 0.4 threshold why not change to 0.25 instead of .3: it'll cause this scenecut(pkt_pts=20040) failed to detect after applied the next patch which enable yuvj420 for fate testing, it's better to catch

[FFmpeg-devel] [PATCH v2 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-19 Thread lance . lmwang
From: Limin Wang Below is the tested results for the new added pixel format without autoscale to rgb24: 1. AV_PIX_FMT_YUVJ420P time ./ffprobe -of compact=p=0 -show_entries frame=pkt_pts:frame_tags -bitexact -f lavfi \

[FFmpeg-devel] [PATCH 2/3] fate: change the scenecut fate threshold for one more scenecut scenes

2019-07-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak| 2 +- tests/ref/fate/filter-metadata-scenedetect | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 1042e96..60c6be1

[FFmpeg-devel] [PATCH 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-15 Thread lance . lmwang
From: Limin Wang This patch haven't make other pixel format usable yet to make sure the test result is same with rgb format. Signed-off-by: Limin Wang --- libavfilter/f_select.c | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git

[FFmpeg-devel] [PATCH 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_select.c | 6 ++ tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index

[FFmpeg-devel] [PATCH v2] avcodec/v210enc: add yuv420p/yuv420p10 input pixel format support

2019-09-21 Thread lance . lmwang
From: Limin Wang With the patch, we simply reuse the same source chroma line for each pair of lines in the output and the yuv420 and yuv420p10 format of the decoder can go to the v210 encoder without having to touch the pixels at all with autoscale by swscale filter. The end effect is swscale

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

2019-09-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/framerate.h| 3 +-- libavfilter/vf_framerate.c | 58 +- 2 files changed, 27 insertions(+), 34 deletions(-) diff --git a/libavfilter/framerate.h b/libavfilter/framerate.h index

[FFmpeg-devel] [PATCH v1 2/4] avfilter/vf_framerate: refine the filter_slice code for better readiablity

2019-09-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/framerate.h| 1 + libavfilter/vf_framerate.c | 35 +-- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/libavfilter/framerate.h b/libavfilter/framerate.h index 8048dfa..3d8200b

[FFmpeg-devel] [PATCH v1 4/4] avfilter/vf_framerate: limit the scene level max range

2019-09-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_framerate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 6383f69..59d58e7 100644 --- a/libavfilter/vf_framerate.c +++ b/libavfilter/vf_framerate.c

[FFmpeg-devel] [PATCH v1 1/4] avfilter/vf_framerate: add flags none to disable scene change detection if necessary

2019-09-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 ++ libavfilter/vf_framerate.c | 17 +++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index bbfdad4..fce4ef4 100644 --- a/doc/filters.texi +++

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

2019-09-20 Thread lance . lmwang
From: Limin Wang The multithread is avoid one core cpu is full with other filter like scale etc. About the performance, the gain is very small, below is my testing for performance. In order to avoid the disk bottleneck, I'll use stream_loop mode for 10 frame only. ./ffmpeg -y -i

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

2019-09-20 Thread lance . lmwang
From: Limin Wang The multithread is avoid one core cpu is full with other filter like scale etc. About the performance, the gain is very small, below is my testing for performance. In order to avoid the disk bottleneck, I'll use stream_loop mode for 10 frame only. ./ffmpeg -y -i

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

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

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

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

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

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

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

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

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

2019-09-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_sidedata.c | 10 +- libavutil/frame.h| 10 ++ libavutil/version.h | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c index

[FFmpeg-devel] [PATCH v5] doc/filters: add 4x4 layout example for xstack filter

2019-09-26 Thread lance . lmwang
From: Limin Wang Reviewed-by: Gyan Signed-off-by: Limin Wang --- doc/filters.texi | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index d0fdf957af..a53f572e10 100644 --- a/doc/filters.texi

[FFmpeg-devel] [PATCH v5] doc/filters: add 4x4 layout example for xstack filter

2019-09-26 Thread lance . lmwang
From: Limin Wang Reviewed-by: Gyan Signed-off-by: Limin Wang --- doc/filters.texi | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index d0fdf957af..a53f572e10 100644 --- a/doc/filters.texi

[FFmpeg-devel] [PATCH v5] doc/filters: add 4x4 layout example for xstack filter

2019-09-26 Thread lance . lmwang
From: Limin Wang Reviewed-by: Gyan Signed-off-by: Limin Wang --- doc/filters.texi | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index d0fdf957af..a53f572e10 100644 --- a/doc/filters.texi

[FFmpeg-devel] [PATCH v4] swscale/swscale: cosmetics

2019-09-26 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index b4f958a..4ecfa88 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -271,7 +271,6 @@ static int

[FFmpeg-devel] [PATCH v6] doc/filters: add 4x4 layout example for xstack filter

2019-09-26 Thread lance . lmwang
From: Limin Wang Reviewed-by: Gyan Signed-off-by: Limin Wang --- doc/filters.texi | 55 --- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index e6f8bf0..581a96b 100644 ---

[FFmpeg-devel] [PATCH v1] avfilter/vf_scale: cosmetics

2019-09-26 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index cb42794..41ddec7 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_framerate: limit the scene level max range

2019-09-24 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- libavfilter/vf_framerate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 06e463e4d7..a5dad3c769 100644 --- a/libavfilter/vf_framerate.c

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_framerate: refine the filter_slice code for better readiablity

2019-09-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/framerate.h| 1 + libavfilter/vf_framerate.c | 35 +-- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/libavfilter/framerate.h b/libavfilter/framerate.h index 8048dfa36a..3d8200b2fe

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

2019-09-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/framerate.h| 3 +- libavfilter/vf_framerate.c | 58 +- 2 files changed, 27 insertions(+), 34 deletions(-) diff --git a/libavfilter/framerate.h b/libavfilter/framerate.h index

[FFmpeg-devel] [PATCH v2] doc/filters: add 4x4 layout example for xstack filter

2019-09-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index e41384aed8..9e76af36a3 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@

[FFmpeg-devel] [PATCH v4 1/4] avutil/avstring: support input path as a null pointer or empty string

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

[FFmpeg-devel] [PATCH v4 3/4] avformat/hlsenc: replace with av_dirname to get the directory

2019-09-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index d663785e4a..753addcbde 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH v4 4/4] avformat/hlsenc: replace with av_freep for all av_free

2019-09-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 64 ++-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 753addcbde..784a2b5ec0 100644 --- a/libavformat/hlsenc.c +++

<    1   2   3   4   5   6   7   8   9   10   >