aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/vaapi_encode.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/codec, allcodecs: Constify the AVCodec APIAndreas Rheinhardt2021-04-271-1/+1
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* doc/examples/vaapi_encode: use av_packet_alloc() to allocate packetsJames Almer2021-03-171-8/+8
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Stop hardcoding align=32 in av_frame_get_buffer() calls.Anton Khirnov2020-05-221-1/+1
| | | | Use 0, which selects the alignment automatically.
* doc/examples/vaapi_encode: re-licensed to MIT-license.Jun Zhao2018-08-251-13/+15
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* 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 <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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 <jun.zhao@intel.com> Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>