|
191 | 191 | use AsyncAws\MediaConvert\Enum\H264DynamicSubGop; |
192 | 192 | use AsyncAws\MediaConvert\Enum\H264EndOfStreamMarkers; |
193 | 193 | use AsyncAws\MediaConvert\Enum\H264EntropyEncoding; |
| 194 | +use AsyncAws\MediaConvert\Enum\H264ExplicitWeightedPrediction; |
194 | 195 | use AsyncAws\MediaConvert\Enum\H264FieldEncoding; |
195 | 196 | use AsyncAws\MediaConvert\Enum\H264FlickerAdaptiveQuantization; |
196 | 197 | use AsyncAws\MediaConvert\Enum\H264FramerateControl; |
|
502 | 503 | use AsyncAws\MediaConvert\ValueObject\DestinationSettings; |
503 | 504 | use AsyncAws\MediaConvert\ValueObject\DolbyVision; |
504 | 505 | use AsyncAws\MediaConvert\ValueObject\DolbyVisionLevel6Metadata; |
| 506 | +use AsyncAws\MediaConvert\ValueObject\DurationControl; |
505 | 507 | use AsyncAws\MediaConvert\ValueObject\DvbNitSettings; |
506 | 508 | use AsyncAws\MediaConvert\ValueObject\DvbSdtSettings; |
507 | 509 | use AsyncAws\MediaConvert\ValueObject\DvbSubDestinationSettings; |
@@ -1306,6 +1308,15 @@ private function populateResultDolbyVisionLevel6Metadata(array $json): DolbyVisi |
1306 | 1308 | ]); |
1307 | 1309 | } |
1308 | 1310 |
|
| 1311 | + private function populateResultDurationControl(array $json): DurationControl |
| 1312 | + { |
| 1313 | + return new DurationControl([ |
| 1314 | + 'IntegerDurationMaximumCompressionDenominator' => isset($json['integerDurationMaximumCompressionDenominator']) ? (int) $json['integerDurationMaximumCompressionDenominator'] : null, |
| 1315 | + 'IntegerDurationMaximumCompressionNumerator' => isset($json['integerDurationMaximumCompressionNumerator']) ? (int) $json['integerDurationMaximumCompressionNumerator'] : null, |
| 1316 | + 'IntegerDurationTrimThresholdMilliseconds' => isset($json['integerDurationTrimThresholdMilliseconds']) ? (int) $json['integerDurationTrimThresholdMilliseconds'] : null, |
| 1317 | + ]); |
| 1318 | + } |
| 1319 | + |
1309 | 1320 | private function populateResultDvbNitSettings(array $json): DvbNitSettings |
1310 | 1321 | { |
1311 | 1322 | return new DvbNitSettings([ |
@@ -1596,6 +1607,7 @@ private function populateResultH264Settings(array $json): H264Settings |
1596 | 1607 | 'DynamicSubGop' => isset($json['dynamicSubGop']) ? (!H264DynamicSubGop::exists((string) $json['dynamicSubGop']) ? H264DynamicSubGop::UNKNOWN_TO_SDK : (string) $json['dynamicSubGop']) : null, |
1597 | 1608 | 'EndOfStreamMarkers' => isset($json['endOfStreamMarkers']) ? (!H264EndOfStreamMarkers::exists((string) $json['endOfStreamMarkers']) ? H264EndOfStreamMarkers::UNKNOWN_TO_SDK : (string) $json['endOfStreamMarkers']) : null, |
1598 | 1609 | 'EntropyEncoding' => isset($json['entropyEncoding']) ? (!H264EntropyEncoding::exists((string) $json['entropyEncoding']) ? H264EntropyEncoding::UNKNOWN_TO_SDK : (string) $json['entropyEncoding']) : null, |
| 1610 | + 'ExplicitWeightedPrediction' => isset($json['explicitWeightedPrediction']) ? (!H264ExplicitWeightedPrediction::exists((string) $json['explicitWeightedPrediction']) ? H264ExplicitWeightedPrediction::UNKNOWN_TO_SDK : (string) $json['explicitWeightedPrediction']) : null, |
1599 | 1611 | 'FieldEncoding' => isset($json['fieldEncoding']) ? (!H264FieldEncoding::exists((string) $json['fieldEncoding']) ? H264FieldEncoding::UNKNOWN_TO_SDK : (string) $json['fieldEncoding']) : null, |
1600 | 1612 | 'FlickerAdaptiveQuantization' => isset($json['flickerAdaptiveQuantization']) ? (!H264FlickerAdaptiveQuantization::exists((string) $json['flickerAdaptiveQuantization']) ? H264FlickerAdaptiveQuantization::UNKNOWN_TO_SDK : (string) $json['flickerAdaptiveQuantization']) : null, |
1601 | 1613 | 'FramerateControl' => isset($json['framerateControl']) ? (!H264FramerateControl::exists((string) $json['framerateControl']) ? H264FramerateControl::UNKNOWN_TO_SDK : (string) $json['framerateControl']) : null, |
@@ -2855,6 +2867,7 @@ private function populateResultVideoPreprocessor(array $json): VideoPreprocessor |
2855 | 2867 | 'ColorCorrector' => empty($json['colorCorrector']) ? null : $this->populateResultColorCorrector($json['colorCorrector']), |
2856 | 2868 | 'Deinterlacer' => empty($json['deinterlacer']) ? null : $this->populateResultDeinterlacer($json['deinterlacer']), |
2857 | 2869 | 'DolbyVision' => empty($json['dolbyVision']) ? null : $this->populateResultDolbyVision($json['dolbyVision']), |
| 2870 | + 'DurationControl' => empty($json['durationControl']) ? null : $this->populateResultDurationControl($json['durationControl']), |
2858 | 2871 | 'Hdr10Plus' => empty($json['hdr10Plus']) ? null : $this->populateResultHdr10Plus($json['hdr10Plus']), |
2859 | 2872 | 'ImageInserter' => empty($json['imageInserter']) ? null : $this->populateResultImageInserter($json['imageInserter']), |
2860 | 2873 | 'NoiseReducer' => empty($json['noiseReducer']) ? null : $this->populateResultNoiseReducer($json['noiseReducer']), |
|
0 commit comments