Go to the source code of this file.
|
static int | d3d12va_fence_completion (AVD3D12VASyncContext *psync_ctx) |
|
static int | d3d12va_sync_with_gpu (AVCodecContext *avctx) |
|
static int | d3d12va_get_valid_command_allocator (AVCodecContext *avctx, ID3D12CommandAllocator **ppAllocator) |
|
static int | d3d12va_discard_command_allocator (AVCodecContext *avctx, ID3D12CommandAllocator *pAllocator, uint64_t fence_value) |
|
static int | d3d12va_encode_wait (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic) |
|
static int | d3d12va_encode_create_metadata_buffers (AVCodecContext *avctx, D3D12VAEncodePicture *pic) |
|
static int | d3d12va_encode_issue (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic) |
|
static int | d3d12va_encode_discard (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic) |
|
static int | d3d12va_encode_free_rc_params (AVCodecContext *avctx) |
|
static int | d3d12va_encode_init (AVCodecContext *avctx, FFHWBaseEncodePicture *pic) |
|
static int | d3d12va_encode_free (AVCodecContext *avctx, FFHWBaseEncodePicture *pic) |
|
static int | d3d12va_encode_get_buffer_size (AVCodecContext *avctx, D3D12VAEncodePicture *pic, size_t *size) |
|
static int | d3d12va_encode_get_coded_data (AVCodecContext *avctx, D3D12VAEncodePicture *pic, AVPacket *pkt) |
|
static int | d3d12va_encode_output (AVCodecContext *avctx, FFHWBaseEncodePicture *base_pic, AVPacket *pkt) |
|
static int | d3d12va_encode_set_profile (AVCodecContext *avctx) |
|
static int | check_rate_control_support (AVCodecContext *avctx, const D3D12VAEncodeRCMode *rc_mode) |
|
static int | d3d12va_encode_init_rate_control (AVCodecContext *avctx) |
|
static int | d3d12va_encode_init_gop_structure (AVCodecContext *avctx) |
|
static int | d3d12va_create_encoder (AVCodecContext *avctx) |
|
static int | d3d12va_create_encoder_heap (AVCodecContext *avctx) |
|
static void | d3d12va_encode_free_buffer (void *opaque, uint8_t *data) |
|
static AVBufferRef * | d3d12va_encode_alloc_output_buffer (void *opaque, size_t size) |
|
static int | d3d12va_encode_prepare_output_buffers (AVCodecContext *avctx) |
|
static int | d3d12va_encode_create_command_objects (AVCodecContext *avctx) |
|
static int | d3d12va_encode_create_recon_frames (AVCodecContext *avctx) |
|
int | ff_d3d12va_encode_receive_packet (AVCodecContext *avctx, AVPacket *pkt) |
|
int | ff_d3d12va_encode_init (AVCodecContext *avctx) |
|
int | ff_d3d12va_encode_close (AVCodecContext *avctx) |
|
◆ TRANSITION_BARRIER
#define TRANSITION_BARRIER |
( |
|
res, |
|
|
|
before, |
|
|
|
after |
|
) |
| |
Value: (D3D12_RESOURCE_BARRIER) { \
.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, \
.Flags = D3D12_RESOURCE_BARRIER_FLAG_NONE, \
.Transition = { \
.pResource = res, \
.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, \
.StateBefore = before, \
.StateAfter = after, \
}, \
}
◆ TRY_RC_MODE
Value: do { \
} \
} else { \
goto rc_mode_found; \
} \
} while (0)
◆ d3d12va_fence_completion()
◆ d3d12va_sync_with_gpu()
◆ d3d12va_get_valid_command_allocator()
static int d3d12va_get_valid_command_allocator |
( |
AVCodecContext * |
avctx, |
|
|
ID3D12CommandAllocator ** |
ppAllocator |
|
) |
| |
|
static |
◆ d3d12va_discard_command_allocator()
static int d3d12va_discard_command_allocator |
( |
AVCodecContext * |
avctx, |
|
|
ID3D12CommandAllocator * |
pAllocator, |
|
|
uint64_t |
fence_value |
|
) |
| |
|
static |
◆ d3d12va_encode_wait()
◆ d3d12va_encode_create_metadata_buffers()
◆ d3d12va_encode_issue()
◆ d3d12va_encode_discard()
◆ d3d12va_encode_free_rc_params()
◆ d3d12va_encode_init()
◆ d3d12va_encode_free()
◆ d3d12va_encode_get_buffer_size()
◆ d3d12va_encode_get_coded_data()
◆ d3d12va_encode_output()
◆ d3d12va_encode_set_profile()
◆ check_rate_control_support()
◆ d3d12va_encode_init_rate_control()
◆ d3d12va_encode_init_gop_structure()
static int d3d12va_encode_init_gop_structure |
( |
AVCodecContext * |
avctx | ) |
|
|
static |
◆ d3d12va_create_encoder()
◆ d3d12va_create_encoder_heap()
◆ d3d12va_encode_free_buffer()
static void d3d12va_encode_free_buffer |
( |
void * |
opaque, |
|
|
uint8_t * |
data |
|
) |
| |
|
static |
◆ d3d12va_encode_alloc_output_buffer()
static AVBufferRef* d3d12va_encode_alloc_output_buffer |
( |
void * |
opaque, |
|
|
size_t |
size |
|
) |
| |
|
static |
◆ d3d12va_encode_prepare_output_buffers()
static int d3d12va_encode_prepare_output_buffers |
( |
AVCodecContext * |
avctx | ) |
|
|
static |
◆ d3d12va_encode_create_command_objects()
static int d3d12va_encode_create_command_objects |
( |
AVCodecContext * |
avctx | ) |
|
|
static |
◆ d3d12va_encode_create_recon_frames()
static int d3d12va_encode_create_recon_frames |
( |
AVCodecContext * |
avctx | ) |
|
|
static |
◆ ff_d3d12va_encode_receive_packet()
◆ ff_d3d12va_encode_init()
◆ ff_d3d12va_encode_close()
◆ ff_d3d12va_encode_hw_configs
◆ d3d12va_encode_rc_modes
Initial value:= {
{ 0 },
{
RC_MODE_CQP,
"CQP", 0, 0, 1, 0, D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_CQP },
{
RC_MODE_CBR,
"CBR", 1, 0, 0, 1, D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_CBR },
{
RC_MODE_VBR,
"VBR", 1, 1, 0, 1, D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_VBR },
{
RC_MODE_QVBR,
"QVBR", 1, 1, 1, 1, D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_QVBR },
}
Definition at line 744 of file d3d12va_encode.c.
◆ d3d12va_type