Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b9a066ae
Commit
b9a066ae
authored
Mar 27, 2019
by
Zhong Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/qsvenc: use the common option "trellis" of AVCodecContext
Signed-off-by:
Zhong Li
<
zhong.li@intel.com
>
parent
4131b061
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
qsvenc.c
libavcodec/qsvenc.c
+4
-1
qsvenc_h264.c
libavcodec/qsvenc_h264.c
+1
-1
qsvenc_hevc.c
libavcodec/qsvenc_hevc.c
+1
-1
qsvenc_mpeg2.c
libavcodec/qsvenc_mpeg2.c
+1
-1
No files found.
libavcodec/qsvenc.c
View file @
b9a066ae
...
...
@@ -683,7 +683,10 @@ FF_ENABLE_DEPRECATION_WARNINGS
#endif
#if QSV_HAVE_TRELLIS
q
->
extco2
.
Trellis
=
q
->
trellis
;
if
(
avctx
->
trellis
>=
0
)
q
->
extco2
.
Trellis
=
(
avctx
->
trellis
==
0
)
?
MFX_TRELLIS_OFF
:
(
MFX_TRELLIS_I
|
MFX_TRELLIS_P
|
MFX_TRELLIS_B
);
else
q
->
extco2
.
Trellis
=
MFX_TRELLIS_UNKNOWN
;
#endif
#if QSV_VERSION_ATLEAST(1, 8)
...
...
libavcodec/qsvenc_h264.c
View file @
b9a066ae
...
...
@@ -181,7 +181,7 @@ static const AVCodecDefault qsv_enc_defaults[] = {
#if FF_API_CODER_TYPE
{
"coder"
,
"-1"
},
#endif
{
"trellis"
,
"-1"
},
{
"flags"
,
"+cgop"
},
#if FF_API_PRIVATE_OPT
{
"b_strategy"
,
"-1"
},
...
...
libavcodec/qsvenc_hevc.c
View file @
b9a066ae
...
...
@@ -254,7 +254,7 @@ static const AVCodecDefault qsv_enc_defaults[] = {
// same as the x264 default
{
"g"
,
"248"
},
{
"bf"
,
"8"
},
{
"trellis"
,
"-1"
},
{
"flags"
,
"+cgop"
},
#if FF_API_PRIVATE_OPT
{
"b_strategy"
,
"-1"
},
...
...
libavcodec/qsvenc_mpeg2.c
View file @
b9a066ae
...
...
@@ -87,7 +87,7 @@ static const AVCodecDefault qsv_enc_defaults[] = {
// same as the x264 default
{
"g"
,
"250"
},
{
"bf"
,
"3"
},
{
"trellis"
,
"-1"
},
{
"flags"
,
"+cgop"
},
#if FF_API_PRIVATE_OPT
{
"b_strategy"
,
"-1"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment