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
 
int nb_surfaces
 
NvencSurfacesurfaces
 
AVFifoBufferoutput_surface_queue
 
AVFifoBufferoutput_surface_ready_queue
 
AVFifoBuffertimestamp_list
 
struct {
   CUdeviceptr   ptr
 
   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
 
int quality
 
int aud
 
int bluray_compat
 
int init_qp_p
 
int init_qp_b
 
int init_qp_i
 
int cqp
 

Detailed Description

Definition at line 99 of file nvenc.h.

Field Documentation

AVClass* NvencContext::avclass

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

Referenced by ff_nvenc_encode_close(), and nvenc_check_device().

int NvencContext::nb_surfaces
NvencSurface* NvencContext::surfaces
AVFifoBuffer* NvencContext::output_surface_queue
AVFifoBuffer* NvencContext::output_surface_ready_queue
AVFifoBuffer* NvencContext::timestamp_list
CUdeviceptr NvencContext::ptr

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

Referenced by nvenc_set_timestamp().

void* NvencContext::nvencoder
int NvencContext::preset

Definition at line 135 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_map_preset().

int NvencContext::profile

Definition at line 136 of file nvenc.h.

Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

int NvencContext::level

Definition at line 137 of file nvenc.h.

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

int NvencContext::tier

Definition at line 138 of file nvenc.h.

Referenced by nvenc_setup_encoder(), and nvenc_setup_hevc_config().

int NvencContext::rc

Definition at line 139 of file nvenc.h.

Referenced by nvenc_override_rate_control(), and nvenc_setup_rate_control().

int NvencContext::cbr

Definition at line 140 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::twopass

Definition at line 141 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::device

Definition at line 142 of file nvenc.h.

Referenced by nvenc_check_device(), and nvenc_setup_device().

int NvencContext::flags

Definition at line 143 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 144 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 146 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::no_scenecut

Definition at line 147 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::forced_idr

Definition at line 148 of file nvenc.h.

Referenced by ff_nvenc_encode_frame().

int NvencContext::b_adapt

Definition at line 149 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::temporal_aq

Definition at line 150 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_setup_rate_control().

int NvencContext::zerolatency

Definition at line 151 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::nonref_p

Definition at line 152 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::strict_gop

Definition at line 153 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::aq_strength

Definition at line 154 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::quality

Definition at line 155 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::aud

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

Referenced by nvenc_setup_encoder().

int NvencContext::init_qp_p

Definition at line 158 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::init_qp_b

Definition at line 159 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::init_qp_i

Definition at line 160 of file nvenc.h.

Referenced by set_constqp(), and set_vbr().

int NvencContext::cqp

Definition at line 161 of file nvenc.h.

Referenced by nvenc_setup_rate_control(), and set_constqp().


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