|
FFmpeg
|
#include "config.h"#include <ffnvcodec/nvEncodeAPI.h>#include "compat/cuda/dynlink_loader.h"#include "libavutil/buffer.h"#include "libavutil/fifo.h"#include "libavutil/opt.h"#include "hwconfig.h"#include "avcodec.h"Go to the source code of this file.
Data Structures | |
| struct | NvencSurface |
| struct | NvencFrameData |
| struct | NvencDynLoadFunctions |
| struct | NvencContext |
Macros | |
| #define | MAX_REGISTERED_FRAMES 64 |
| #define | RC_MODE_DEPRECATED 0x800000 |
| #define | RCD(rc_mode) ((rc_mode) | RC_MODE_DEPRECATED) |
| #define | NVENCAPI_CHECK_VERSION(major, minor) ((major) < NVENCAPI_MAJOR_VERSION || ((major) == NVENCAPI_MAJOR_VERSION && (minor) <= NVENCAPI_MINOR_VERSION)) |
Typedefs | |
| typedef void | ID3D11Device |
Enumerations | |
| enum | { PRESET_DEFAULT = 0, PRESET_SLOW, PRESET_MEDIUM, PRESET_FAST, PRESET_HP, PRESET_HQ, PRESET_BD, PRESET_LOW_LATENCY_DEFAULT, PRESET_LOW_LATENCY_HQ, PRESET_LOW_LATENCY_HP, PRESET_LOSSLESS_DEFAULT, PRESET_LOSSLESS_HP } |
| enum | { NV_ENC_H264_PROFILE_BASELINE, NV_ENC_H264_PROFILE_MAIN, NV_ENC_H264_PROFILE_HIGH, NV_ENC_H264_PROFILE_HIGH_444P } |
| enum | { NV_ENC_HEVC_PROFILE_MAIN, NV_ENC_HEVC_PROFILE_MAIN_10, NV_ENC_HEVC_PROFILE_REXT, NV_ENC_HEVC_PROFILE_COUNT } |
| enum | { NVENC_LOWLATENCY = 1, NVENC_LOSSLESS = 2, NVENC_ONE_PASS = 4, NVENC_TWO_PASSES = 8, NVENC_DEPRECATED_PRESET = 0x8000 } |
| enum | { LIST_DEVICES = -2, ANY_DEVICE } |
| enum | { NVENC_RGB_MODE_DISABLED, NVENC_RGB_MODE_420, NVENC_RGB_MODE_444 } |
Functions | |
| int | ff_nvenc_encode_init (AVCodecContext *avctx) |
| int | ff_nvenc_encode_close (AVCodecContext *avctx) |
| int | ff_nvenc_receive_packet (AVCodecContext *avctx, AVPacket *pkt) |
| void | ff_nvenc_encode_flush (AVCodecContext *avctx) |
Variables | |
| enum AVPixelFormat | ff_nvenc_pix_fmts [] |
| const AVCodecHWConfigInternal *const | ff_nvenc_hw_configs [] |
| #define RCD | ( | rc_mode | ) | ((rc_mode) | RC_MODE_DEPRECATED) |
| #define NVENCAPI_CHECK_VERSION | ( | major, | |
| minor | |||
| ) | ((major) < NVENCAPI_MAJOR_VERSION || ((major) == NVENCAPI_MAJOR_VERSION && (minor) <= NVENCAPI_MINOR_VERSION)) |
| typedef void ID3D11Device |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| int ff_nvenc_encode_init | ( | AVCodecContext * | avctx | ) |
| int ff_nvenc_encode_close | ( | AVCodecContext * | avctx | ) |
| int ff_nvenc_receive_packet | ( | AVCodecContext * | avctx, |
| AVPacket * | pkt | ||
| ) |
| void ff_nvenc_encode_flush | ( | AVCodecContext * | avctx | ) |
| enum AVPixelFormat ff_nvenc_pix_fmts[] |
| const AVCodecHWConfigInternal* const ff_nvenc_hw_configs[] |
1.8.17