summaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode_mjpeg.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: add metadata to identify wrappers and hardware decoderswm42017-12-141-0/+2
| | | | | | | | | | | | | | | | | | | | | Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Mark some arrays that never change as const.Anton Khirnov2017-02-011-1/+1
|
* vaapi_encode: Check packed header capabilitiesMark Thompson2016-09-281-0/+15
| | | | | This improves behaviour with drivers which do not support packed headers, such as AMD VCE on mesa/gallium.
* vaapi_encode: Refactor initialisationMark Thompson2016-09-281-26/+19
| | | | | | | | This allows better checking of capabilities and will make it easier to add more functionality later. It also commonises some duplicated code around rate control setup and adds more comments explaining the internals.
* vaapi_encode: Refactor slightly to allow easier setting of global optionsMark Thompson2016-04-151-10/+12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: VAAPI MJPEG encoderMark Thompson2016-03-301-0/+420
Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud