Libav
|
#include <nvenc.h>
Data Fields | |
AVClass * | class |
NVENCLibraryContext | nvel |
NV_ENC_INITIALIZE_PARAMS | params |
NV_ENC_CONFIG | config |
CUcontext | cu_context |
CUcontext | cu_context_internal |
int | nb_surfaces |
NVENCFrame * | frames |
AVFifoBuffer * | timestamps |
AVFifoBuffer * | pending |
AVFifoBuffer * | ready |
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 |
void * | nvenc_ctx |
int | preset |
int | profile |
int | level |
int | tier |
int | rc |
int | device |
int | flags |
int | async_depth |
NVENCLibraryContext NVENCContext::nvel |
Definition at line 124 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_alloc_surface(), nvenc_check_cap(), nvenc_check_codec_support(), nvenc_check_device(), nvenc_find_free_reg_resource(), nvenc_get_output(), nvenc_load_libraries(), nvenc_open_session(), nvenc_register_frame(), nvenc_setup_device(), nvenc_setup_encoder(), nvenc_setup_extradata(), and nvenc_upload_frame().
NV_ENC_INITIALIZE_PARAMS NVENCContext::params |
Definition at line 126 of file nvenc.h.
Referenced by nvec_map_preset(), nvenc_check_cap(), nvenc_check_codec_support(), nvenc_setup_device(), and nvenc_setup_encoder().
NV_ENC_CONFIG NVENCContext::config |
Definition at line 127 of file nvenc.h.
Referenced by nvenc_codec_specific_pic_params(), nvenc_setup_encoder(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), and nvenc_setup_rate_control().
CUcontext NVENCContext::cu_context |
Definition at line 129 of file nvenc.h.
Referenced by nvenc_check_device(), nvenc_open_session(), and nvenc_setup_device().
CUcontext NVENCContext::cu_context_internal |
Definition at line 130 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), and nvenc_check_device().
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().
NVENCFrame* NVENCContext::frames |
Definition at line 133 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), get_free_frame(), nvenc_alloc_surface(), nvenc_register_frame(), and nvenc_setup_surfaces().
AVFifoBuffer* NVENCContext::timestamps |
Definition at line 134 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_set_timestamp(), and nvenc_setup_surfaces().
AVFifoBuffer* NVENCContext::pending |
Definition at line 135 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_setup_surfaces(), and output_ready().
AVFifoBuffer * NVENCContext::ready |
Definition at line 135 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_get_output(), nvenc_setup_surfaces(), and output_ready().
CUdeviceptr NVENCContext::ptr |
Definition at line 138 of file nvenc.h.
Referenced by nvenc_register_frame().
NV_ENC_REGISTERED_PTR NVENCContext::regptr |
Definition at line 139 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), nvenc_find_free_reg_resource(), nvenc_register_frame(), and nvenc_upload_frame().
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().
struct { ... } NVENCContext::registered_frames[MAX_REGISTERED_FRAMES] |
int NVENCContext::nb_registered_frames |
Definition at line 142 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), nvenc_find_free_reg_resource(), and nvenc_register_frame().
enum AVPixelFormat NVENCContext::data_pix_fmt |
Definition at line 146 of file nvenc.h.
Referenced by ff_nvenc_encode_init(), nvenc_alloc_surface(), nvenc_check_capabilities(), and nvenc_setup_h264_config().
int64_t NVENCContext::initial_pts[2] |
Definition at line 150 of file nvenc.h.
Referenced by ff_nvenc_encode_frame(), nvenc_set_timestamp(), nvenc_setup_encoder(), and output_ready().
int NVENCContext::first_packet_output |
Definition at line 151 of file nvenc.h.
Referenced by nvenc_set_timestamp().
void* NVENCContext::nvenc_ctx |
Definition at line 153 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_alloc_surface(), nvenc_check_cap(), nvenc_check_codec_support(), nvenc_check_device(), nvenc_find_free_reg_resource(), nvenc_get_output(), nvenc_open_session(), nvenc_register_frame(), nvenc_setup_encoder(), nvenc_setup_extradata(), and nvenc_upload_frame().
int NVENCContext::preset |
Definition at line 155 of file nvenc.h.
Referenced by nvec_map_preset().
int NVENCContext::profile |
Definition at line 156 of file nvenc.h.
Referenced by nvenc_setup_h264_config().
int NVENCContext::level |
Definition at line 157 of file nvenc.h.
Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().
int NVENCContext::tier |
Definition at line 158 of file nvenc.h.
Referenced by nvenc_setup_hevc_config().
int NVENCContext::rc |
Definition at line 159 of file nvenc.h.
Referenced by nvenc_override_rate_control(), and nvenc_setup_rate_control().
int NVENCContext::device |
Definition at line 160 of file nvenc.h.
Referenced by nvenc_check_device(), and nvenc_setup_device().
int NVENCContext::flags |
Definition at line 161 of file nvenc.h.
Referenced by nvec_map_preset(), nvenc_override_rate_control(), nvenc_setup_h264_config(), and nvenc_setup_rate_control().
int NVENCContext::async_depth |
Definition at line 162 of file nvenc.h.
Referenced by nvenc_setup_surfaces(), and output_ready().