VideoStream_H265CodecSettings constructor

VideoStream_H265CodecSettings({
  1. int? widthPixels,
  2. int? heightPixels,
  3. double? frameRate,
  4. int? bitrateBps,
  5. String? pixelFormat,
  6. String? rateControlMode,
  7. int? crfLevel,
  8. bool? allowOpenGop,
  9. int? gopFrameCount,
  10. Duration? gopDuration,
  11. bool? enableTwoPass,
  12. int? vbvSizeBits,
  13. int? vbvFullnessBits,
  14. bool? bPyramid,
  15. int? bFrameCount,
  16. double? aqStrength,
  17. String? profile,
  18. String? tune,
  19. String? preset,
})

Implementation

factory VideoStream_H265CodecSettings({
  $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.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 (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;
}