Skip to content

Commit 4adf1d4

Browse files
author
awstools
committed
feat(client-medialive): H265 outputs now support disabling the deblocking filter.
1 parent bdfa868 commit 4adf1d4

File tree

12 files changed

+82
-16
lines changed

12 files changed

+82
-16
lines changed

clients/client-medialive/src/commands/CreateChannelCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
967967
* TileWidth: Number("int"),
968968
* TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
969969
* MinQp: Number("int"),
970+
* Deblocking: "DISABLED" || "ENABLED",
970971
* },
971972
* Mpeg2Settings: { // Mpeg2Settings
972973
* AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",
@@ -2155,6 +2156,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
21552156
* // TileWidth: Number("int"),
21562157
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
21572158
* // MinQp: Number("int"),
2159+
* // Deblocking: "DISABLED" || "ENABLED",
21582160
* // },
21592161
* // Mpeg2Settings: { // Mpeg2Settings
21602162
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/DeleteChannelCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
978978
* // TileWidth: Number("int"),
979979
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
980980
* // MinQp: Number("int"),
981+
* // Deblocking: "DISABLED" || "ENABLED",
981982
* // },
982983
* // Mpeg2Settings: { // Mpeg2Settings
983984
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/DescribeChannelCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
978978
* // TileWidth: Number("int"),
979979
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
980980
* // MinQp: Number("int"),
981+
* // Deblocking: "DISABLED" || "ENABLED",
981982
* // },
982983
* // Mpeg2Settings: { // Mpeg2Settings
983984
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/RestartChannelPipelinesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,7 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
981981
* // TileWidth: Number("int"),
982982
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
983983
* // MinQp: Number("int"),
984+
* // Deblocking: "DISABLED" || "ENABLED",
984985
* // },
985986
* // Mpeg2Settings: { // Mpeg2Settings
986987
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/StartChannelCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
978978
* // TileWidth: Number("int"),
979979
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
980980
* // MinQp: Number("int"),
981+
* // Deblocking: "DISABLED" || "ENABLED",
981982
* // },
982983
* // Mpeg2Settings: { // Mpeg2Settings
983984
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/StopChannelCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
978978
* // TileWidth: Number("int"),
979979
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
980980
* // MinQp: Number("int"),
981+
* // Deblocking: "DISABLED" || "ENABLED",
981982
* // },
982983
* // Mpeg2Settings: { // Mpeg2Settings
983984
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/UpdateChannelClassCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
10091009
* // TileWidth: Number("int"),
10101010
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
10111011
* // MinQp: Number("int"),
1012+
* // Deblocking: "DISABLED" || "ENABLED",
10121013
* // },
10131014
* // Mpeg2Settings: { // Mpeg2Settings
10141015
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/UpdateChannelCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
967967
* TileWidth: Number("int"),
968968
* TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
969969
* MinQp: Number("int"),
970+
* Deblocking: "DISABLED" || "ENABLED",
970971
* },
971972
* Mpeg2Settings: { // Mpeg2Settings
972973
* AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",
@@ -2142,6 +2143,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
21422143
* // TileWidth: Number("int"),
21432144
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
21442145
* // MinQp: Number("int"),
2146+
* // Deblocking: "DISABLED" || "ENABLED",
21452147
* // },
21462148
* // Mpeg2Settings: { // Mpeg2Settings
21472149
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/models/models_1.ts

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5239,6 +5239,20 @@ export interface H265ColorSpaceSettings {
52395239
Rec709Settings?: Rec709Settings | undefined;
52405240
}
52415241

5242+
/**
5243+
* @public
5244+
* @enum
5245+
*/
5246+
export const H265Deblocking = {
5247+
DISABLED: "DISABLED",
5248+
ENABLED: "ENABLED",
5249+
} as const;
5250+
5251+
/**
5252+
* @public
5253+
*/
5254+
export type H265Deblocking = (typeof H265Deblocking)[keyof typeof H265Deblocking];
5255+
52425256
/**
52435257
* H265 Filter Settings
52445258
* @public
@@ -5728,6 +5742,14 @@ export interface H265Settings {
57285742
* @public
57295743
*/
57305744
MinQp?: number | undefined;
5745+
5746+
/**
5747+
* Enable or disable the deblocking filter for this codec. The filter reduces blocking artifacts at block boundaries,
5748+
* which improves overall video quality. If the filter is disabled, visible block edges might appear in the output,
5749+
* especially at lower bitrates.
5750+
* @public
5751+
*/
5752+
Deblocking?: H265Deblocking | undefined;
57315753
}
57325754

57335755
/**
@@ -7131,18 +7153,3 @@ export const GlobalConfigurationOutputTimingSource = {
71317153
*/
71327154
export type GlobalConfigurationOutputTimingSource =
71337155
(typeof GlobalConfigurationOutputTimingSource)[keyof typeof GlobalConfigurationOutputTimingSource];
7134-
7135-
/**
7136-
* @public
7137-
* @enum
7138-
*/
7139-
export const GlobalConfigurationLowFramerateInputs = {
7140-
DISABLED: "DISABLED",
7141-
ENABLED: "ENABLED",
7142-
} as const;
7143-
7144-
/**
7145-
* @public
7146-
*/
7147-
export type GlobalConfigurationLowFramerateInputs =
7148-
(typeof GlobalConfigurationLowFramerateInputs)[keyof typeof GlobalConfigurationLowFramerateInputs];

clients/client-medialive/src/models/models_2.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ import {
104104
ColorCorrectionSettings,
105105
FeatureActivations,
106106
GlobalConfigurationInputEndAction,
107-
GlobalConfigurationLowFramerateInputs,
108107
GlobalConfigurationOutputLockingMode,
109108
GlobalConfigurationOutputTimingSource,
110109
InputLossBehavior,
@@ -126,6 +125,21 @@ import {
126125
VideoDescription,
127126
} from "./models_1";
128127

128+
/**
129+
* @public
130+
* @enum
131+
*/
132+
export const GlobalConfigurationLowFramerateInputs = {
133+
DISABLED: "DISABLED",
134+
ENABLED: "ENABLED",
135+
} as const;
136+
137+
/**
138+
* @public
139+
*/
140+
export type GlobalConfigurationLowFramerateInputs =
141+
(typeof GlobalConfigurationLowFramerateInputs)[keyof typeof GlobalConfigurationLowFramerateInputs];
142+
129143
/**
130144
* Global Configuration
131145
* @public
@@ -8113,6 +8127,8 @@ export interface UpdateInputSecurityGroupRequest {
81138127
InputSecurityGroupId: string | undefined;
81148128

81158129
/**
8130+
* @deprecated
8131+
*
81168132
* A collection of key-value pairs.
81178133
* @public
81188134
*/

clients/client-medialive/src/protocols/Aws_restJson1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7707,6 +7707,7 @@ const se_H265Settings = (input: H265Settings, context: __SerdeContext): any => {
77077707
bufSize: [, , `BufSize`],
77087708
colorMetadata: [, , `ColorMetadata`],
77097709
colorSpaceSettings: [, (_) => se_H265ColorSpaceSettings(_, context), `ColorSpaceSettings`],
7710+
deblocking: [, , `Deblocking`],
77107711
filterSettings: [, (_) => se_H265FilterSettings(_, context), `FilterSettings`],
77117712
fixedAfd: [, , `FixedAfd`],
77127713
flickerAq: [, , `FlickerAq`],
@@ -11698,6 +11699,7 @@ const de_H265Settings = (output: any, context: __SerdeContext): H265Settings =>
1169811699
BufSize: [, __expectInt32, `bufSize`],
1169911700
ColorMetadata: [, __expectString, `colorMetadata`],
1170011701
ColorSpaceSettings: [, (_: any) => de_H265ColorSpaceSettings(_, context), `colorSpaceSettings`],
11702+
Deblocking: [, __expectString, `deblocking`],
1170111703
FilterSettings: [, (_: any) => de_H265FilterSettings(_, context), `filterSettings`],
1170211704
FixedAfd: [, __expectString, `fixedAfd`],
1170311705
FlickerAq: [, __expectString, `flickerAq`],

codegen/sdk-codegen/aws-models/medialive.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16518,6 +16518,26 @@
1651816518
"smithy.api#documentation": "H265 Color Space Settings"
1651916519
}
1652016520
},
16521+
"com.amazonaws.medialive#H265Deblocking": {
16522+
"type": "enum",
16523+
"members": {
16524+
"DISABLED": {
16525+
"target": "smithy.api#Unit",
16526+
"traits": {
16527+
"smithy.api#enumValue": "DISABLED"
16528+
}
16529+
},
16530+
"ENABLED": {
16531+
"target": "smithy.api#Unit",
16532+
"traits": {
16533+
"smithy.api#enumValue": "ENABLED"
16534+
}
16535+
}
16536+
},
16537+
"traits": {
16538+
"smithy.api#documentation": "H265 Deblocking"
16539+
}
16540+
},
1652116541
"com.amazonaws.medialive#H265FilterSettings": {
1652216542
"type": "structure",
1652316543
"members": {
@@ -17087,6 +17107,13 @@
1708717107
"smithy.api#documentation": "Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will\napply an appropriate value.",
1708817108
"smithy.api#jsonName": "minQp"
1708917109
}
17110+
},
17111+
"Deblocking": {
17112+
"target": "com.amazonaws.medialive#H265Deblocking",
17113+
"traits": {
17114+
"smithy.api#documentation": "Enable or disable the deblocking filter for this codec. The filter reduces blocking artifacts at block boundaries,\nwhich improves overall video quality. If the filter is disabled, visible block edges might appear in the output,\nespecially at lower bitrates.",
17115+
"smithy.api#jsonName": "deblocking"
17116+
}
1709017117
}
1709117118
},
1709217119
"traits": {
@@ -35048,6 +35075,10 @@
3504835075
"Tags": {
3504935076
"target": "com.amazonaws.medialive#Tags",
3505035077
"traits": {
35078+
"smithy.api#deprecated": {
35079+
"since": "2024-11-20",
35080+
"message": "This API is deprecated. You must use UpdateTagsForResource instead."
35081+
},
3505135082
"smithy.api#documentation": "A collection of key-value pairs.",
3505235083
"smithy.api#jsonName": "tags"
3505335084
}

0 commit comments

Comments
 (0)