VideoStream_H264CodecSettings constructor
VideoStream_H264CodecSettings({
- int? widthPixels,
- int? heightPixels,
- double? frameRate,
- int? bitrateBps,
- String? pixelFormat,
- String? rateControlMode,
- int? crfLevel,
- bool? allowOpenGop,
- int? gopFrameCount,
- Duration? gopDuration,
- bool? enableTwoPass,
- int? vbvSizeBits,
- int? vbvFullnessBits,
- String? entropyCoder,
- bool? bPyramid,
- int? bFrameCount,
- double? aqStrength,
- String? profile,
- String? tune,
- String? preset,
Implementation
factory VideoStream_H264CodecSettings({
$core.int? widthPixels,
$core.int? heightPixels,
$core.double? frameRate,
$core.int? bitrateBps,
$core.String? pixelFormat,
$core.String? rateControlMode,
$core.int? crfLevel,
$core.bool? allowOpenGop,
$core.int? gopFrameCount,
$10.Duration? gopDuration,
$core.bool? enableTwoPass,
$core.int? vbvSizeBits,
$core.int? vbvFullnessBits,
$core.String? entropyCoder,
$core.bool? bPyramid,
$core.int? bFrameCount,
$core.double? aqStrength,
$core.String? profile,
$core.String? tune,
$core.String? preset,
}) {
final $result = create();
if (widthPixels != null) {
$result.widthPixels = widthPixels;
}
if (heightPixels != null) {
$result.heightPixels = heightPixels;
}
if (frameRate != null) {
$result.frameRate = frameRate;
}
if (bitrateBps != null) {
$result.bitrateBps = bitrateBps;
}
if (pixelFormat != null) {
$result.pixelFormat = pixelFormat;
}
if (rateControlMode != null) {
$result.rateControlMode = rateControlMode;
}
if (crfLevel != null) {
$result.crfLevel = crfLevel;
}
if (allowOpenGop != null) {
$result.allowOpenGop = allowOpenGop;
}
if (gopFrameCount != null) {
$result.gopFrameCount = gopFrameCount;
}
if (gopDuration != null) {
$result.gopDuration = gopDuration;
}
if (enableTwoPass != null) {
$result.enableTwoPass = enableTwoPass;
}
if (vbvSizeBits != null) {
$result.vbvSizeBits = vbvSizeBits;
}
if (vbvFullnessBits != null) {
$result.vbvFullnessBits = vbvFullnessBits;
}
if (entropyCoder != null) {
$result.entropyCoder = entropyCoder;
}
if (bPyramid != null) {
$result.bPyramid = bPyramid;
}
if (bFrameCount != null) {
$result.bFrameCount = bFrameCount;
}
if (aqStrength != null) {
$result.aqStrength = aqStrength;
}
if (profile != null) {
$result.profile = profile;
}
if (tune != null) {
$result.tune = tune;
}
if (preset != null) {
$result.preset = preset;
}
return $result;
}