FFmpeg
Data Fields
FFHWBaseEncodeContext Struct Reference

#include <hw_base_encode.h>

Data Fields

const AVClassclass
 
void * log_ctx
 
const struct FFHWEncodePictureOperationop
 
int idr_interval
 
int desired_b_depth
 
int surface_width
 
int surface_height
 
int slice_block_width
 
int slice_block_height
 
AVBufferRefdevice_ref
 
AVHWDeviceContextdevice
 
AVBufferRefinput_frames_ref
 
AVHWFramesContextinput_frames
 
AVBufferRefrecon_frames_ref
 
AVHWFramesContextrecon_frames
 
FFHWBaseEncodePicturepic_start
 
FFHWBaseEncodePicturepic_end
 
FFHWBaseEncodePicturenext_prev [MAX_PICTURE_REFERENCES]
 
int nb_next_prev
 
int64_t input_order
 
int64_t output_delay
 
int64_t encode_order
 
int64_t decode_delay
 
int64_t output_order
 
int64_t first_pts
 
int64_t dts_pts_diff
 
int64_t ts_ring [MAX_REORDER_DELAY *3+MAX_ASYNC_DEPTH]
 
int gop_size
 
int closed_gop
 
int gop_per_idr
 
int p_per_i
 
int max_b_depth
 
int b_per_p
 
int force_idr
 
int idr_counter
 
int gop_counter
 
int end_of_stream
 
int p_to_gpb
 
int roi_allowed
 
int crop_warned
 
int roi_warned
 
AVFrameframe
 
int async_encode
 
AVFifoencode_fifo
 
int async_depth
 
AVPackettail_pkt
 Tail data of a pic, now only used for av1 repeat frame header. More...
 

Detailed Description

Definition at line 122 of file hw_base_encode.h.

Field Documentation

◆ class

const AVClass* FFHWBaseEncodeContext::class

Definition at line 123 of file hw_base_encode.h.

◆ log_ctx

void* FFHWBaseEncodeContext::log_ctx

Definition at line 124 of file hw_base_encode.h.

◆ op

const struct FFHWEncodePictureOperation* FFHWBaseEncodeContext::op

Definition at line 127 of file hw_base_encode.h.

Referenced by ff_d3d12va_encode_init(), and ff_vaapi_encode_init().

◆ idr_interval

int FFHWBaseEncodeContext::idr_interval

Definition at line 132 of file hw_base_encode.h.

◆ desired_b_depth

int FFHWBaseEncodeContext::desired_b_depth

Definition at line 135 of file hw_base_encode.h.

◆ surface_width

int FFHWBaseEncodeContext::surface_width

◆ surface_height

int FFHWBaseEncodeContext::surface_height

◆ slice_block_width

int FFHWBaseEncodeContext::slice_block_width

◆ slice_block_height

int FFHWBaseEncodeContext::slice_block_height

◆ device_ref

AVBufferRef* FFHWBaseEncodeContext::device_ref

◆ device

AVHWDeviceContext* FFHWBaseEncodeContext::device

Definition at line 149 of file hw_base_encode.h.

Referenced by ff_d3d12va_encode_init(), and ff_vaapi_encode_init().

◆ input_frames_ref

AVBufferRef* FFHWBaseEncodeContext::input_frames_ref

Definition at line 152 of file hw_base_encode.h.

◆ input_frames

AVHWFramesContext* FFHWBaseEncodeContext::input_frames

◆ recon_frames_ref

AVBufferRef* FFHWBaseEncodeContext::recon_frames_ref

◆ recon_frames

AVHWFramesContext* FFHWBaseEncodeContext::recon_frames

◆ pic_start

FFHWBaseEncodePicture* FFHWBaseEncodeContext::pic_start

Definition at line 160 of file hw_base_encode.h.

Referenced by ff_d3d12va_encode_close(), and ff_vaapi_encode_close().

◆ pic_end

FFHWBaseEncodePicture * FFHWBaseEncodeContext::pic_end

Definition at line 160 of file hw_base_encode.h.

◆ next_prev

FFHWBaseEncodePicture* FFHWBaseEncodeContext::next_prev[MAX_PICTURE_REFERENCES]

Definition at line 163 of file hw_base_encode.h.

◆ nb_next_prev

int FFHWBaseEncodeContext::nb_next_prev

Definition at line 164 of file hw_base_encode.h.

◆ input_order

int64_t FFHWBaseEncodeContext::input_order

Definition at line 167 of file hw_base_encode.h.

◆ output_delay

int64_t FFHWBaseEncodeContext::output_delay

◆ encode_order

int64_t FFHWBaseEncodeContext::encode_order

Definition at line 171 of file hw_base_encode.h.

◆ decode_delay

int64_t FFHWBaseEncodeContext::decode_delay

◆ output_order

int64_t FFHWBaseEncodeContext::output_order

Definition at line 175 of file hw_base_encode.h.

◆ first_pts

int64_t FFHWBaseEncodeContext::first_pts

Definition at line 178 of file hw_base_encode.h.

◆ dts_pts_diff

int64_t FFHWBaseEncodeContext::dts_pts_diff

Definition at line 179 of file hw_base_encode.h.

◆ ts_ring

int64_t FFHWBaseEncodeContext::ts_ring[MAX_REORDER_DELAY *3+ MAX_ASYNC_DEPTH]

Definition at line 181 of file hw_base_encode.h.

◆ gop_size

int FFHWBaseEncodeContext::gop_size

◆ closed_gop

int FFHWBaseEncodeContext::closed_gop

Definition at line 185 of file hw_base_encode.h.

◆ gop_per_idr

int FFHWBaseEncodeContext::gop_per_idr

Definition at line 186 of file hw_base_encode.h.

◆ p_per_i

int FFHWBaseEncodeContext::p_per_i

Definition at line 187 of file hw_base_encode.h.

◆ max_b_depth

int FFHWBaseEncodeContext::max_b_depth

◆ b_per_p

int FFHWBaseEncodeContext::b_per_p

◆ force_idr

int FFHWBaseEncodeContext::force_idr

Definition at line 190 of file hw_base_encode.h.

◆ idr_counter

int FFHWBaseEncodeContext::idr_counter

Definition at line 191 of file hw_base_encode.h.

◆ gop_counter

int FFHWBaseEncodeContext::gop_counter

Definition at line 192 of file hw_base_encode.h.

◆ end_of_stream

int FFHWBaseEncodeContext::end_of_stream

Definition at line 193 of file hw_base_encode.h.

◆ p_to_gpb

int FFHWBaseEncodeContext::p_to_gpb

◆ roi_allowed

int FFHWBaseEncodeContext::roi_allowed

Definition at line 197 of file hw_base_encode.h.

Referenced by vaapi_encode_init_roi(), and vaapi_encode_issue().

◆ crop_warned

int FFHWBaseEncodeContext::crop_warned

Definition at line 201 of file hw_base_encode.h.

◆ roi_warned

int FFHWBaseEncodeContext::roi_warned

Definition at line 204 of file hw_base_encode.h.

Referenced by vaapi_encode_issue().

◆ frame

AVFrame* FFHWBaseEncodeContext::frame

Definition at line 207 of file hw_base_encode.h.

Referenced by ff_d3d12va_encode_close(), and ff_vaapi_encode_close().

◆ async_encode

int FFHWBaseEncodeContext::async_encode

◆ encode_fifo

AVFifo* FFHWBaseEncodeContext::encode_fifo

◆ async_depth

int FFHWBaseEncodeContext::async_depth

◆ tail_pkt

AVPacket* FFHWBaseEncodeContext::tail_pkt

Tail data of a pic, now only used for av1 repeat frame header.

Definition at line 220 of file hw_base_encode.h.

Referenced by vaapi_encode_output().


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