summaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode.c
Commit message (Collapse)AuthorAgeFilesLines
* vaapi_encode: Maintain a pool of bitstream output buffersMark Thompson2016-06-261-18/+72
| | | | | | | | | Previously we would allocate a new one for every frame. This instead maintains an AVBufferPool of them to use as-needed. Also makes the maximum size of an output buffer adapt to the frame size - the fixed upper bound was a bit too easy to hit when encoding large pictures at high quality.
* vaapi_encode: Fix fallback when input does not match any formatMark Thompson2016-06-211-2/+5
| | | | Just a typo. Add a comment to make it clearer what it's doing.
* vaapi_encode: Add support for writing arbitrary additional packed headersMark Thompson2016-06-091-0/+21
|
* vaapi_encode: Check config attributes before creating configMark Thompson2016-05-271-2/+130
| | | | | | This prevents attempts to use unsupported modes, such as low-power H.264 mode on non-Skylake targets. Also fixes a crash on invalid configuration, when trying to destroy an invalid VA config/context.
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-2/+2
| | | | Signed-off-by: Diego Biurrun <[email protected]>
* vaapi_encode: Add support for codec-local optionsMark Thompson2016-04-151-0/+1
| | | | Signed-off-by: Anton Khirnov <[email protected]>
* vaapi_encode: Refactor slightly to allow easier setting of global optionsMark Thompson2016-04-151-0/+13
| | | | Signed-off-by: Anton Khirnov <[email protected]>
* lavc: VAAPI encode common infrastructureMark Thompson2016-03-301-0/+1096
Signed-off-by: Anton Khirnov <[email protected]>