summaryrefslogtreecommitdiffstats
path: root/doc/examples/vaapi_encode.c
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/vaapi_encode: re-licensed to MIT-license.Jun Zhao2018-08-251-13/+15
| | | | Signed-off-by: Jun Zhao <[email protected]>
* examples: Don't call deprecated functions which don't do anythingMark Thompson2018-02-091-2/+0
|
* examples/vaapi_encode: Remove redundancy check when free context.Jun Zhao2018-01-121-2/+1
| | | | | | | | | avcodec_free_context have handle NULL pointer case, so caller doesn't need to check the NULL before call this function. Signe-off-by: Jun Zhao <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* examples/vaapi_encode: Fix leak on hwframe init failureMark Thompson2017-12-011-0/+1
| | | | Fixes CID #1424882.
* examples: Add a VA-API encode example.Jun Zhao2017-11-281-0/+224
Supports only raw NV12 input. Example use: ./vaapi_encode 1920 1080 test.yuv test.h264 Signed-off-by: Jun Zhao <[email protected]> Signed-off-by: Liu, Kaixuan <[email protected]> Signed-off-by: Mark Thompson <[email protected]>