From: Jun Zhao
fix mixed declarations and code in C90 after last change
Signed-off-by: Jun Zhao
---
libavfilter/vf_nlmeans.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_nlmeans.c b/libavfilter/vf_nlmeans.c
index 8d47f9d..7497df2 100644
From: Jun Zhao
accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii)
data type, it will have a risk of an integral value becoming larger than
the 32-bits integer capacity and resulting in an integer overflow. For
this risk, add a checking with warning message.
Signed-off
From: Jun Zhao
accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii)
data type, it will have a risk of an integral value becoming larger than
the 32-bits integer capacity and resulting in an integer overflow. For
this risk, add a checking with warning message.
Signed-off
From: Jun Zhao
accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii)
data type, it will have a risk of an integral value becoming larger than
the 32-bits integer capacity and resulting in an integer overflow. For
this risk, add a checking with warning message.
Signed-off
From: Jun Zhao
accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii)
data type, it will have a risk of an integral value becoming larger than
the 32-bits integer capacity and resulting in an integer overflow. For
this risk, add a checking with warning message.
Signed-off
From: Jun Zhao
Add docs about display orientation SEI.
Signed-off-by: Jun Zhao
---
doc/bitstream_filters.texi | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index 076b910..83ef89c 100644
From: Jun Zhao
use AVFILTER_DEFINE_CLASS for defining the filter classes
Signed-off-by: Jun Zhao
---
libavfilter/vf_tonemap.c |8 +---
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/libavfilter/vf_tonemap.c b/libavfilter/vf_tonemap.c
index 98a2c4b..efd4af5 100644
From: Jun Zhao
use AVFILTER_DEFINE_CLASS for defining the filter classes
Signed-off-by: Jun Zhao
---
libavfilter/vf_zscale.c |8 +---
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 6e1d36c..f030927 100644
Use av_ts2str() for AVFrame.pkt_dts/pts to avoid print the
pkt_dts/pts as negative number like:
"0,3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65"
Reviewed-by: Michael Niedermayer
Signed-off-by: Jun Zhao
---
tests/api/api-h264-test.c |7 ---
1 files
Add AV_NOPTS_VALUE check for AVFrame.pkt_dts to avoid print the
pkt_dts as negative number like:
"0,3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65"
Signed-off-by: Jun Zhao
---
tests/api/api-h264-test.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletion
Add AV_NOPTS_VALUE check for AVFrame.pkt_dts to avoid print the
pkt_dts as negative number like:
"0,3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65"
Signed-off-by: Jun Zhao
---
tests/api/api-h264-test.c | 12 +---
1 files changed, 9 insertions(+), 3
Fix build warning like "warning: ISO C90 forbids mixed declarations
and code" after adjust the location for malloc fail check.
Signed-off-by: Jun Zhao
---
libavfilter/tests/integral.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/libavfilter/tests/in
Need to check malloc fail before using it, so adjust the location
in the code.
Signed-off-by: Jun Zhao
---
libavfilter/tests/integral.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/tests/integral.c b/libavfilter/tests/integral.c
index 2a8e8ff
document ranges and defaults for nlmeans options
Signed-off-by: Jun Zhao
---
doc/filters.texi |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index fc98323..d588315 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
-by: Jun Zhao
---
libavfilter/vf_nlmeans.c | 12
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/libavfilter/vf_nlmeans.c b/libavfilter/vf_nlmeans.c
index 82e779c..72eb819 100644
--- a/libavfilter/vf_nlmeans.c
+++ b/libavfilter/vf_nlmeans.c
@@ -43,8 +43,7 @@ struct
-off-by: Jun Zhao
---
libavfilter/vf_nlmeans.c | 12
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/libavfilter/vf_nlmeans.c b/libavfilter/vf_nlmeans.c
index 82e779c..72eb819 100644
--- a/libavfilter/vf_nlmeans.c
+++ b/libavfilter/vf_nlmeans.c
@@ -43,8 +43,7 @@ struct
without this change:
when s=1.0(default value) 63s
s=30.0 72s
after this change:
s=1.0(default value) 56s
s=30.0 63s
Signed-off-by: Jun Zhao
---
libavfilter/vf_nlmeans.c | 12
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git
Commit 673d8cfd518 missed the indent
Signed-off-by: Jun Zhao
---
libavformat/hls.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 63e1abe..8975a87 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -223,9 +223,9
fix the issue like "offset 0x1f85: partial file" when demuxer mp4
from http/https/crypto
Signed-off-by: Jun Zhao
---
libavformat/utils.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 7afef54..92a0
Commit 673d8cfd518 missed the indent
Signed-off-by: Jun Zhao
---
libavformat/hls.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 63e1abe..2dd42ff 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -12,7 +12,7
fix the issue like "offset 0x1f85: partial file" when demuxer mp4
from http/https/crypto
Signed-off-by: Jun Zhao
---
libavformat/utils.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 7afef54..92a0
Update standard libavcodec options for libxavs2
Signed-off-by: Jun Zhao
---
doc/encoders.texi | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index c6fe923..0a85c19 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Cosmetics: Fix indentation for switch statement like the Linux
kerenl style.
Signed-off-by: Jun Zhao
---
libavcodec/libdavs2.c | 34 +-
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index 2846ecf
V2: - Keep the speed_level option (Tks Mark's review)
V1: - Cosmetics: Fix indentation for switch statement in davs2/xavs2
- Rename option speed_level to preset
- Update standard libavcodec options in docs part for libxavs2
Jun Zhao (3):
lavc/libdavs2: Cosmetics: Fix indentation
Cosmetics: Fix indentation for switch statement like the Linux
kerenl style.
Signed-off-by: Jun Zhao
---
libavcodec/libxavs2.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index 1df4148
preset used in more in line with similar encoders.
Signed-off-by: Jun Zhao
---
libavcodec/libxavs2.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index 41c0b63..2ade923 100644
--- a/libavcodec/libxavs2.c
+++ b/libavcodec
Update standard libavcodec options for libxavs2
Signed-off-by: Jun Zhao
---
doc/encoders.texi | 17 ++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index c6fe923..b6f477d 100644
--- a/doc/encoders.texi
+++ b/doc
V1: - Cosmetics: Fix indentation for switch statement in davs2/xavs2
- Rename option speed_level to preset
- Update standard libavcodec options in docs part for libxavs2
Jun Zhao (4):
lavc/libdavs2: Cosmetics: Fix indentation for switch statement
lavc/libxavs2: Cosmetics: Fix
Cosmetics: Fix indentation for switch statement like the Linux
kerenl style.
Signed-off-by: Jun Zhao
---
libavcodec/libdavs2.c | 34 +-
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index 2846ecf
Cosmetics: Fix indentation for switch statement like the Linux
kerenl style.
Signed-off-by: Jun Zhao
---
libavcodec/libxavs2.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index 1df4148
Add docs for libsvt_hevc encoder in encoders.texi and general.texi
Signed-off-by: Jun Zhao
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
---
doc/encoders.texi | 145 +
doc/general.texi | 15 ++
2 files changed, 160 insertions
Steven/Moritz's review).
- Use named parameters in options.
- Follow FFmpeg coding style and Changelog.
V1: - Add libsvt hevc encoder wrapper and a Changelog entry.
Jun Zhao (2):
lavc/svt_hevc: add libsvt hevc encoder wrapper.
doc: Add libsvt_hevc encoder docs
Changelog
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
Changelog|1 +
configure|4 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c |1
V2: - Fix the fate break issue after change options location (Tks Micheal's
review)
V1: - Change some options location in opt table
- Use avctx->frame_rate first for framerate setting in kvazaar encoder
- Indent the code in kvazaar wrapper to follow FFmpeg's coding style
Jun Zhao
indent the code to follow FFmpeg's coding style
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
index 50910b7..a89ca7f 100644
--- a/libavcodec/libkvazaar.c
perfer avctx->frame_rate first than use avctx->time_base when setting
the frame rate to encoder.
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c | 22 --
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkva
Change the some options location in avcodec_options to make code more
readable. And update the fate test with this change.
Signed-off-by: Jun Zhao
---
libavcodec/options_table.h | 48 +-
tests/ref/fate/api-mjpeg-codec-param | 24
perfer avctx->frame_rate first than use avctx->time_base when setting
the frame rate to encoder.
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c | 22 --
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkva
indent the code to follow FFmpeg's coding style
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
index 50910b7..a89ca7f 100644
--- a/libavcodec/libkvazaar.c
Change the some options location in avcodec_options to make code more
readable.
Signed-off-by: Jun Zhao
---
libavcodec/options_table.h | 48 ++--
1 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/libavcodec/options_table.h b/libavcodec
abuffersink need to setting AV_OPT_FLAG_AUDIO_PARAM flag.
Signed-off-by: Jun Zhao
---
libavfilter/buffersink.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index 0f87b54..f9b0b5e 100644
--- a/libavfilter
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
Changelog|1 +
configure|4 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c |1
er wrapper and a Changelog entry.
Jun Zhao (2):
lavc/svt_hevc: add libsvt hevc encoder wrapper.
doc: Add libsvt_hevc encoder docs
Changelog|1 +
configure|4 +
doc/encoders.texi| 157 ++
doc/general.texi | 14 ++
Add docs for libsvt_hevc encoder in encoders.texi and general.texi
Signed-off-by: Jun Zhao
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
---
doc/encoders.texi | 157 +
doc/general.texi | 14 +
2 files changed, 171 insertions
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
Changelog|1 +
configure|4 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c |1
style and Changelog.
V1: - Add libsvt hevc encoder wrapper and a Changelog entry.
Jun Zhao (2):
lavc/svt_hevc: add libsvt hevc encoder wrapper.
doc: Add libsvt_hevc encoder docs
Changelog|1 +
configure|4 +
doc/encoders.texi| 98 ++
Signed-off-by: Jun Zhao
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
---
doc/encoders.texi | 98 +
doc/general.texi |8
2 files changed, 106 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
V1: - Fix slices number warning message dump when setting > driver constraints
- Add mode option to scale_vaapi
Jun Zhao (2):
lavfi/vf_scale_vaapi: add scaling mode setting support.
lavc/vaapi_encode: fix slices number check.
libavcodec/vaapi_encode.c|2 +-
libavfil
before this change, scale_vaapi hard coding the scaling mode, add a
new option "mode" to setting the scaling mode, it can be use to change
scaling algorithm for performance/quality trade off.
Signed-off-by: Jun Zhao
---
libavfilter/vf_scale_vaapi.c | 33 ++
Fix slice number check logic. Only when the user setting slices
number more than the driver constraints dump the rounded up warning
message.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/vaapi_encode.c
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
configure|4 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c |1 +
libavcodec/libsvt_hevc.c | 440
Steven/James's review).
- Add docs part (Tks Steven/Moritz's review).
- Use named parameters in options.
- Follow FFmpeg coding style and Changelog.
V1: - Add libsvt hevc encoder wrapper and a Changelog entry.
Jun Zhao (3):
lavc/svt_hevc: add libsvt hevc encoder wrapper.
doc: Add
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
Changelog |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Changelog b/Changelog
index 1f53ff4..cef444d 100644
--- a/Changelog
+++ b/Changelog
@@ -10,6 +10,7 @@ version :
- truehd_core
Signed-off-by: Jun Zhao
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
---
doc/encoders.texi | 98 +
doc/general.texi |8
2 files changed, 106 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
Changelog |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Changelog b/Changelog
index 1f53ff4..eca6327 100644
--- a/Changelog
+++ b/Changelog
@@ -10,7 +10,7 @@ version :
- truehd_core
wrapper and a Changelog entry.
Jun Zhao (2):
lavc/svt_hevc: add libsvt hevc encoder wrapper.
Changelog: Add new entry for svt-hevc encoder
Changelog|2 +-
configure|4 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c |1 +
libavcodec
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC
Signed-off-by: Huang, Zhengxu
Signed-off-by: hassene
Signed-off-by: Jun Zhao
---
configure|4 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c |1 +
libavcodec/libsvt_hevc.c | 370
fixed the error in Intel(R) Xeon(R) Gold 6152 CPU like:
[libaom-av1 @ 0x469f340] Failed to initialize encoder: Invalid parameter
[libaom-av1 @ 0x469f340] Additional information: g_threads out of range
[..MAX_NUM_THREADS]
Signed-off-by: Jun Zhao
---
libavcodec/libaomenc.c |3 ++-
1 files
‘codec’ is deprecated in AVStream, so used the side data to dump
max_bit_rate in ffprobe. Clean the warning like:
"warning: ‘codec’ is deprecated [-Wdeprecated-declarations]"
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c | 11 +++
1 files changed, 7 insertions(+), 4 deletion
commit 196765a7cc4 missed the reindet.
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c | 28 ++--
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 544786e..dea489d 100644
--- a/fftools/ffprobe.c
+++ b/fftools
dump warning for ffprobe
Jun Zhao (6):
lavfi/buffersrc: Indent the code.
fftools/ffprobe: Indent the code.
fftools/ffmpeg: delete the unused code.
lavc/kvazaar: fix auto thread flag in kvazaar wrapper.
lavf/isom: use side data to save max bit rate for esds box
fftools/ffprobe: fix
commit b0012de420f missed reindent.
Signed-off-by: Jun Zhao
---
libavfilter/buffersrc.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index cd56f8c..0c12650 100644
--- a/libavfilter
Use AV_PKT_DATA_CPB_PROPERTIES to save max bit rate for esds box,
and update fate at the same time.
Signed-off-by: Jun Zhao
---
libavformat/isom.c | 19 ---
tests/ref/fate/adtstoasc_ticket3715 |2 +-
tests/ref/fate/copy-psp
There are come from 2012 ago and have never been used from this
time.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |9 +
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index a12208c..085d6d2 100644
--- a/fftools/ffmpeg.c
+++ b
Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto selecte the thread number.
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto selecte the thread number.
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
This field will be used in demuxer to expose the max bit rate, e,g
in MOV/MP4 esds box.
Signed-off-by: Jun Zhao
---
doc/APIchanges |3 +++
libavformat/avformat.h |6 ++
libavformat/version.h |2 +-
3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/doc
commit 196765a7cc4 missed the reindet.
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c | 28 ++--
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 544786e..dea489d 100644
--- a/fftools/ffprobe.c
+++ b/fftools
Use AVStream.rc_max_rate to save max bit rate for esds box. Now we
don't need to use the AVStream.codec for max bit rate.
Signed-off-by: Jun Zhao
---
libavformat/isom.c |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/libavformat/isom.c b/libavformat/isom.c
index
‘codec’ is deprecated in AVStream, so used the dec_ctx to dump
max_bit_rate in ffprobe. Clean the warning like:
"warning: ‘codec’ is deprecated [-Wdeprecated-declarations]"
Reviewed-by: Moritz Barsnick
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c |7 +++
1 files changed, 3
: - indet ffmpeg/buffersrc
- add auto threads flag for kvazaar
- delete the unused code from ffmpeg
- fix max_bit_rate dump warning for ffprobe
Jun Zhao (7):
lavfi/buffersrc: Indent the code.
fftools/ffprobe: Indent the code.
fftools/ffmpeg: delete the unused code.
lavc/kvazaar: fix
commit b0012de420f missed reindent.
Signed-off-by: Jun Zhao
---
libavfilter/buffersrc.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index cd56f8c..0c12650 100644
--- a/libavfilter
There are come from 2012 ago and have never been used from this
time.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |9 +
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index a12208c..085d6d2 100644
--- a/fftools/ffmpeg.c
+++ b
commit b0012de420f missed reindent.
Signed-off-by: Jun Zhao
---
libavfilter/buffersrc.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index cd56f8c..0c12650 100644
--- a/libavfilter
V2: - fix max_bit_rate dump change break the fate test.
(based on Micheal/Moritz's review)
V1: - indet ffmpeg/buffersrc
- add auto threads flag for kvazaar
- delete the unused code from ffmpeg
- fix max_bit_rate dump warning for ffprobe
Jun Zhao (5):
lavfi/buffersrc: Indent
There are come from 2012 ago and have never been used from this
time.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |9 +
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index a12208c..085d6d2 100644
--- a/fftools/ffmpeg.c
+++ b
Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto selecte the thread number.
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
commit 196765a7cc4 missed the reindet.
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c | 28 ++--
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index ab0dbff..f8c5f33 100644
--- a/fftools/ffprobe.c
+++ b/fftools
‘codec’ is deprecated in AVStream, so used the dec_ctx to dump
max_bit_rate in ffprobe. Clean the warning like:
"warning: ‘codec’ is deprecated [-Wdeprecated-declarations]"
Reviewed-by: Moritz Barsnick
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c |6 ++
1 files changed, 2
There are come from 2012 ago and have never been used from this
time.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |9 +
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index a12208c..085d6d2 100644
--- a/fftools/ffmpeg.c
+++ b
Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto select the thread number.
Signed-off-by: Jun Zhao
---
libavcodec/libkvazaar.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
‘codec’ is deprecated in AVStream, so used the dec_ctx to dump
max_bit_rate in ffprobe. Clean the warning like:
"warning: ‘codec’ is deprecated [-Wdeprecated-declarations]"
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
commit b0012de420f missed reindent.
Signed-off-by: Jun Zhao
---
libavfilter/buffersrc.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index cd56f8c..0c12650 100644
--- a/libavfilter
commit 196765a7cc4 missed the reindet.
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c | 28 ++--
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 280db78..d589893 100644
--- a/fftools/ffprobe.c
+++ b/fftools
V1: - indet ffmpeg/buffersrc
- add auto threads flag for kvazaar
- delete the unused code from ffmpeg
- fix max_bit_rate dump warning for ffprobe
Jun Zhao (5):
lavfi/buffersrc: Indent the code.
fftools/ffprobe: fix max_bit_rate dump.
fftools/ffprobe: Indent the code.
fftools
Add a new option "abr_pipeline" with mutil-thread to improve the 1:N
transcode performance, currently, the code just as a PoC(proof of
concept) prototype, and post it to maillist for RFC(Requect for
Comment).
Jun Zhao (1):
ffmpeg: Improved the performance of 1:N for adapti
+enc
Improved ~6.1%
Signed-off-by: Wang, Shaofei
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c| 236 ---
fftools/ffmpeg.h| 12 +++
fftools/ffmpeg_filter.c |6 +
fftools/ffmpeg_opt.c|6 +-
4 files changed, 246 insertions
move the variable declaration at start of upper for block and
remove the redundant brace.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 9dc42f5..68b8e05 100644
--- a/fftools
They are come from 2003 and delete them.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index da4259a..9dc42f5 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1210,11 +1210,7
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c | 128 +++---
1 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 68b8e05..38c21e9 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1193,27
V2: - split the patch as Carl's comment.
- more details in commit message as Micheal's comment.
Jun Zhao (3):
fftools/ffmpeg: Remove the micor like "#if 1"
fftools/ffmpeg: Put the variable declaration at uppper for block.
fftools/ffmpeg: Indent the code
fftools/ffmpe
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c | 69 ++---
1 files changed, 34 insertions(+), 35 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index e989e7a..dbcc9cf 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1488,7
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c | 62 -
1 files changed, 28 insertions(+), 34 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index da4259a..e989e7a 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1193,33
Add extra codec-specific bit rate control configuration callback
interface.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode.c |9 +
libavcodec/vaapi_encode.h |3 +++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec
Add mb_rate_control option docs for h264_vaapi encoder.
Signed-off-by: Jun Zhao
---
doc/encoders.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 899faac..6851e75 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Add sliding_window docs for hevc_vaapi encoder.
Signed-off-by: Jun Zhao
---
doc/encoders.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index c558b76..1987686 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Sliding window control is a feature to reduce the instant bitrate
fluctuation, and occasional big frame size for intra and scene
change frames are allowed. And the fluctuation level can be
controlled by max bit rate.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h264.c | 13
Add sliding_window docs for h264_vaapi encoder.
Signed-off-by: Jun Zhao
---
doc/encoders.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 6851e75..c558b76 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Sliding window control is a feature to reduce the instant bitrate
fluctuation, and occasional big frame size for intra and scene
change frames are allowed. And the fluctuation level can be
controlled by max bit rate.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h265.c | 24
V1:
- add codec-specific bit rate control callback.
- enable macro block level bit rate control in h264_vaapi encoder and update
the docs.
- enable sliding windows in [h264|hevc]_vaapi encoder and update the docs.
Jun Zhao (7):
lavc/vaapi_encode: Add codec-specific bit rate control callback
401 - 500 of 1020 matches
Mail list logo