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 144 of file d3d12va_encode.h.

Field Documentation

◆ base

FFHWBaseEncodeContext D3D12VAEncodeContext::base

Definition at line 145 of file d3d12va_encode.h.

◆ codec

const struct D3D12VAEncodeType* D3D12VAEncodeContext::codec

Codec-specific hooks.

Definition at line 150 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 156 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 162 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 168 of file d3d12va_encode.h.

◆ profile

const D3D12VAEncodeProfile* D3D12VAEncodeContext::profile

Chosen encoding profile details.

Definition at line 173 of file d3d12va_encode.h.

◆ hwctx

AVD3D12VADeviceContext* D3D12VAEncodeContext::hwctx

Definition at line 175 of file d3d12va_encode.h.

◆ device3

ID3D12Device3* D3D12VAEncodeContext::device3

ID3D12Device3 interface.

Definition at line 180 of file d3d12va_encode.h.

◆ video_device3

ID3D12VideoDevice3* D3D12VAEncodeContext::video_device3

ID3D12VideoDevice3 interface.

Definition at line 185 of file d3d12va_encode.h.

◆ output_buffer_pool

AVBufferPool* D3D12VAEncodeContext::output_buffer_pool

Pool of (reusable) bitstream output buffers.

Definition at line 190 of file d3d12va_encode.h.

◆ encoder_ref

AVBufferRef* D3D12VAEncodeContext::encoder_ref

D3D12 video encoder.

Definition at line 195 of file d3d12va_encode.h.

◆ encoder

ID3D12VideoEncoder* D3D12VAEncodeContext::encoder

Definition at line 197 of file d3d12va_encode.h.

◆ encoder_heap

ID3D12VideoEncoderHeap* D3D12VAEncodeContext::encoder_heap

D3D12 video encoder heap.

Definition at line 202 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 209 of file d3d12va_encode.h.

◆ command_queue

ID3D12CommandQueue* D3D12VAEncodeContext::command_queue

D3D12 command queue.

Definition at line 214 of file d3d12va_encode.h.

◆ command_list

ID3D12VideoEncodeCommandList2* D3D12VAEncodeContext::command_list

D3D12 video encode command list.

Definition at line 219 of file d3d12va_encode.h.

◆ sync_ctx

AVD3D12VASyncContext D3D12VAEncodeContext::sync_ctx

The sync context used to sync command queue.

Definition at line 224 of file d3d12va_encode.h.

◆ bi_not_empty

int D3D12VAEncodeContext::bi_not_empty

The bi_not_empty feature.

Definition at line 229 of file d3d12va_encode.h.

◆ req

D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS D3D12VAEncodeContext::req

D3D12_FEATURE structures.

Definition at line 234 of file d3d12va_encode.h.

◆ res_limits

D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS D3D12VAEncodeContext::res_limits

Definition at line 236 of file d3d12va_encode.h.

◆ resolution

D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC D3D12VAEncodeContext::resolution

D3D12_VIDEO_ENCODER structures.

Definition at line 241 of file d3d12va_encode.h.

◆ codec_conf

D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION D3D12VAEncodeContext::codec_conf

Definition at line 243 of file d3d12va_encode.h.

Referenced by d3d12va_encode_hevc_close().

◆ rc

D3D12_VIDEO_ENCODER_RATE_CONTROL D3D12VAEncodeContext::rc

Definition at line 245 of file d3d12va_encode.h.

◆ gop

D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE D3D12VAEncodeContext::gop

Definition at line 247 of file d3d12va_encode.h.

Referenced by d3d12va_encode_hevc_close().

◆ level

D3D12_VIDEO_ENCODER_LEVEL_SETTING D3D12VAEncodeContext::level

Definition at line 249 of file d3d12va_encode.h.

Referenced by d3d12va_encode_hevc_close().


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