|
枚举 | ChromaFormat {
单色 = 0
,
YUV420
,
YUV422
,
YUV444
,
NumFormats
} |
| cudacodec::VideoReader 支持的色度格式。 更多...
|
|
枚举 | Codec {
MPEG1 = 0
,
MPEG2
,
MPEG4
,
VC1
,
H264
,
JPEG
,
H264_SVC
,
H264_MVC
,
HEVC
,
VP8
,
VP9
,
AV1
,
NumCodecs
,
Uncompressed_YUV420 = (('I' << 24) | ('Y' << 16) | ('U' << 8) | ('V')) ,
Uncompressed_YV12 = (('Y' << 24) | ('V' << 16) | ('1' << 8) | ('2')) ,
Uncompressed_NV12 = (('N' << 24) | ('V' << 16) | ('1' << 8) | ('2')) ,
Uncompressed_YUYV = (('Y' << 24) | ('U' << 16) | ('Y' << 8) | ('V')) ,
Uncompressed_UYVY = (('U' << 24) | ('Y' << 16) | ('V' << 8) | ('Y'))
} |
| cudacodec::VideoReader 和 cudacodec::VideoWriter 支持的视频编解码器。 更多...
|
|
枚举类 | ColorFormat {
ColorFormat::UNDEFINED = 0
,
ColorFormat::BGRA = 1
,
ColorFormat::BGR = 2
,
ColorFormat::GRAY = 3
,
ColorFormat::NV_NV12 = 4
,
ColorFormat::RGB = 5
,
ColorFormat::RGBA = 6
,
ColorFormat::NV_YV12 = 8
,
ColorFormat::NV_IYUV = 9
,
ColorFormat::NV_YUV444 = 10
,
ColorFormat::NV_AYUV = 11
} |
| VideoReader::nextFrame() 和 VideoReader::retrieve() 返回的帧的 ColorFormat,或用于初始化 VideoWriter 的 ColorFormat。 更多...
|
|
枚举 | DeinterlaceMode {
交织 = 0
,
隔行扫描 = 1
,
自适应 = 2
} |
| 解码器使用的隔行扫描模式。 更多...
|
|
枚举 | EncodeMultiPass {
ENC_MULTI_PASS_DISABLED = 0x0 ,
ENC_TWO_PASS_QUARTER_RESOLUTION = 0x1 ,
ENC_TWO_PASS_FULL_RESOLUTION = 0x2
} |
| 多遍编码。 更多...
|
|
枚举 | EncodeParamsRcMode {
ENC_PARAMS_RC_CONSTQP = 0x0 ,
ENC_PARAMS_RC_VBR = 0x1 ,
ENC_PARAMS_RC_CBR = 0x2
} |
| 速率控制模式。 更多...
|
|
枚举 | EncodePreset {
ENC_PRESET_P1 = 1
,
ENC_PRESET_P2 = 2
,
ENC_PRESET_P3 = 3
,
ENC_PRESET_P4 = 4
,
ENC_PRESET_P5 = 5
,
ENC_PRESET_P6 = 6
,
ENC_PRESET_P7 = 7
} |
| Nvidia 编码预设。从 P1 到 P7,性能下降,质量提高。 更多...
|
|
枚举 | EncodeProfile {
ENC_CODEC_PROFILE_AUTOSELECT = 0
,
ENC_H264_PROFILE_BASELINE = 1
,
ENC_H264_PROFILE_MAIN = 2
,
ENC_H264_PROFILE_HIGH = 3
,
ENC_H264_PROFILE_HIGH_444 = 4
,
ENC_H264_PROFILE_STEREO = 5
,
ENC_H264_PROFILE_PROGRESSIVE_HIGH = 6
,
ENC_H264_PROFILE_CONSTRAINED_HIGH = 7
,
ENC_HEVC_PROFILE_MAIN = 8
,
ENC_HEVC_PROFILE_MAIN10 = 9
,
ENC_HEVC_PROFILE_FREXT = 10
} |
| 支持的编码器配置文件。 更多...
|
|
枚举 | EncodeTuningInfo {
ENC_TUNING_INFO_UNDEFINED = 0
,
ENC_TUNING_INFO_HIGH_QUALITY = 1
,
ENC_TUNING_INFO_LOW_LATENCY = 2
,
ENC_TUNING_INFO_ULTRA_LOW_LATENCY = 3
,
ENC_TUNING_INFO_LOSSLESS = 4
,
ENC_TUNING_INFO_COUNT
} |
| 调整信息。 更多...
|
|
枚举类 | VideoReaderProps {
VideoReaderProps::PROP_DECODED_FRAME_IDX = 0
,
VideoReaderProps::PROP_EXTRA_DATA_INDEX = 1
,
VideoReaderProps::PROP_RAW_PACKAGES_BASE_INDEX = 2
,
VideoReaderProps::PROP_NUMBER_OF_RAW_PACKAGES_SINCE_LAST_GRAB = 3
,
VideoReaderProps::PROP_RAW_MODE = 4
,
VideoReaderProps::PROP_LRF_HAS_KEY_FRAME = 5
,
VideoReaderProps::PROP_COLOR_FORMAT = 6
,
VideoReaderProps::PROP_UDP_SOURCE = 7
,
VideoReaderProps::PROP_ALLOW_FRAME_DROP = 8
} |
| cv::cudacodec::VideoReader 通用属性标识符。 更多...
|
|