Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d0c8c380
Commit
d0c8c380
authored
Jul 20, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsv: document AVQSVContext members
parent
5d2daebf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
qsv.h
libavcodec/qsv.h
+19
-0
No files found.
libavcodec/qsv.h
View file @
d0c8c380
...
@@ -23,10 +23,29 @@
...
@@ -23,10 +23,29 @@
#include <mfx/mfxvideo.h>
#include <mfx/mfxvideo.h>
/**
* This struct is used for communicating QSV parameters between libavcodec and
* the caller. It is managed by the caller and must be assigned to
* AVCodecContext.hwaccel_context.
* - decoding: hwaccel_context must be set on return from the get_format()
* callback
* - encoding: hwaccel_context must be set before avcodec_open2()
*/
typedef
struct
AVQSVContext
{
typedef
struct
AVQSVContext
{
/**
* If non-NULL, the session to use for encoding or decoding.
* Otherwise, libavcodec will try to create an internal session.
*/
mfxSession
session
;
mfxSession
session
;
/**
* The IO pattern to use.
*/
int
iopattern
;
int
iopattern
;
/**
* Extra buffers to pass to encoder or decoder initialization.
*/
mfxExtBuffer
**
ext_buffers
;
mfxExtBuffer
**
ext_buffers
;
int
nb_ext_buffers
;
int
nb_ext_buffers
;
}
AVQSVContext
;
}
AVQSVContext
;
...
...
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