|
FFmpeg
|
#include <stdio.h>#include <string.h>#include <errno.h>#include <libavcodec/avcodec.h>#include <libavutil/pixdesc.h>#include <libavutil/hwcontext.h>Go to the source code of this file.
Functions | |
| static int | set_hwframe_ctx (AVCodecContext *ctx, AVBufferRef *hw_device_ctx) |
| static int | encode_write (AVCodecContext *avctx, AVFrame *frame, FILE *fout) |
| int | main (int argc, char *argv[]) |
Variables | |
| static int | width |
| static int | height |
| static AVBufferRef * | hw_device_ctx = NULL |
Intel VAAPI-accelerated encoding example.
Definition in file vaapi_encode.c.
|
static |
|
static |
Definition at line 102 of file vaapi_encode.c.
|
static |
Definition at line 41 of file vaapi_encode.c.
Referenced by main(), and set_hwframe_ctx().
|
static |
Definition at line 41 of file vaapi_encode.c.
Referenced by main(), and set_hwframe_ctx().
|
static |
Definition at line 42 of file vaapi_encode.c.
Referenced by main(), and set_hwframe_ctx().
1.8.17