FFmpeg
Data Fields
D3D12VAEncodeType Struct Reference

#include <d3d12va_encode.h>

Data Fields

const D3D12VAEncodeProfileprofiles
 List of supported profiles. More...
 
D3D12_VIDEO_ENCODER_CODEC d3d12_codec
 D3D12 codec name. More...
 
int flags
 Codec feature flags. More...
 
int default_quality
 Default quality for this codec - used as quantiser or RC quality factor depending on RC mode. More...
 
int(* get_encoder_caps )(AVCodecContext *avctx)
 Query codec configuration and determine encode parameters like block sizes for surface alignment and slices. More...
 
int(* configure )(AVCodecContext *avctx)
 Perform any extra codec-specific configuration. More...
 
int(* set_level )(AVCodecContext *avctx)
 Set codec-specific level setting. More...
 
size_t picture_priv_data_size
 The size of any private data structure associated with each picture (can be zero if not required). More...
 
int(* init_sequence_params )(AVCodecContext *avctx)
 Fill the corresponding parameters. More...
 
int(* init_picture_params )(AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic)
 
void(* free_picture_params )(D3D12VAEncodePicture *pic)
 
int(* write_sequence_header )(AVCodecContext *avctx, char *data, size_t *data_len)
 Write the packed header data to the provided buffer. More...
 

Detailed Description

Definition at line 252 of file d3d12va_encode.h.

Field Documentation

◆ profiles

const D3D12VAEncodeProfile* D3D12VAEncodeType::profiles

List of supported profiles.

Definition at line 256 of file d3d12va_encode.h.

◆ d3d12_codec

D3D12_VIDEO_ENCODER_CODEC D3D12VAEncodeType::d3d12_codec

D3D12 codec name.

Definition at line 261 of file d3d12va_encode.h.

◆ flags

int D3D12VAEncodeType::flags

Codec feature flags.

Definition at line 266 of file d3d12va_encode.h.

◆ default_quality

int D3D12VAEncodeType::default_quality

Default quality for this codec - used as quantiser or RC quality factor depending on RC mode.

Definition at line 272 of file d3d12va_encode.h.

◆ get_encoder_caps

int(* D3D12VAEncodeType::get_encoder_caps) (AVCodecContext *avctx)

Query codec configuration and determine encode parameters like block sizes for surface alignment and slices.

If not set, assume that all blocks are 16x16 and that surfaces should be aligned to match this.

Definition at line 280 of file d3d12va_encode.h.

◆ configure

int(* D3D12VAEncodeType::configure) (AVCodecContext *avctx)

Perform any extra codec-specific configuration.

Definition at line 285 of file d3d12va_encode.h.

◆ set_level

int(* D3D12VAEncodeType::set_level) (AVCodecContext *avctx)

Set codec-specific level setting.

Definition at line 290 of file d3d12va_encode.h.

◆ picture_priv_data_size

size_t D3D12VAEncodeType::picture_priv_data_size

The size of any private data structure associated with each picture (can be zero if not required).

Definition at line 296 of file d3d12va_encode.h.

◆ init_sequence_params

int(* D3D12VAEncodeType::init_sequence_params) (AVCodecContext *avctx)

Fill the corresponding parameters.

Definition at line 301 of file d3d12va_encode.h.

◆ init_picture_params

int(* D3D12VAEncodeType::init_picture_params) (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic)

Definition at line 303 of file d3d12va_encode.h.

◆ free_picture_params

void(* D3D12VAEncodeType::free_picture_params) (D3D12VAEncodePicture *pic)

Definition at line 306 of file d3d12va_encode.h.

◆ write_sequence_header

int(* D3D12VAEncodeType::write_sequence_header) (AVCodecContext *avctx, char *data, size_t *data_len)

Write the packed header data to the provided buffer.

Definition at line 311 of file d3d12va_encode.h.


The documentation for this struct was generated from the following file: