FFmpeg
|
#include <va/va.h>
#include <va/va_enc_mpeg2.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "cbs.h"
#include "cbs_mpeg2.h"
#include "mpeg12.h"
#include "vaapi_encode.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIEncodeMPEG2Context |
Macros | |
#define | OFFSET(x) offsetof(VAAPIEncodeMPEG2Context, x) |
#define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
#define | PROFILE(name, value) |
#define | LEVEL(name, value) |
Functions | |
static int | vaapi_encode_mpeg2_write_fragment (AVCodecContext *avctx, char *data, size_t *data_len, CodedBitstreamFragment *frag) |
static int | vaapi_encode_mpeg2_add_header (AVCodecContext *avctx, CodedBitstreamFragment *frag, int type, void *header) |
static int | vaapi_encode_mpeg2_write_sequence_header (AVCodecContext *avctx, char *data, size_t *data_len) |
static int | vaapi_encode_mpeg2_write_picture_header (AVCodecContext *avctx, VAAPIEncodePicture *pic, char *data, size_t *data_len) |
static int | vaapi_encode_mpeg2_init_sequence_params (AVCodecContext *avctx) |
static int | vaapi_encode_mpeg2_init_picture_params (AVCodecContext *avctx, VAAPIEncodePicture *pic) |
static int | vaapi_encode_mpeg2_init_slice_params (AVCodecContext *avctx, VAAPIEncodePicture *pic, VAAPIEncodeSlice *slice) |
static av_cold int | vaapi_encode_mpeg2_configure (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_mpeg2_init (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_mpeg2_close (AVCodecContext *avctx) |
Variables | |
static const VAAPIEncodeProfile | vaapi_encode_mpeg2_profiles [] |
static const VAAPIEncodeType | vaapi_encode_type_mpeg2 |
static const AVOption | vaapi_encode_mpeg2_options [] |
static const AVCodecDefault | vaapi_encode_mpeg2_defaults [] |
static const AVClass | vaapi_encode_mpeg2_class |
AVCodec | ff_mpeg2_vaapi_encoder |
#define OFFSET | ( | x | ) | offsetof(VAAPIEncodeMPEG2Context, x) |
Definition at line 634 of file vaapi_encode_mpeg2.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 635 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 66 of file vaapi_encode_mpeg2.c.
Referenced by vaapi_encode_mpeg2_write_picture_header(), and vaapi_encode_mpeg2_write_sequence_header().
|
static |
Definition at line 92 of file vaapi_encode_mpeg2.c.
Referenced by vaapi_encode_mpeg2_write_picture_header(), and vaapi_encode_mpeg2_write_sequence_header().
|
static |
Definition at line 109 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 142 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 166 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 418 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 480 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 513 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 584 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 625 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 557 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 563 of file vaapi_encode_mpeg2.c.
Referenced by vaapi_encode_mpeg2_init().
|
static |
Definition at line 636 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 664 of file vaapi_encode_mpeg2.c.
|
static |
Definition at line 678 of file vaapi_encode_mpeg2.c.
AVCodec ff_mpeg2_vaapi_encoder |
Definition at line 685 of file vaapi_encode_mpeg2.c.