Libav
Data Fields
NVENCContext Struct Reference

#include <nvenc.h>

Data Fields

AVClassclass
 
NVENCLibraryContext nvel
 
NV_ENC_INITIALIZE_PARAMS params
 
NV_ENC_CONFIG config
 
CUcontext cu_context
 
CUcontext cu_context_internal
 
int nb_surfaces
 
NVENCFrameframes
 
AVFifoBuffertimestamps
 
AVFifoBufferpending
 
AVFifoBufferready
 
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
 
voidnvenc_ctx
 
int preset
 
int profile
 
int level
 
int tier
 
int rc
 
int device
 
int flags
 
int async_depth
 

Detailed Description

Definition at line 122 of file nvenc.h.

Field Documentation

◆ class

AVClass* NVENCContext::class

Definition at line 123 of file nvenc.h.

◆ nvel

NVENCLibraryContext NVENCContext::nvel

◆ params

NV_ENC_INITIALIZE_PARAMS NVENCContext::params

◆ config

NV_ENC_CONFIG NVENCContext::config

◆ cu_context

CUcontext NVENCContext::cu_context

Definition at line 129 of file nvenc.h.

Referenced by nvenc_check_device(), nvenc_open_session(), and nvenc_setup_device().

◆ cu_context_internal

CUcontext NVENCContext::cu_context_internal

Definition at line 130 of file nvenc.h.

Referenced by ff_nvenc_encode_close(), and nvenc_check_device().

◆ nb_surfaces

int NVENCContext::nb_surfaces

Definition at line 132 of file nvenc.h.

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

◆ frames

NVENCFrame* NVENCContext::frames

◆ timestamps

AVFifoBuffer* NVENCContext::timestamps

◆ pending

AVFifoBuffer* NVENCContext::pending

◆ ready

AVFifoBuffer * NVENCContext::ready

◆ ptr

CUdeviceptr NVENCContext::ptr

Definition at line 138 of file nvenc.h.

Referenced by nvenc_register_frame().

◆ regptr

NV_ENC_REGISTERED_PTR NVENCContext::regptr

◆ mapped

int NVENCContext::mapped

Definition at line 140 of file nvenc.h.

Referenced by nvenc_find_free_reg_resource(), nvenc_get_output(), and nvenc_upload_frame().

◆ registered_frames

struct { ... } NVENCContext::registered_frames[MAX_REGISTERED_FRAMES]

◆ nb_registered_frames

int NVENCContext::nb_registered_frames

◆ data_pix_fmt

enum AVPixelFormat NVENCContext::data_pix_fmt

◆ initial_pts

int64_t NVENCContext::initial_pts[2]

◆ first_packet_output

int NVENCContext::first_packet_output

Definition at line 151 of file nvenc.h.

Referenced by nvenc_set_timestamp().

◆ nvenc_ctx

void* NVENCContext::nvenc_ctx

◆ preset

int NVENCContext::preset

Definition at line 155 of file nvenc.h.

Referenced by nvec_map_preset().

◆ profile

int NVENCContext::profile

Definition at line 156 of file nvenc.h.

Referenced by nvenc_setup_h264_config().

◆ level

int NVENCContext::level

Definition at line 157 of file nvenc.h.

Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().

◆ tier

int NVENCContext::tier

Definition at line 158 of file nvenc.h.

Referenced by nvenc_setup_hevc_config().

◆ rc

int NVENCContext::rc

Definition at line 159 of file nvenc.h.

Referenced by nvenc_override_rate_control(), and nvenc_setup_rate_control().

◆ device

int NVENCContext::device

Definition at line 160 of file nvenc.h.

Referenced by nvenc_check_device(), and nvenc_setup_device().

◆ flags

int NVENCContext::flags

◆ async_depth

int NVENCContext::async_depth

Definition at line 162 of file nvenc.h.

Referenced by nvenc_setup_surfaces(), and output_ready().


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