FFmpeg
|
#include <nvenc.h>
Data Fields | |
AVClass * | avclass |
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 |
NvencSurface * | surfaces |
AVFifoBuffer * | output_surface_queue |
AVFifoBuffer * | output_surface_ready_queue |
AVFifoBuffer * | timestamp_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 |
void * | nvencoder |
int | preset |
int | profile |
int | level |
int | tier |
int | rc |
int | cbr |
int | twopass |
int | device |
int | flags |
int | async_depth |
NvencDynLoadFunctions NvencContext::nvenc_dload_funcs |
Definition at line 135 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_load_libraries(), nvenc_open_session(), nvenc_register_frame(), nvenc_setup_device(), nvenc_setup_encoder(), nvenc_setup_extradata(), nvenc_upload_frame(), and process_output_surface().
NV_ENC_INITIALIZE_PARAMS NvencContext::init_encode_params |
Definition at line 137 of file nvenc.h.
Referenced by nvenc_check_cap(), nvenc_check_codec_support(), nvenc_map_preset(), nvenc_setup_device(), and nvenc_setup_encoder().
NV_ENC_CONFIG NvencContext::encode_config |
Definition at line 138 of file nvenc.h.
Referenced by nvenc_codec_specific_pic_params(), nvenc_override_rate_control(), nvenc_setup_encoder(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), nvenc_setup_rate_control(), process_output_surface(), set_constqp(), set_lossless(), and set_vbr().
CUcontext NvencContext::cu_context |
Definition at line 139 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), nvenc_check_device(), nvenc_open_session(), and nvenc_setup_device().
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 |
Definition at line 143 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::output_surface_queue |
Definition at line 145 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_setup_surfaces(), and output_ready().
AVFifoBuffer* NvencContext::output_surface_ready_queue |
Definition at line 146 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_setup_surfaces(), and output_ready().
AVFifoBuffer* NvencContext::timestamp_list |
Definition at line 147 of file nvenc.h.
Referenced by ff_nvenc_encode_close(), ff_nvenc_encode_frame(), nvenc_set_timestamp(), nvenc_setup_surfaces(), and process_output_surface().
CUdeviceptr NvencContext::ptr |
Definition at line 150 of file nvenc.h.
Referenced by nvenc_register_frame().
NV_ENC_REGISTERED_PTR NvencContext::regptr |
Definition at line 151 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 152 of file nvenc.h.
Referenced by nvenc_find_free_reg_resource(), nvenc_upload_frame(), and process_output_surface().
struct { ... } NvencContext::registered_frames[MAX_REGISTERED_FRAMES] |
int NvencContext::nb_registered_frames |
Definition at line 154 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 158 of file nvenc.h.
Referenced by ff_nvenc_encode_init(), nvenc_alloc_surface(), nvenc_check_capabilities(), nvenc_setup_h264_config(), and nvenc_setup_hevc_config().
int64_t NvencContext::initial_pts[2] |
Definition at line 162 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 163 of file nvenc.h.
Referenced by nvenc_set_timestamp().
void* NvencContext::nvencoder |
Definition at line 165 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_open_session(), nvenc_register_frame(), nvenc_setup_encoder(), nvenc_setup_extradata(), nvenc_upload_frame(), and process_output_surface().
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().