FFmpeg
Data Fields
D3D12VAEncodeContext Struct Reference

#include <d3d12va_encode.h>

Data Fields

FFHWBaseEncodeContext base
 
const struct D3D12VAEncodeTypecodec
 Codec-specific hooks. More...
 
int explicit_rc_mode
 Explicitly set RC mode (otherwise attempt to pick from available modes). More...
 
int explicit_qp
 Explicitly-set QP, for use with the "qp" options. More...
 
int rc_quality
 RC quality level - meaning depends on codec and RC mode. More...
 
const D3D12VAEncodeProfileprofile
 Chosen encoding profile details. More...
 
AVD3D12VADeviceContexthwctx
 
ID3D12Device3 * device3
 ID3D12Device3 interface. More...
 
ID3D12VideoDevice3 * video_device3
 ID3D12VideoDevice3 interface. More...
 
AVBufferPooloutput_buffer_pool
 Pool of (reusable) bitstream output buffers. More...
 
AVBufferRefencoder_ref
 D3D12 video encoder. More...
 
ID3D12VideoEncoder * encoder
 
ID3D12VideoEncoderHeap * encoder_heap
 D3D12 video encoder heap. More...
 
AVFifoallocator_queue
 A cached queue for reusing the D3D12 command allocators. More...
 
ID3D12CommandQueue * command_queue
 D3D12 command queue. More...
 
ID3D12VideoEncodeCommandList2 * command_list
 D3D12 video encode command list. More...
 
AVD3D12VASyncContext sync_ctx
 The sync context used to sync command queue. More...
 
int bi_not_empty
 The bi_not_empty feature. More...
 
D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS req
 D3D12_FEATURE structures. More...
 
D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS res_limits
 
D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC resolution
 D3D12_VIDEO_ENCODER structures. More...
 
D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION codec_conf
 
D3D12_VIDEO_ENCODER_RATE_CONTROL rc
 
D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE gop
 
D3D12_VIDEO_ENCODER_LEVEL_SETTING level
 

Detailed Description

Definition at line 145 of file d3d12va_encode.h.

Field Documentation

◆ base

FFHWBaseEncodeContext D3D12VAEncodeContext::base

Definition at line 146 of file d3d12va_encode.h.

◆ codec

const struct D3D12VAEncodeType* D3D12VAEncodeContext::codec

Codec-specific hooks.

Definition at line 151 of file d3d12va_encode.h.

◆ explicit_rc_mode

int D3D12VAEncodeContext::explicit_rc_mode

Explicitly set RC mode (otherwise attempt to pick from available modes).

Definition at line 157 of file d3d12va_encode.h.

◆ explicit_qp

int D3D12VAEncodeContext::explicit_qp

Explicitly-set QP, for use with the "qp" options.

(Forces CQP mode when set, overriding everything else.)

Definition at line 163 of file d3d12va_encode.h.

◆ rc_quality

int D3D12VAEncodeContext::rc_quality

RC quality level - meaning depends on codec and RC mode.

In CQP mode this sets the fixed quantiser value.

Definition at line 169 of file d3d12va_encode.h.

◆ profile

const D3D12VAEncodeProfile* D3D12VAEncodeContext::profile

Chosen encoding profile details.

Definition at line 174 of file d3d12va_encode.h.

◆ hwctx

AVD3D12VADeviceContext* D3D12VAEncodeContext::hwctx

Definition at line 176 of file d3d12va_encode.h.

◆ device3

ID3D12Device3* D3D12VAEncodeContext::device3

ID3D12Device3 interface.

Definition at line 181 of file d3d12va_encode.h.

◆ video_device3

ID3D12VideoDevice3* D3D12VAEncodeContext::video_device3

ID3D12VideoDevice3 interface.

Definition at line 186 of file d3d12va_encode.h.

◆ output_buffer_pool

AVBufferPool* D3D12VAEncodeContext::output_buffer_pool

Pool of (reusable) bitstream output buffers.

Definition at line 191 of file d3d12va_encode.h.

◆ encoder_ref

AVBufferRef* D3D12VAEncodeContext::encoder_ref

D3D12 video encoder.

Definition at line 196 of file d3d12va_encode.h.

◆ encoder

ID3D12VideoEncoder* D3D12VAEncodeContext::encoder

Definition at line 198 of file d3d12va_encode.h.

◆ encoder_heap

ID3D12VideoEncoderHeap* D3D12VAEncodeContext::encoder_heap

D3D12 video encoder heap.

Definition at line 203 of file d3d12va_encode.h.

◆ allocator_queue

AVFifo* D3D12VAEncodeContext::allocator_queue

A cached queue for reusing the D3D12 command allocators.

See also
https://learn.microsoft.com/en-us/windows/win32/direct3d12/recording-command-lists-and-bundles#id3d12commandallocator

Definition at line 210 of file d3d12va_encode.h.

◆ command_queue

ID3D12CommandQueue* D3D12VAEncodeContext::command_queue

D3D12 command queue.

Definition at line 215 of file d3d12va_encode.h.

◆ command_list

ID3D12VideoEncodeCommandList2* D3D12VAEncodeContext::command_list

D3D12 video encode command list.

Definition at line 220 of file d3d12va_encode.h.

◆ sync_ctx

AVD3D12VASyncContext D3D12VAEncodeContext::sync_ctx

The sync context used to sync command queue.

Definition at line 225 of file d3d12va_encode.h.

◆ bi_not_empty

int D3D12VAEncodeContext::bi_not_empty

The bi_not_empty feature.

Definition at line 230 of file d3d12va_encode.h.

◆ req

D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS D3D12VAEncodeContext::req

D3D12_FEATURE structures.

Definition at line 235 of file d3d12va_encode.h.

◆ res_limits

D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS D3D12VAEncodeContext::res_limits

Definition at line 237 of file d3d12va_encode.h.

◆ resolution

D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC D3D12VAEncodeContext::resolution

D3D12_VIDEO_ENCODER structures.

Definition at line 242 of file d3d12va_encode.h.

◆ codec_conf

D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION D3D12VAEncodeContext::codec_conf

Definition at line 244 of file d3d12va_encode.h.

Referenced by d3d12va_encode_hevc_close().

◆ rc

D3D12_VIDEO_ENCODER_RATE_CONTROL D3D12VAEncodeContext::rc

Definition at line 246 of file d3d12va_encode.h.

◆ gop

D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE D3D12VAEncodeContext::gop

Definition at line 248 of file d3d12va_encode.h.

Referenced by d3d12va_encode_hevc_close().

◆ level

D3D12_VIDEO_ENCODER_LEVEL_SETTING D3D12VAEncodeContext::level

Definition at line 250 of file d3d12va_encode.h.

Referenced by d3d12va_encode_hevc_close().


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