Skip to content

Commit

Permalink
Fix 0055 main10sp rebase conflict and update submodule
Browse files Browse the repository at this point in the history
Submodule ffmpeg e4c127271198..3ce6fa6b6d09

Signed-off-by: U. Artie Eoff <[email protected]>
  • Loading branch information
uartie authored and intel-media-ci committed Sep 13, 2022
1 parent 6c0c22e commit b689cdb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion ffmpeg
Submodule ffmpeg updated 83 files
+1 −0 Changelog
+37 −4 doc/encoders.texi
+1 −0 libavcodec/Makefile
+30 −0 libavcodec/aarch64/me_cmp_init_aarch64.c
+385 −0 libavcodec/aarch64/me_cmp_neon.S
+1 −1 libavcodec/aarch64/vp8dsp.h
+1 −0 libavcodec/allcodecs.c
+1 −1 libavcodec/arm/vp8dsp.h
+3 −3 libavcodec/arm/vp8dsp_armv6.S
+433 −0 libavcodec/bonk.c
+7 −0 libavcodec/codec_desc.c
+1 −0 libavcodec/codec_id.h
+8 −0 libavcodec/dca_core.c
+18 −4 libavcodec/flac_parser.c
+15 −6 libavcodec/fmvc.c
+16 −15 libavcodec/loongarch/vp8_mc_lsx.c
+14 −14 libavcodec/loongarch/vp8dsp_loongarch.h
+55 −55 libavcodec/mips/vp8_mc_msa.c
+72 −72 libavcodec/mips/vp8dsp_mips.h
+6 −6 libavcodec/ppc/vp8dsp_altivec.c
+169 −1 libavcodec/qsvenc.c
+20 −0 libavcodec/qsvenc.h
+1 −0 libavcodec/qsvenc_h264.c
+1 −0 libavcodec/qsvenc_hevc.c
+13 −15 libavcodec/ralf.c
+2 −2 libavcodec/version.h
+3 −11 libavcodec/vp8.c
+0 −5 libavcodec/vp8.h
+7 −7 libavcodec/vp8dsp.c
+1 −8 libavcodec/vp8dsp.h
+1 −1 libavcodec/x86/vp8dsp.asm
+29 −29 libavcodec/x86/vp8dsp_init.c
+2 −2 libavfilter/vf_gblur.c
+7 −4 libavfilter/vf_showinfo.c
+1 −0 libavformat/Makefile
+1 −0 libavformat/allformats.c
+98 −0 libavformat/bonk.c
+1 −0 libavformat/hls.c
+0 −4 libavformat/mov.c
+8 −3 libavformat/riffdec.c
+2 −2 libavformat/version.h
+1 −1 libavutil/tx.c
+55 −38 libavutil/tx_template.c
+2 −0 libavutil/x86/intreadwrite.h
+5 −5 libswscale/input.c
+6 −0 libswscale/loongarch/Makefile
+202 −0 libswscale/loongarch/input_lasx.c
+1,982 −0 libswscale/loongarch/output_lasx.c
+52 −0 libswscale/loongarch/rgb2rgb_lasx.c
+95 −0 libswscale/loongarch/swscale_init_loongarch.c
+972 −0 libswscale/loongarch/swscale_lasx.c
+78 −0 libswscale/loongarch/swscale_loongarch.h
+321 −0 libswscale/loongarch/yuv2rgb_lasx.c
+189 −59 libswscale/output.c
+2 −0 libswscale/rgb2rgb.c
+1 −0 libswscale/rgb2rgb.h
+2 −0 libswscale/swscale.c
+2 −0 libswscale/swscale_internal.h
+18 −7 libswscale/utils.c
+1 −1 libswscale/version.h
+2 −0 libswscale/yuv2rgb.c
+2 −1 tests/fate-run.sh
+6 −0 tests/fate/matroska.mak
+1 −0 tests/ref/fate/filter-pixdesc-p012be
+1 −0 tests/ref/fate/filter-pixdesc-p012le
+1 −0 tests/ref/fate/filter-pixdesc-xv30le
+1 −0 tests/ref/fate/filter-pixdesc-xv36le
+1 −0 tests/ref/fate/filter-pixdesc-y210le
+1 −0 tests/ref/fate/filter-pixdesc-y212le
+6 −0 tests/ref/fate/filter-pixfmts-copy
+4 −0 tests/ref/fate/filter-pixfmts-crop
+6 −0 tests/ref/fate/filter-pixfmts-field
+4 −0 tests/ref/fate/filter-pixfmts-fieldorder
+4 −0 tests/ref/fate/filter-pixfmts-hflip
+6 −0 tests/ref/fate/filter-pixfmts-il
+6 −0 tests/ref/fate/filter-pixfmts-null
+1 −0 tests/ref/fate/filter-pixfmts-pad
+6 −0 tests/ref/fate/filter-pixfmts-scale
+4 −0 tests/ref/fate/filter-pixfmts-transpose
+6 −0 tests/ref/fate/filter-pixfmts-vflip
+1 −1 tests/ref/fate/gaplessenc-itunes-to-ipod-aac
+32 −0 tests/ref/fate/webm-av1-extradata-update
+1 −0 tools/target_dec_fuzzer.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From b8bdd97364f2f707470baf21ac830e509d377f34 Mon Sep 17 00:00:00 2001
From d4218b5c5d97cac2cd67bdc704c756a241acf922 Mon Sep 17 00:00:00 2001
From: "Chen,Wenbin" <[email protected]>
Date: Thu, 26 Aug 2021 16:52:50 +0800
Subject: [PATCH 55/77] libavcodec/qsvenc_hevc: add main10sp support to
Expand All @@ -19,7 +19,7 @@ Signed-off-by: Wenbin Chen <[email protected]>
3 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index cb3c06bafe..580d48f50e 100644
index 7644621b0e73..0c621e183d13 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -185,6 +185,7 @@ static void dump_video_param(AVCodecContext *avctx, QSVEncContext *q,
Expand All @@ -39,7 +39,7 @@ index cb3c06bafe..580d48f50e 100644
av_log(avctx, AV_LOG_VERBOSE, "profile: %s; level: %"PRIu16"\n",
print_profile(avctx->codec_id, info->CodecProfile), info->CodecLevel);

@@ -343,6 +346,12 @@ static void dump_video_param(AVCodecContext *avctx, QSVEncContext *q,
@@ -344,6 +347,12 @@ static void dump_video_param(AVCodecContext *avctx, QSVEncContext *q,
av_log(avctx, AV_LOG_VERBOSE, "NumTileColumns: %"PRIu16"; NumTileRows: %"PRIu16"\n",
exthevctiles->NumTileColumns, exthevctiles->NumTileRows);
}
Expand All @@ -52,7 +52,7 @@ index cb3c06bafe..580d48f50e 100644
}

static void dump_video_vp9_param(AVCodecContext *avctx, QSVEncContext *q,
@@ -956,6 +965,18 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q)
@@ -976,6 +985,18 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q)
q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->exthevctiles;
}

Expand All @@ -71,7 +71,7 @@ index cb3c06bafe..580d48f50e 100644
q->extvsi.VideoFullRange = (avctx->color_range == AVCOL_RANGE_JPEG);
q->extvsi.ColourDescriptionPresent = 0;

@@ -1098,12 +1119,16 @@ static int qsv_retrieve_enc_params(AVCodecContext *avctx, QSVEncContext *q)
@@ -1118,12 +1139,16 @@ static int qsv_retrieve_enc_params(AVCodecContext *avctx, QSVEncContext *q)
.Header.BufferSz = sizeof(hevc_tile_buf),
};

Expand All @@ -90,7 +90,7 @@ index cb3c06bafe..580d48f50e 100644
ext_buffers[ext_buf_num++] = (mfxExtBuffer*)&extradata;
ext_buffers[ext_buf_num++] = (mfxExtBuffer*)&co;

@@ -1125,6 +1150,10 @@ static int qsv_retrieve_enc_params(AVCodecContext *avctx, QSVEncContext *q)
@@ -1145,6 +1170,10 @@ static int qsv_retrieve_enc_params(AVCodecContext *avctx, QSVEncContext *q)
q->exthevctiles_idx = ext_buf_num;
ext_buffers[ext_buf_num++] = (mfxExtBuffer*)&hevc_tile_buf;
}
Expand All @@ -102,18 +102,18 @@ index cb3c06bafe..580d48f50e 100644
q->param.ExtParam = ext_buffers;
q->param.NumExtParam = ext_buf_num;
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index d35a1318f2..1df4e26583 100644
index f2b7ee361fd7..f0ff04975370 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -138,6 +138,7 @@ typedef struct QSVEncContext {
@@ -153,6 +153,7 @@ typedef struct QSVEncContext {
mfxExtMultiFrameControl extmfc;
#endif
mfxExtHEVCTiles exthevctiles;
+ mfxExtHEVCParam exthevcparam;
mfxExtVP9Param extvp9param;

#if QSV_HAVE_OPAQUE
@@ -148,7 +149,7 @@ typedef struct QSVEncContext {
@@ -163,7 +164,7 @@ typedef struct QSVEncContext {

mfxExtVideoSignalInfo extvsi;

Expand All @@ -122,21 +122,21 @@ index d35a1318f2..1df4e26583 100644
int nb_extparam_internal;

mfxExtBuffer **extparam;
@@ -235,6 +236,9 @@ typedef struct QSVEncContext {
float old_i_quant_offset;
float old_b_quant_factor;
float old_b_quant_offset;
@@ -271,6 +272,9 @@ typedef struct QSVEncContext {
int old_min_qp_b;
// This is used for low_delay_brc reset
int old_low_delay_brc;
+
+ int exthevcparam_idx;
+ int main10sp;
} QSVEncContext;

int ff_qsv_enc_init(AVCodecContext *avctx, QSVEncContext *q);
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index e11f5dec4a..53bbab672e 100644
index 6ec623099949..e3becf5cde7d 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -271,6 +271,9 @@ static const AVOption options[] = {
@@ -276,6 +276,9 @@ static const AVOption options[] = {
{ "int_ref_qp_delta", "QP difference for the refresh MBs", OFFSET(qsv.int_ref_qp_delta), AV_OPT_TYPE_INT, { .i64 = INT16_MIN }, INT16_MIN, INT16_MAX, VE },
{ "int_ref_cycle_dist", "Distance between the beginnings of the intra-refresh cycles in frames", OFFSET(qsv.int_ref_cycle_dist), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT16_MAX, VE },

Expand All @@ -147,5 +147,5 @@ index e11f5dec4a..53bbab672e 100644
};

--
2.17.1
2.37.2

0 comments on commit b689cdb

Please sign in to comment.