FFmpeg
|
#include <string.h>
#include <va/va.h>
#include <va/va_enc_hevc.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "cbs.h"
#include "cbs_h265.h"
#include "hevc.h"
#include "internal.h"
#include "put_bits.h"
#include "vaapi_encode.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIEncodeH265Context |
struct | VAAPIEncodeH265Options |
Macros | |
#define | OFFSET(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_h265_write_access_unit (AVCodecContext *avctx, char *data, size_t *data_len, CodedBitstreamFragment *au) |
static int | vaapi_encode_h265_add_nal (AVCodecContext *avctx, CodedBitstreamFragment *au, void *nal_unit) |
static int | vaapi_encode_h265_write_sequence_header (AVCodecContext *avctx, char *data, size_t *data_len) |
static int | vaapi_encode_h265_write_slice_header (AVCodecContext *avctx, VAAPIEncodePicture *pic, VAAPIEncodeSlice *slice, char *data, size_t *data_len) |
static int | vaapi_encode_h265_init_sequence_params (AVCodecContext *avctx) |
static int | vaapi_encode_h265_init_picture_params (AVCodecContext *avctx, VAAPIEncodePicture *pic) |
static int | vaapi_encode_h265_init_slice_params (AVCodecContext *avctx, VAAPIEncodePicture *pic, VAAPIEncodeSlice *slice) |
static av_cold int | vaapi_encode_h265_configure (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_h265_init (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_h265_close (AVCodecContext *avctx) |
Variables | |
static const VAAPIEncodeType | vaapi_encode_type_h265 |
static const AVOption | vaapi_encode_h265_options [] |
static const AVCodecDefault | vaapi_encode_h265_defaults [] |
static const AVClass | vaapi_encode_h265_class |
AVCodec | ff_hevc_vaapi_encoder |
#define OFFSET | ( | x | ) |
Definition at line 965 of file vaapi_encode_h265.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 967 of file vaapi_encode_h265.c.
|
static |
Definition at line 71 of file vaapi_encode_h265.c.
Referenced by vaapi_encode_h265_write_sequence_header(), and vaapi_encode_h265_write_slice_header().
|
static |
Definition at line 98 of file vaapi_encode_h265.c.
Referenced by vaapi_encode_h265_write_sequence_header(), and vaapi_encode_h265_write_slice_header().
|
static |
Definition at line 118 of file vaapi_encode_h265.c.
|
static |
Definition at line 151 of file vaapi_encode_h265.c.
|
static |
Definition at line 178 of file vaapi_encode_h265.c.
|
static |
Definition at line 537 of file vaapi_encode_h265.c.
|
static |
Definition at line 650 of file vaapi_encode_h265.c.
|
static |
Definition at line 826 of file vaapi_encode_h265.c.
|
static |
Definition at line 900 of file vaapi_encode_h265.c.
|
static |
Definition at line 954 of file vaapi_encode_h265.c.
|
static |
Definition at line 879 of file vaapi_encode_h265.c.
|
static |
Definition at line 968 of file vaapi_encode_h265.c.
|
static |
Definition at line 1009 of file vaapi_encode_h265.c.
|
static |
Definition at line 1020 of file vaapi_encode_h265.c.
AVCodec ff_hevc_vaapi_encoder |
Definition at line 1027 of file vaapi_encode_h265.c.