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
6eecb91f
Commit
6eecb91f
authored
Aug 19, 2015
by
Sven Dueking
Committed by
Michael Niedermayer
Aug 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/qsvenc: Added PicTiming SEI
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
3dabebc2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
qsvenc.c
libavcodec/qsvenc.c
+3
-0
qsvenc.h
libavcodec/qsvenc.h
+1
-0
qsvenc_h264.c
libavcodec/qsvenc_h264.c
+1
-0
No files found.
libavcodec/qsvenc.c
View file @
6eecb91f
...
...
@@ -146,6 +146,9 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q)
q
->
extco
.
CAVLC
=
avctx
->
coder_type
==
FF_CODER_TYPE_VLC
?
MFX_CODINGOPTION_ON
:
MFX_CODINGOPTION_UNKNOWN
;
q
->
extco
.
PicTimingSEI
=
q
->
pic_timing_sei
?
MFX_CODINGOPTION_ON
:
MFX_CODINGOPTION_UNKNOWN
;
q
->
extparam
[
0
]
=
(
mfxExtBuffer
*
)
&
q
->
extco
;
q
->
param
.
ExtParam
=
q
->
extparam
;
...
...
libavcodec/qsvenc.h
View file @
6eecb91f
...
...
@@ -61,6 +61,7 @@ typedef struct QSVEncContext {
int
preset
;
int
avbr_accuracy
;
int
avbr_convergence
;
int
pic_timing_sei
;
char
*
load_plugins
;
}
QSVEncContext
;
...
...
libavcodec/qsvenc_h264.c
View file @
6eecb91f
...
...
@@ -69,6 +69,7 @@ static const AVOption options[] = {
{
"idr_interval"
,
"Distance (in I-frames) between IDR frames"
,
OFFSET
(
qsv
.
idr_interval
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
INT_MAX
,
VE
},
{
"avbr_accuracy"
,
"Accuracy of the AVBR ratecontrol"
,
OFFSET
(
qsv
.
avbr_accuracy
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
INT_MAX
,
VE
},
{
"avbr_convergence"
,
"Convergence of the AVBR ratecontrol"
,
OFFSET
(
qsv
.
avbr_convergence
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
INT_MAX
,
VE
},
{
"pic_timing_sei"
,
"Insert picture timing SEI with pic_struct_syntax element"
,
OFFSET
(
qsv
.
pic_timing_sei
),
AV_OPT_TYPE_INT
,
{
.
i64
=
1
},
0
,
1
,
VE
},
{
"profile"
,
NULL
,
OFFSET
(
qsv
.
profile
),
AV_OPT_TYPE_INT
,
{
.
i64
=
MFX_PROFILE_UNKNOWN
},
0
,
INT_MAX
,
VE
,
"profile"
},
{
"unknown"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
MFX_PROFILE_UNKNOWN
},
INT_MIN
,
INT_MAX
,
VE
,
"profile"
},
...
...
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