H264CodecSettingsResponse.fromMap constructor
H264CodecSettingsResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory H264CodecSettingsResponse.fromMap(Map<String, dynamic> map) {
return H264CodecSettingsResponse(
allowOpenGop: pulumi.Input.fromValue(map['allowOpenGop'] as bool),
aqStrength: pulumi.Input.fromValue(map['aqStrength'] as double),
bFrameCount: pulumi.Input.fromValue(map['bFrameCount'] as int),
bPyramid: pulumi.Input.fromValue(map['bPyramid'] as bool),
bitrateBps: pulumi.Input.fromValue(map['bitrateBps'] as int),
crfLevel: pulumi.Input.fromValue(map['crfLevel'] as int),
enableTwoPass: pulumi.Input.fromValue(map['enableTwoPass'] as bool),
entropyCoder: pulumi.Input.fromValue(map['entropyCoder'] as String),
frameRate: pulumi.Input.fromValue(map['frameRate'] as double),
gopDuration: pulumi.Input.fromValue(map['gopDuration'] as String),
gopFrameCount: pulumi.Input.fromValue(map['gopFrameCount'] as int),
heightPixels: pulumi.Input.fromValue(map['heightPixels'] as int),
pixelFormat: pulumi.Input.fromValue(map['pixelFormat'] as String),
preset: pulumi.Input.fromValue(map['preset'] as String),
profile: pulumi.Input.fromValue(map['profile'] as String),
rateControlMode: pulumi.Input.fromValue(map['rateControlMode'] as String),
tune: pulumi.Input.fromValue(map['tune'] as String),
vbvFullnessBits: pulumi.Input.fromValue(map['vbvFullnessBits'] as int),
vbvSizeBits: pulumi.Input.fromValue(map['vbvSizeBits'] as int),
widthPixels: pulumi.Input.fromValue(map['widthPixels'] as int),
);
}