FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
NvencContext Struct Reference

#include <nvenc.h>

Data Fields

AVClassavclass
 
NvencDynLoadFunctions nvenc_dload_funcs
 
NV_ENC_INITIALIZE_PARAMS init_encode_params
 
NV_ENC_CONFIG encode_config
 
CUcontext cu_context
 
CUcontext cu_context_internal
 
ID3D11Deviced3d11_device
 
int nb_surfaces
 
NvencSurfacesurfaces
 
AVFifoBufferunused_surface_queue
 
AVFifoBufferoutput_surface_queue
 
AVFifoBufferoutput_surface_ready_queue
 
AVFifoBuffertimestamp_list
 
int encoder_flushing
 
struct {
   void *   ptr
 
   int   ptr_index
 
   NV_ENC_REGISTERED_PTR   regptr
 
   int   mapped
 
   NV_ENC_MAP_INPUT_RESOURCE   in_map
 
registered_frames [MAX_REGISTERED_FRAMES]
 
int nb_registered_frames
 
enum AVPixelFormat data_pix_fmt
 
int64_t initial_pts [2]
 
int first_packet_output
 
int support_dyn_bitrate
 
voidnvencoder
 
int preset
 
int profile
 
int level
 
int tier
 
int rc
 
int cbr
 
int twopass
 
int device
 
int flags
 
int async_depth
 
int rc_lookahead
 
int aq
 
int no_scenecut
 
int forced_idr
 
int b_adapt
 
int temporal_aq
 
int zerolatency
 
int nonref_p
 
int strict_gop
 
int aq_strength
 
float quality
 
int aud
 
int bluray_compat
 
int init_qp_p
 
int init_qp_b
 
int init_qp_i
 
int cqp
 
int weighted_pred
 
int coder
 
int b_ref_mode
 
int a53_cc
 

Detailed Description

Definition at line 115 of file nvenc.h.

Field Documentation

AVClass* NvencContext::avclass

Definition at line 117 of file nvenc.h.

NvencDynLoadFunctions NvencContext::nvenc_dload_funcs
NV_ENC_INITIALIZE_PARAMS NvencContext::init_encode_params
NV_ENC_CONFIG NvencContext::encode_config
CUcontext NvencContext::cu_context
CUcontext NvencContext::cu_context_internal

Definition at line 124 of file nvenc.h.

Referenced by ff_nvenc_encode_close(), and nvenc_check_device().

ID3D11Device* NvencContext::d3d11_device
int NvencContext::nb_surfaces
NvencSurface* NvencContext::surfaces

Definition at line 128 of file nvenc.h.

Referenced by ff_nvenc_encode_close(), nvenc_alloc_surface(), and nvenc_setup_surfaces().

AVFifoBuffer* NvencContext::unused_surface_queue
AVFifoBuffer* NvencContext::output_surface_queue
AVFifoBuffer* NvencContext::output_surface_ready_queue
AVFifoBuffer* NvencContext::timestamp_list
int NvencContext::encoder_flushing

Definition at line 135 of file nvenc.h.

Referenced by ff_nvenc_encode_frame(), ff_nvenc_receive_packet(), and ff_nvenc_send_frame().

void* NvencContext::ptr
int NvencContext::ptr_index

Definition at line 139 of file nvenc.h.

Referenced by nvenc_register_frame().

NV_ENC_REGISTERED_PTR NvencContext::regptr
int NvencContext::mapped
NV_ENC_MAP_INPUT_RESOURCE NvencContext::in_map

Definition at line 142 of file nvenc.h.

Referenced by ff_nvenc_encode_close(), nvenc_upload_frame(), and process_output_surface().

struct { ... } NvencContext::registered_frames[MAX_REGISTERED_FRAMES]
int NvencContext::nb_registered_frames
enum AVPixelFormat NvencContext::data_pix_fmt
int64_t NvencContext::initial_pts[2]
int NvencContext::first_packet_output

Definition at line 153 of file nvenc.h.

Referenced by ff_nvenc_send_frame(), and nvenc_set_timestamp().

int NvencContext::support_dyn_bitrate

Definition at line 155 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and reconfig_encoder().

void* NvencContext::nvencoder
int NvencContext::preset

Definition at line 159 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_map_preset().

int NvencContext::profile

Definition at line 160 of file nvenc.h.

Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

int NvencContext::level

Definition at line 161 of file nvenc.h.

Referenced by nvenc_setup_encoder(), nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

int NvencContext::tier

Definition at line 162 of file nvenc.h.

Referenced by nvenc_setup_encoder(), and nvenc_setup_hevc_config().

int NvencContext::rc
int NvencContext::cbr

Definition at line 164 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::twopass

Definition at line 165 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::device

Definition at line 166 of file nvenc.h.

Referenced by nvenc_check_device(), and nvenc_setup_device().

int NvencContext::flags

Definition at line 167 of file nvenc.h.

Referenced by nvenc_map_preset(), nvenc_setup_h264_config(), and nvenc_setup_rate_control().

int NvencContext::async_depth

Definition at line 168 of file nvenc.h.

Referenced by nvenc_recalc_surfaces(), nvenc_setup_rate_control(), and output_ready().

int NvencContext::rc_lookahead
int NvencContext::aq

Definition at line 170 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::no_scenecut

Definition at line 171 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::forced_idr

Definition at line 172 of file nvenc.h.

Referenced by ff_nvenc_send_frame().

int NvencContext::b_adapt

Definition at line 173 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::temporal_aq

Definition at line 174 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_rate_control().

int NvencContext::zerolatency

Definition at line 175 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::nonref_p

Definition at line 176 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::strict_gop

Definition at line 177 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::aq_strength

Definition at line 178 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

float NvencContext::quality

Definition at line 179 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::aud

Definition at line 180 of file nvenc.h.

Referenced by nvenc_setup_encoder(), nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

int NvencContext::bluray_compat

Definition at line 181 of file nvenc.h.

Referenced by nvenc_setup_encoder().

int NvencContext::init_qp_p

Definition at line 182 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::init_qp_b

Definition at line 183 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::init_qp_i

Definition at line 184 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::cqp

Definition at line 185 of file nvenc.h.

Referenced by nvenc_setup_rate_control(), and set_constqp().

int NvencContext::weighted_pred

Definition at line 186 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_encoder().

int NvencContext::coder

Definition at line 187 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_h264_config().

int NvencContext::b_ref_mode

Definition at line 188 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_h264_config().

int NvencContext::a53_cc

Definition at line 189 of file nvenc.h.

Referenced by ff_nvenc_send_frame().


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