On Wed, 2020-12-02 at 09:52 +0800, wenbin.c...@intel.com wrote:
> From: Wenbinc-Bin
>
> The max_frame_size parameter is set only when codec is h264. Now I add
> hevc in that conditional statement.
>
> Signed-off-by: Wenbin CHEN
> ---
> libavcodec/qsvenc.c | 2 +-
> 1 file changed, 1 insertion(
Hi Haihao,
Thanks for the review.
This patch just moves all code from qsvdec_h2645.c to qsvdec.c.
The original code in qsvdec_h2645.c did not free the point, so the code
will not free it.
The av_freep(&s->qsv.load_plugins); will addressed by
https://patchwork.ffmpeg.org/project/ffmpeg/patch/2020112
> Hi Haihao,
> If you check the final code. The QSVOtherContext and QSVH2645Context will
> be unified to QSVDecContext. It's no need to pass the priv_data_size.
>
> In the final version, we have two macros
> DEFINE_QSV_DECODER_WITH_OPTION for h265 only. Maybe av1 can use it for film
> grain too.
Hi Haihao,
If you check the final code. The QSVOtherContext and QSVH2645Context will
be unified to QSVDecContext. It's no need to pass the priv_data_size.
In the final version, we have two macros
DEFINE_QSV_DECODER_WITH_OPTION for h265 only. Maybe av1 can use it for film
grain too.
DEFINE_QSV_DECO
On Thu, 2020-11-26 at 18:20 +0800, Xu Guangxin wrote:
> ---
> libavcodec/Makefile | 8 +-
> libavcodec/qsvdec.c | 215 -
> libavcodec/qsvdec_h2645.c | 248 --
> 3 files changed, 217 insertions(+), 254 deletions(-)
>
> ---
> libavcodec/qsvdec_other.c | 188 --
> 1 file changed, 36 insertions(+), 152 deletions(-)
>
> diff --git a/libavcodec/qsvdec_other.c b/libavcodec/qsvdec_other.c
> index 2775e07955..266ac9f2e5 100644
> --- a/libavcodec/qsvdec_other.c
> +++ b/libavcodec/q
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cscd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c
index d50ddd6258..6c72178f83 100644
--- a/libavcodec/cscd.c
+++ b/libavcodec/cscd.c
@@ -175,6 +175,6 @@ AVCodec ff_cscd_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dfa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dfa.c b/libavcodec/dfa.c
index 31c6c39089..cd3a9d97a3 100644
--- a/libavcodec/dfa.c
+++ b/libavcodec/dfa.c
@@ -424,4 +424,5 @@ AVCodec ff_dfa_decoder = {
.close = df
The size of ff_qexp is only 32 bytes, but the code to generate it at
runtime takes 47 bytes (GCC 9.3, x64, -O3 in an av_cold function); so
just hardcode it.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/snow.c | 10 --
libavcodec/snow.h | 2 +-
libavcodec/snowdata.h | 10
Up until now, ff_h263_rl_inter and ff_rl_intra_aic were initialized by
both ituh263dec and ituh263enc; the result was that although
ff_h263_encode_init() guards the initialization of its static data with
an AVOnce, initializing the aforementioned RLTables was still not
thread-safe because ff_h263_d
This already makes initializing all the objects exclusively initialized
by ff_h263_encode_init() thread-safe; this includes the static tables of
ituh263enc.c: uni_h263_int*_rl_len, mv_penalty, fcode_tab as well as
umv_fcode_tab; it does not ff_h263_rl_inter as well as ff_rl_intra_aic,
as these are
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ituh263enc.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c
index b1b78218a5..e1debcf63b 100644
--- a/libavcodec/ituh263enc.c
+++ b/libavcodec/ituh263enc.c
@@
The usage of a static variable presents a potential for data races and
means that this function can't be used in init functions of codecs with
FF_CODEC_CAP_INIT_THREADSAFE (unless of course one presumes that
everything is alright in which case the error is not triggered; but then
the whole function
Commits d49210788b0836d56dd872d517fe73f83b080101 and
ee8ce211ead04c8684da0c9c143814e57e9b9eda set the
FF_CODEC_CAP_INIT_THREADSAFE flag for the Snow encoder resp. decoder;
yet these codecs init functions aren't threadsafe at all:
ff_snow_common_init() initializes static data, but there is no check
The Bink video decoder uses VLCs; the longest codes of these VLCs have
different lengths, yet they are all so small that each VLC is read in
one go, so that the number of elements in the VLC table actually used by
each table is 1 << nb_bits, where nb_bits is the length of the longest
code. Yet when
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bink.c | 38 --
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index ec164d0165..f1fa9c0071 100644
--- a/libavcodec/bink.c
+++ b/libavcodec/bink.c
@@ -23,6 +
Signed-off-by: Andreas Rheinhardt
---
libavcodec/kmvc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index ffe6a142e9..1d6260ae87 100644
--- a/libavcodec/kmvc.c
+++ b/libavcodec/kmvc.c
@@ -425,4 +425,5 @@ AVCodec ff_kmvc_decoder = {
.init
ff_ass_subtitle_header_full() just uses av_asprintf() and is therefore
thread-safe itself.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ccaption_dec.c | 2 ++
libavcodec/jacosubdec.c | 2 ++
libavcodec/microdvddec.c | 2 ++
libavcodec/movtextdec.c | 2 ++
libavcodec/mpl2dec.c | 2 +
Signed-off-by: Andreas Rheinhardt
---
libavcodec/assdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/assdec.c b/libavcodec/assdec.c
index f0b1069cd2..78df1c30ad 100644
--- a/libavcodec/assdec.c
+++ b/libavcodec/assdec.c
@@ -23,6 +23,7 @@
#include "avcodec.h"
#include "a
Note: This decoder uses a static variable in save_display_set() (which
is only enabled if DEBUG is defined); yet said function can't be reached
from the decoder's init function at all, so it is no problem for
setting the FF_CODEC_CAP_INIT_THREADSAFE flag.
Signed-off-by: Andreas Rheinhardt
---
li
These pointers sometimes point to static storage (namely to
default_clut), so adding const to the pointed-to type is important to
ensure that one does not accidentally modify something that is not owned
by a single AVCodecContext.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dvbsubdec.c | 8
Fixes potential heap-buffer-overflow.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ass_split.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/ass_split.c b/libavcodec/ass_split.c
index c2c388d9f0..189272bbd9 100644
--- a/libavcodec/ass_split.c
+++ b/libavcodec
They all rely on ff_ass_split(), which does not have any static state.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/movtextenc.c | 2 +-
libavcodec/srtenc.c | 4
libavcodec/webvttenc.c | 2 ++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/libavcodec/movtextenc.c b/l
Signed-off-by: Andreas Rheinhardt
---
libavcodec/assenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/assenc.c b/libavcodec/assenc.c
index a6e1d5d8b9..f3ced556de 100644
--- a/libavcodec/assenc.c
+++ b/libavcodec/assenc.c
@@ -23,6 +23,7 @@
#include "avcodec.h"
#include "a
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sonic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index d8254f3a2a..4f75b2d985 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -1082,7 +1082,7 @@ AVCodec ff_sonic_decoder
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sonic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index a285228bbc..d8254f3a2a 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -1097,7 +1097,7 @@ AVCodec ff_sonic_enc
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dca_lbr.c | 10 +-
libavcodec/dca_lbr.h | 1 +
libavcodec/dcadec.c | 14 +++---
libavcodec/dcahuff.c | 6 --
4 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/libavcodec/dca_lbr.c b/libavcodec/dca_lbr.c
index 7
Signed-off-by: Andreas Rheinhardt
---
libavcodec/qtrleenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c
index 8b0edf7b3d..63d7bb33a9 100644
--- a/libavcodec/qtrleenc.c
+++ b/libavcodec/qtrleenc.c
@@ -413,5 +413,5 @@ AVCodec ff_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/wavpackenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c
index 0c85fbe374..ee9cd92c32 100644
--- a/libavcodec/wavpackenc.c
+++ b/libavcodec/wavpackenc.c
@@ -2973,4 +2973,5 @@ AVCodec ff_wavp
Signed-off-by: Andreas Rheinhardt
---
libavcodec/binkaudio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index 2ee6f95f78..7d8cad1ec5 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -346,7 +346,7 @@ AV
Signed-off-by: Andreas Rheinhardt
---
libavcodec/binkaudio.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index f25aea0d64..2ee6f95f78 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -69,7 +69,7 @@
Signed-off-by: Andreas Rheinhardt
---
libavcodec/qtrle.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c
index 6bdde75df4..2fce144c52 100644
--- a/libavcodec/qtrle.c
+++ b/libavcodec/qtrle.c
@@ -600,4 +600,5 @@ AVCodec ff_qtrle_decoder = {
.decode
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegaudioenc_fixed.c | 1 +
libavcodec/mpegaudioenc_float.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/libavcodec/mpegaudioenc_fixed.c b/libavcodec/mpegaudioenc_fixed.c
index 022b6fedd3..eec2ecb579 100644
--- a/libavcodec/mpegaudioenc_fi
Signed-off-by: Andreas Rheinhardt
---
libavcodec/binkaudio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index 7b5965ede1..f25aea0d64 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -344,6 +344,7 @@ AVCodec ff_binkaudio
Signed-off-by: Andreas Rheinhardt
---
libavcodec/012v.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/012v.c b/libavcodec/012v.c
index b5a4066656..7231819875 100644
--- a/libavcodec/012v.c
+++ b/libavcodec/012v.c
@@ -152,4 +152,5 @@ AVCodec ff_zero12v_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sanm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c
index 9c11600b76..599ecc3737 100644
--- a/libavcodec/sanm.c
+++ b/libavcodec/sanm.c
@@ -470,10 +470,8 @@ static av_cold int init_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/alac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 9040673528..abcf032acc 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -626,6 +626,6 @@ AVCodec ff_alac_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sanm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c
index debd0c..9c11600b76 100644
--- a/libavcodec/sanm.c
+++ b/libavcodec/sanm.c
@@ -1525,4 +1525,5 @@ AVCodec ff_sanm_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/takdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 9fa1cb1f7f..af491d96e7 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -952,4 +952,5 @@ AVCodec ff_tak_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v410dec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c
index 7ad5eb8fb5..87c98f75ba 100644
--- a/libavcodec/v410dec.c
+++ b/libavcodec/v410dec.c
@@ -124,5 +124,6 @@ AVCodec ff_v41
Signed-off-by: Andreas Rheinhardt
---
libavcodec/tiertexseqv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c
index 91c8314379..9610989a6f 100644
--- a/libavcodec/tiertexseqv.c
+++ b/libavcodec/tiertexseqv.c
@@ -271,4 +271,5 @@ AVCodec ff_t
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vmnc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 7f441bc4bd..43f8c2aedb 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -582,4 +582,5 @@ AVCodec ff_vmnc_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v308dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c
index dd53fbded4..377665dbff 100644
--- a/libavcodec/v308dec.c
+++ b/libavcodec/v308dec.c
@@ -80,4 +80,5 @@ AVCodec ff_v308_decoder = {
.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v210x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index f6a453aabf..70b2da55f6 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -128,4 +128,5 @@ AVCodec ff_v210x_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v210dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 044d35338b..0dec8a9769 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -226,4 +226,5 @@ AVCodec ff_v210_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vcr1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index 28a5eec7d1..e19bac1ec7 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -130,4 +130,5 @@ AVCodec ff_vcr1_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vqavideo.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index 05f77fd1c8..004e11ed7f 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -171,17 +171,1
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vqavideo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index f45390cfe5..05f77fd1c8 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -653,4 +653,5 @@ AVCodec ff_vqa_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vb.c b/libavcodec/vb.c
index fe419c7663..278d772082 100644
--- a/libavcodec/vb.c
+++ b/libavcodec/vb.c
@@ -288,5 +288,5 @@ AVCodec ff_vb_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bmvaudio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/bmvaudio.c b/libavcodec/bmvaudio.c
index b1587ab366..0292b0be1e 100644
--- a/libavcodec/bmvaudio.c
+++ b/libavcodec/bmvaudio.c
@@ -86,4 +86,5 @@ AVCodec ff_bmv_audio_decoder
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ttaenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/ttaenc.c b/libavcodec/ttaenc.c
index ac8a432873..239136cae6 100644
--- a/libavcodec/ttaenc.c
+++ b/libavcodec/ttaenc.c
@@ -214,4 +214,5 @@ AVCodec ff_tta_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/tta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index e68e4fbb36..5c736779cf 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -425,4 +425,5 @@ AVCodec ff_tta_decoder = {
.decode = tt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vmdaudio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vmdaudio.c b/libavcodec/vmdaudio.c
index dfbd49fd84..4f9a827c36 100644
--- a/libavcodec/vmdaudio.c
+++ b/libavcodec/vmdaudio.c
@@ -237,4 +237,5 @@ AVCodec ff_vmdaudio_decoder
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vima.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/libavcodec/vima.c b/libavcodec/vima.c
index b4620acf6b..b0a2448ede 100644
--- a/libavcodec/vima.c
+++ b/libavcodec/vima.c
@@ -26,13 +26,13 @@
*/
Signed-off-by: Andreas Rheinhardt
---
libavcodec/adxdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c
index 35b20c5cf4..70cb077545 100644
--- a/libavcodec/adxdec.c
+++ b/libavcodec/adxdec.c
@@ -203,4 +203,5 @@ AVCodec ff_adpcm_adx_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/truespeech.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c
index 3cdae8c556..06f83d1657 100644
--- a/libavcodec/truespeech.c
+++ b/libavcodec/truespeech.c
@@ -362,4 +362,5 @@ AVCodec ff_truesp
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ra288.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index 8df17891b1..a5a3478513 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -245,4 +245,5 @@ AVCodec ff_ra_288_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bintext.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 1aeed21f51..e30715368e 100644
--- a/libavcodec/bintext.c
+++ b/libavcodec/bintext.c
@@ -224,6 +224,7 @@ AVCodec ff_bintext_decoder =
Signed-off-by: Andreas Rheinhardt
---
libavcodec/truemotion1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index 94782fef4b..03ba916403 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -920,5 +920,5
Signed-off-by: Andreas Rheinhardt
---
libavcodec/targa_y216dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/targa_y216dec.c b/libavcodec/targa_y216dec.c
index 443d48a92f..426b365e26 100644
--- a/libavcodec/targa_y216dec.c
+++ b/libavcodec/targa_y216dec.c
@@ -81,4 +81,5 @@ AVCo
Signed-off-by: Andreas Rheinhardt
---
libavcodec/kgv1dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c
index a6bd9400ac..1514f5d680 100644
--- a/libavcodec/kgv1dec.c
+++ b/libavcodec/kgv1dec.c
@@ -187,4 +187,5 @@ AVCodec ff_kgv1_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/idcinvideo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c
index 6b2d8087ae..941a89d36d 100644
--- a/libavcodec/idcinvideo.c
+++ b/libavcodec/idcinvideo.c
@@ -258,4 +258,5 @@ AVCodec ff_idcin_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/4xm.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 336c651d31..00a8e0b1f3 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -30,6 +30,7 @@
#include "libavutil/frame.h"
Signed-off-by: Andreas Rheinhardt
---
libavcodec/8svx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
index 092dbaae04..97a05037a1 100644
--- a/libavcodec/8svx.c
+++ b/libavcodec/8svx.c
@@ -196,6 +196,7 @@ AVCodec ff_eightsvx_fib_decoder = {
.capab
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bitpacked.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/bitpacked.c b/libavcodec/bitpacked.c
index 952ba73a32..be3cdef2ea 100644
--- a/libavcodec/bitpacked.c
+++ b/libavcodec/bitpacked.c
@@ -150,4 +150,5 @@ AVCodec ff_bitpacked_d
Signed-off-by: Andreas Rheinhardt
---
libavcodec/argo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/argo.c b/libavcodec/argo.c
index 6b4d449935..57becbd416 100644
--- a/libavcodec/argo.c
+++ b/libavcodec/argo.c
@@ -736,5 +736,5 @@ AVCodec ff_argo_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/arbc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/arbc.c b/libavcodec/arbc.c
index 06970f140b..20de41ab11 100644
--- a/libavcodec/arbc.c
+++ b/libavcodec/arbc.c
@@ -223,5 +223,5 @@ AVCodec ff_arbc_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/adxenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/adxenc.c b/libavcodec/adxenc.c
index 93b902b0e1..ce7a76d51b 100644
--- a/libavcodec/adxenc.c
+++ b/libavcodec/adxenc.c
@@ -198,4 +198,5 @@ AVCodec ff_adpcm_adx_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/alacenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 9d135d1350..5decf8588c 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -672,4 +672,5 @@ AVCodec ff_alac_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/s302menc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/s302menc.c b/libavcodec/s302menc.c
index b04a54e482..1e1d639420 100644
--- a/libavcodec/s302menc.c
+++ b/libavcodec/s302menc.c
@@ -185,4 +185,5 @@ AVCodec ff_s302m_encoder =
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v308enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c
index 0891251dea..67b8dccbca 100644
--- a/libavcodec/v308enc.c
+++ b/libavcodec/v308enc.c
@@ -76,4 +76,5 @@ AVCodec ff_v308_encoder = {
.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v410enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c
index 5e2450279f..a4f91d77e3 100644
--- a/libavcodec/v410enc.c
+++ b/libavcodec/v410enc.c
@@ -88,4 +88,5 @@ AVCodec ff_v410_encoder = {
.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/targaenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c
index 79030a012b..012409b48d 100644
--- a/libavcodec/targaenc.c
+++ b/libavcodec/targaenc.c
@@ -229,4 +229,5 @@ AVCodec ff_targa_encoder =
Signed-off-by: Andreas Rheinhardt
---
libavcodec/tiffenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 6661e59d31..8e56f1b6ee 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -594,4 +594,5 @@ AVCodec ff_tiff_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v210enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 16e8810271..678affbe2a 100644
--- a/libavcodec/v210enc.c
+++ b/libavcodec/v210enc.c
@@ -166,4 +166,5 @@ AVCodec ff_v210_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bmpenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c
index e829d68475..13154c706c 100644
--- a/libavcodec/bmpenc.c
+++ b/libavcodec/bmpenc.c
@@ -177,4 +177,5 @@ AVCodec ff_bmp_encoder = {
A
Signed-off-by: Andreas Rheinhardt
---
libavcodec/utvideoenc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c
index eea685f600..5dbfed59a3 100644
--- a/libavcodec/utvideoenc.c
+++ b/libavcodec/utvideoenc.c
@@ -195,7 +195,6 @
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cdgraphics.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cdgraphics.c b/libavcodec/cdgraphics.c
index 965f43684a..24e1771b9e 100644
--- a/libavcodec/cdgraphics.c
+++ b/libavcodec/cdgraphics.c
@@ -394,4 +394,5 @@ AVCodec ff_cdgrap
Signed-off-by: Andreas Rheinhardt
---
libavcodec/utvideoenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c
index 5c87eb50ac..eea685f600 100644
--- a/libavcodec/utvideoenc.c
+++ b/libavcodec/utvideoenc.c
@@ -701,4 +701,5 @@ AVCodec ff_utvide
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cinepak.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c
index 9c5b254231..17148a3577 100644
--- a/libavcodec/cinepak.c
+++ b/libavcodec/cinepak.c
@@ -522,4 +522,5 @@ AVCodec ff_cinepak_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rawenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index d181b74570..425aae75c4 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -92,4 +92,5 @@ AVCodec ff_rawvideo_encoder = {
.i
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cinepakenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index cc125ed39e..9eaa972a9c 100644
--- a/libavcodec/cinepakenc.c
+++ b/libavcodec/cinepakenc.c
@@ -1189,5 +1189,5 @@
Signed-off-by: Andreas Rheinhardt
---
libavcodec/avuienc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c
index 2091309e7e..45580183c2 100644
--- a/libavcodec/avuienc.c
+++ b/libavcodec/avuienc.c
@@ -100,4 +100,5 @@ AVCodec ff_avui_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v408enc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/v408enc.c b/libavcodec/v408enc.c
index d2d84d9c40..7ef26c7d3d 100644
--- a/libavcodec/v408enc.c
+++ b/libavcodec/v408enc.c
@@ -82,6 +82,7 @@ AVCodec ff_ayuv_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cngenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cngenc.c b/libavcodec/cngenc.c
index b622d7bbda..ddc44eb515 100644
--- a/libavcodec/cngenc.c
+++ b/libavcodec/cngenc.c
@@ -111,5 +111,5 @@ AVCodec ff_comfortnoi
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cook.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index f552a57415..60b6bd6c19 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -44,6 +44,7 @@
#include "libavutil/chan
This decoder has the FF_CODEC_CAP_INIT_CLEANUP flag set.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cook.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 93c51f5829..f552a57415 100644
--- a/libavcodec/cook.c
+++ b/libavc
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cook.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 9582495442..93c51f5829 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -227,7 +227,7 @@ static av_cold int init_cook_ml
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cpia.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index bf09e1a5db..5f12a99a83 100644
--- a/libavcodec/cpia.c
+++ b/libavcodec/cpia.c
@@ -230,4 +230,5 @@ AVCodec ff_cpia_decoder = {
.close
Hi Mark & Zong,
Any suggestion on this?
thanks
On Thu, Nov 26, 2020 at 6:21 PM Xu Guangxin wrote:
> ---
> libavcodec/qsvdec_other.c | 188 --
> 1 file changed, 36 insertions(+), 152 deletions(-)
>
> diff --git a/libavcodec/qsvdec_other.c b/libavcodec/qsvdec_o
From: Wenbinc-Bin
The max_frame_size parameter is set only when codec is h264. Now I add
hevc in that conditional statement.
Signed-off-by: Wenbin CHEN
---
libavcodec/qsvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 2b
On Tue, 2020-12-01 at 22:42 +, Artem Galin wrote:
> Since 1.33 API version
>
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/api/include/mfxstructures.h#L2088
>
> Signed-off-by: Artem Galin
> ---
> libavfilter/vf_scale_qsv.c | 17 +
> 1 file changed, 17 insertions(+)
On Tue, 2020-12-01 at 22:40 +, Artem Galin wrote:
> Explicitly set region of interest for input surfaces.
>
> Signed-off-by: Artem Galin
> ---
> libavfilter/vf_scale_qsv.c | 9 ++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/libavfilter/vf_scale_qsv.c b/libavfil
On Mon, 2020-11-30 at 13:49 +0800, wenbin.c...@intel.com wrote:
> From: Wenbinc-Bin
>
> The max_frame_size parameter is set only when codec is h264. Now I add
> hevc in that conditional statement.
>
> Signed-off-by: Wenbin CHEN
Please remove the spaces at the beginning of each line in
Explicitly set region of interest for input surfaces.
Signed-off-by: Artem Galin
---
libavfilter/vf_scale_qsv.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 5064dcbb60..321adbbb18 100644
--- a/libavfilt
Since 1.33 API version
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/api/include/mfxstructures.h#L2088
Signed-off-by: Artem Galin
---
libavfilter/vf_scale_qsv.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.
On 12/1/2020 5:19 PM, Anton Khirnov wrote:
This will be useful in the following commit.
---
libavcodec/jpeglsdec.c| 2 +-
libavcodec/mjpegdec.c | 71 +--
libavcodec/mjpegdec.h | 8 ++--
libavcodec/sp5xdec.c | 28 ++---
On 12/1/2020 5:19 PM, Anton Khirnov wrote:
It fundamentally depends on deprecated lavf internals.
---
tests/api/Makefile | 1 -
tests/api/api-codec-param-test.c | 256 ---
tests/fate/api.mak | 8 -
Should also delete the two ref fil
This previously returned ENOMEM because the failure was detected during
av_hwdevice_ctx_alloc(), which is not helpful. Check earlier in order to
return the correct ENOSYS instead.
---
Before:
$ ./ffmpeg_g -init_hw_device vaapi=d0:/dev/dri/renderD128 -init_hw_device
dxva2=d1@d0
...
Device creati
SMVJPEG stores frames as slices of a big JPEG image. The decoder is
implemented as a wrapper that instantiates a full internal MJPEG
decoder, then forwards the decoded frames with offset data pointers.
This is unnecessarily complex and fragile, not supporting useful decoder
capabilities like direct
1 - 100 of 114 matches
Mail list logo