VideoDecoderConfig constructor

VideoDecoderConfig({
  1. String? codec,
  2. num? codedHeight,
  3. num? codedWidth,
  4. VideoColorSpaceInit? colorSpace,
  5. Object? description,
  6. num? displayAspectHeight,
  7. num? displayAspectWidth,
  8. HardwareAcceleration? hardwareAcceleration,
  9. bool? optimizeForLatency,
})

Implementation

factory VideoDecoderConfig({
  _i2.String? codec,
  _i2.num? codedHeight,
  _i2.num? codedWidth,
  _i3.VideoColorSpaceInit? colorSpace,
  _i2.Object? description,
  _i2.num? displayAspectHeight,
  _i2.num? displayAspectWidth,
  _i3.HardwareAcceleration? hardwareAcceleration,
  _i2.bool? optimizeForLatency,
}) =>
    VideoDecoderConfig._(
      codec: codec,
      codedHeight: codedHeight,
      codedWidth: codedWidth,
      colorSpace: colorSpace ?? _i6.undefined,
      description: description ?? _i6.undefined,
      displayAspectHeight: displayAspectHeight,
      displayAspectWidth: displayAspectWidth,
      hardwareAcceleration: hardwareAcceleration?.name ?? _i6.undefined,
      optimizeForLatency: optimizeForLatency,
    );