VideoDecoderConfig constructor
VideoDecoderConfig({
- String? codec,
- num? codedHeight,
- num? codedWidth,
- VideoColorSpaceInit? colorSpace,
- Object? description,
- num? displayAspectHeight,
- num? displayAspectWidth,
- HardwareAcceleration? hardwareAcceleration,
- 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,
);