|
FFmpeg
|
#include "libavutil/opt.h"#include "libavutil/common.h"#include "libavutil/mem.h"#include "libavutil/pixdesc.h"#include "libavutil/hwcontext_d3d12va_internal.h"#include "avcodec.h"#include "cbs.h"#include "cbs_h264.h"#include "hw_base_encode_h264.h"#include "h2645data.h"#include "h264_levels.h"#include "codec_internal.h"#include "d3d12va_encode.h"Go to the source code of this file.
Data Structures | |
| struct | D3D12VAEncodeH264Picture |
| struct | D3D12VAEncodeH264Context |
| struct | D3D12VAEncodeH264Level |
Macros | |
| #define | D3D_PROFILE_DESC(name) { sizeof(D3D12_VIDEO_ENCODER_PROFILE_H264), { .pH264Profile = (D3D12_VIDEO_ENCODER_PROFILE_H264 *)&profile_ ## name } } |
| #define | OFFSET(x) offsetof(D3D12VAEncodeH264Context, x) |
| #define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
| #define | PROFILE(name, value) |
| #define | LEVEL(name, value) |
Functions | |
| static int | d3d12va_encode_h264_write_access_unit (AVCodecContext *avctx, char *data, size_t *data_len, CodedBitstreamFragment *au) |
| static int | d3d12va_encode_h264_add_nal (AVCodecContext *avctx, CodedBitstreamFragment *au, void *nal_unit) |
| static int | d3d12va_encode_h264_write_sequence_header (AVCodecContext *avctx, char *data, size_t *data_len) |
| static int | d3d12va_encode_h264_init_sequence_params (AVCodecContext *avctx) |
| static int | d3d12va_encode_h264_get_encoder_caps (AVCodecContext *avctx) |
| static int | d3d12va_encode_h264_configure (AVCodecContext *avctx) |
| static int | d3d12va_encode_h264_set_level (AVCodecContext *avctx) |
| static void | d3d12va_encode_h264_free_picture_params (D3D12VAEncodePicture *pic) |
| static int | d3d12va_encode_h264_init_picture_params (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic) |
| static int | d3d12va_encode_h264_init (AVCodecContext *avctx) |
| static int | d3d12va_encode_h264_close (AVCodecContext *avctx) |
Variables | |
| static const D3D12VAEncodeH264Level | h264_levels [] |
| static const D3D12_VIDEO_ENCODER_PROFILE_H264 | profile_main = D3D12_VIDEO_ENCODER_PROFILE_H264_MAIN |
| static const D3D12_VIDEO_ENCODER_PROFILE_H264 | profile_high = D3D12_VIDEO_ENCODER_PROFILE_H264_HIGH |
| static const D3D12_VIDEO_ENCODER_PROFILE_H264 | profile_high_10 = D3D12_VIDEO_ENCODER_PROFILE_H264_HIGH_10 |
| static const D3D12VAEncodeProfile | d3d12va_encode_h264_profiles [] |
| static const D3D12VAEncodeType | d3d12va_encode_type_h264 |
| static const AVOption | d3d12va_encode_h264_options [] |
| static const FFCodecDefault | d3d12va_encode_h264_defaults [] |
| static const AVClass | d3d12va_encode_h264_class |
| const FFCodec | ff_h264_d3d12va_encoder |
| #define D3D_PROFILE_DESC | ( | name | ) | { sizeof(D3D12_VIDEO_ENCODER_PROFILE_H264), { .pH264Profile = (D3D12_VIDEO_ENCODER_PROFILE_H264 *)&profile_ ## name } } |
Definition at line 88 of file d3d12va_encode_h264.c.
| #define OFFSET | ( | x | ) | offsetof(D3D12VAEncodeH264Context, x) |
Definition at line 546 of file d3d12va_encode_h264.c.
| #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 547 of file d3d12va_encode_h264.c.
|
static |
Definition at line 97 of file d3d12va_encode_h264.c.
Referenced by d3d12va_encode_h264_write_sequence_header().
|
static |
Definition at line 123 of file d3d12va_encode_h264.c.
Referenced by d3d12va_encode_h264_write_sequence_header().
|
static |
Definition at line 141 of file d3d12va_encode_h264.c.
|
static |
Definition at line 162 of file d3d12va_encode_h264.c.
|
static |
Definition at line 240 of file d3d12va_encode_h264.c.
|
static |
Definition at line 283 of file d3d12va_encode_h264.c.
|
static |
Definition at line 340 of file d3d12va_encode_h264.c.
|
static |
Definition at line 365 of file d3d12va_encode_h264.c.
|
static |
Definition at line 376 of file d3d12va_encode_h264.c.
|
static |
Definition at line 504 of file d3d12va_encode_h264.c.
|
static |
Definition at line 528 of file d3d12va_encode_h264.c.
|
static |
Definition at line 62 of file d3d12va_encode_h264.c.
Referenced by d3d12va_encode_h264_set_level().
|
static |
Definition at line 84 of file d3d12va_encode_h264.c.
|
static |
Definition at line 85 of file d3d12va_encode_h264.c.
|
static |
Definition at line 86 of file d3d12va_encode_h264.c.
|
static |
Definition at line 90 of file d3d12va_encode_h264.c.
|
static |
Definition at line 476 of file d3d12va_encode_h264.c.
Referenced by d3d12va_encode_h264_init().
|
static |
Definition at line 548 of file d3d12va_encode_h264.c.
|
static |
Definition at line 597 of file d3d12va_encode_h264.c.
|
static |
Definition at line 606 of file d3d12va_encode_h264.c.
| const FFCodec ff_h264_d3d12va_encoder |
Definition at line 613 of file d3d12va_encode_h264.c.
1.8.17