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
 

Detailed Description

Definition at line 131 of file nvenc.h.

Field Documentation

AVClass* NvencContext::avclass

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

Referenced by ff_nvenc_encode_close(), and nvenc_check_device().

int NvencContext::nb_surfaces

Definition at line 142 of file nvenc.h.

Referenced by ff_nvenc_encode_close(), get_free_frame(), and nvenc_setup_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 150 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 163 of file nvenc.h.

Referenced by nvenc_set_timestamp().

void* NvencContext::nvencoder
int NvencContext::preset

Definition at line 167 of file nvenc.h.

Referenced by nvenc_check_capabilities(), and nvenc_map_preset().

int NvencContext::profile

Definition at line 168 of file nvenc.h.

Referenced by nvenc_setup_h264_config().

int NvencContext::level

Definition at line 169 of file nvenc.h.

Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

int NvencContext::tier

Definition at line 170 of file nvenc.h.

Referenced by nvenc_setup_hevc_config().

int NvencContext::rc

Definition at line 171 of file nvenc.h.

Referenced by nvenc_override_rate_control(), and nvenc_setup_rate_control().

int NvencContext::cbr

Definition at line 172 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::twopass

Definition at line 173 of file nvenc.h.

Referenced by nvenc_setup_rate_control().

int NvencContext::device

Definition at line 174 of file nvenc.h.

Referenced by nvenc_check_device(), and nvenc_setup_device().

int NvencContext::flags

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

Referenced by nvenc_setup_surfaces(), and output_ready().


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