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
 
registered_frames [MAX_REGISTERED_FRAMES]
 
int nb_registered_frames
 
enum AVPixelFormat data_pix_fmt
 
int64_t initial_pts [2]
 
int first_packet_output
 
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
 

Detailed Description

Definition at line 107 of file nvenc.h.

Field Documentation

AVClass* NvencContext::avclass

Definition at line 109 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 116 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 120 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 127 of file nvenc.h.

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

void* NvencContext::ptr

Definition at line 130 of file nvenc.h.

Referenced by nvenc_register_frame().

int NvencContext::ptr_index

Definition at line 131 of file nvenc.h.

Referenced by nvenc_register_frame().

NV_ENC_REGISTERED_PTR NvencContext::regptr
int NvencContext::mapped
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 144 of file nvenc.h.

Referenced by nvenc_set_timestamp().

void* NvencContext::nvencoder
int NvencContext::preset

Definition at line 148 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_map_preset().

int NvencContext::profile

Definition at line 149 of file nvenc.h.

Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

int NvencContext::level

Definition at line 150 of file nvenc.h.

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

int NvencContext::tier

Definition at line 151 of file nvenc.h.

Referenced by nvenc_setup_encoder(), and nvenc_setup_hevc_config().

int NvencContext::rc

Definition at line 152 of file nvenc.h.

Referenced by nvenc_override_rate_control(), and nvenc_setup_rate_control().

int NvencContext::cbr

Definition at line 153 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::twopass

Definition at line 154 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::device

Definition at line 155 of file nvenc.h.

Referenced by nvenc_check_device(), and nvenc_setup_device().

int NvencContext::flags

Definition at line 156 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 157 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 159 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::no_scenecut

Definition at line 160 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::forced_idr

Definition at line 161 of file nvenc.h.

Referenced by ff_nvenc_send_frame().

int NvencContext::b_adapt

Definition at line 162 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::temporal_aq

Definition at line 163 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_rate_control().

int NvencContext::zerolatency

Definition at line 164 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::nonref_p

Definition at line 165 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::strict_gop

Definition at line 166 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::aq_strength

Definition at line 167 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

float NvencContext::quality

Definition at line 168 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::aud

Definition at line 169 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 170 of file nvenc.h.

Referenced by nvenc_setup_encoder().

int NvencContext::init_qp_p

Definition at line 171 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::init_qp_b

Definition at line 172 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::init_qp_i

Definition at line 173 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::cqp

Definition at line 174 of file nvenc.h.

Referenced by nvenc_setup_rate_control(), and set_constqp().

int NvencContext::weighted_pred

Definition at line 175 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_encoder().

int NvencContext::coder

Definition at line 176 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_h264_config().


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