FFmpeg
|
#include <nvEncodeAPI.h>
Data Fields | |
uint32_t | version |
[in]: Struct version. More... | |
GUID | profileGUID |
[in]: Specifies the codec profile guid. More... | |
uint32_t | gopLength |
[in]: Specifies the number of pictures in one GOP. More... | |
int32_t | frameIntervalP |
[in]: Specifies the GOP pattern as follows: frameIntervalP = 0: I, 1: IPP, 2: IBP, 3: IBBP If goplength is set to NVENC_INFINITE_GOPLENGTH frameIntervalP should be set to 1. More... | |
uint32_t | monoChromeEncoding |
[in]: Set this to 1 to enable monochrome encoding for this session. More... | |
NV_ENC_PARAMS_FRAME_FIELD_MODE | frameFieldMode |
[in]: Specifies the frame/field mode. More... | |
NV_ENC_MV_PRECISION | mvPrecision |
[in]: Specifies the desired motion vector prediction precision. More... | |
NV_ENC_RC_PARAMS | rcParams |
[in]: Specifies the rate control parameters for the current encoding session. More... | |
NV_ENC_CODEC_CONFIG | encodeCodecConfig |
[in]: Specifies the codec specific config parameters through this union. More... | |
uint32_t | reserved [278] |
[in]: Reserved and must be set to 0 More... | |
void * | reserved2 [64] |
[in]: Reserved and must be set to NULL More... | |
Definition at line 1285 of file nvEncodeAPI.h.
uint32_t NV_ENC_CONFIG::version |
[in]: Struct version.
Must be set to NV_ENC_CONFIG_VER.
Definition at line 1287 of file nvEncodeAPI.h.
Referenced by nvenc_setup_encoder().
GUID NV_ENC_CONFIG::profileGUID |
[in]: Specifies the codec profile guid.
If client specifies NV_ENC_CODEC_PROFILE_AUTOSELECT_GUID
the NvEncodeAPI interface will select the appropriate codec profile.
Definition at line 1288 of file nvEncodeAPI.h.
Referenced by nvenc_setup_h264_config(), and nvenc_setup_hevc_config().
uint32_t NV_ENC_CONFIG::gopLength |
[in]: Specifies the number of pictures in one GOP.
Low latency application client can set goplength to NVENC_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.
Definition at line 1289 of file nvEncodeAPI.h.
Referenced by nvenc_setup_encoder(), nvenc_setup_h264_config(), and nvenc_setup_hevc_config().
int32_t NV_ENC_CONFIG::frameIntervalP |
[in]: Specifies the GOP pattern as follows: frameIntervalP
= 0: I, 1: IPP, 2: IBP, 3: IBBP If goplength is set to NVENC_INFINITE_GOPLENGTH frameIntervalP
should be set to 1.
Definition at line 1290 of file nvEncodeAPI.h.
Referenced by nvenc_recalc_surfaces(), nvenc_setup_encoder(), and nvenc_setup_rate_control().
uint32_t NV_ENC_CONFIG::monoChromeEncoding |
[in]: Set this to 1 to enable monochrome encoding for this session.
Definition at line 1291 of file nvEncodeAPI.h.
NV_ENC_PARAMS_FRAME_FIELD_MODE NV_ENC_CONFIG::frameFieldMode |
[in]: Specifies the frame/field mode.
Check support for field encoding using NV_ENC_CAPS_SUPPORT_FIELD_ENCODING caps. Using a frameFieldMode other than NV_ENC_PARAMS_FRAME_FIELD_MODE_FRAME for RGB input is not supported.
Definition at line 1292 of file nvEncodeAPI.h.
Referenced by nvenc_setup_encoder().
NV_ENC_MV_PRECISION NV_ENC_CONFIG::mvPrecision |
[in]: Specifies the desired motion vector prediction precision.
Definition at line 1295 of file nvEncodeAPI.h.
NV_ENC_RC_PARAMS NV_ENC_CONFIG::rcParams |
[in]: Specifies the rate control parameters for the current encoding session.
Definition at line 1296 of file nvEncodeAPI.h.
Referenced by nvenc_override_rate_control(), nvenc_setup_encoder(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), nvenc_setup_rate_control(), set_constqp(), set_lossless(), and set_vbr().
NV_ENC_CODEC_CONFIG NV_ENC_CONFIG::encodeCodecConfig |
[in]: Specifies the codec specific config parameters through this union.
Definition at line 1297 of file nvEncodeAPI.h.
Referenced by nvenc_codec_specific_pic_params(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), and process_output_surface().
uint32_t NV_ENC_CONFIG::reserved[278] |
[in]: Reserved and must be set to 0
Definition at line 1298 of file nvEncodeAPI.h.
void* NV_ENC_CONFIG::reserved2[64] |
[in]: Reserved and must be set to NULL
Definition at line 1299 of file nvEncodeAPI.h.