Skip to content

Commit 5543842

Browse files
author
aws-sdk-cpp-automation
committed
Documentation updates for AWS Systems Manager.
This release adds support for four new types of segments (opening credits, content segments, slates, and studio logos), improved accuracy for credits and shot detection and new filters to control black frame detection. This release adds APIs to support versioning feature of AWS WAF Managed rule groups
1 parent 472a4e5 commit 5543842

File tree

147 files changed

+10730
-3053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+10730
-3053
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
55

6-
#define AWS_SDK_VERSION_STRING "1.9.76"
6+
#define AWS_SDK_VERSION_STRING "1.9.77"
77
#define AWS_SDK_VERSION_MAJOR 1
88
#define AWS_SDK_VERSION_MINOR 9
9-
#define AWS_SDK_VERSION_PATCH 76
9+
#define AWS_SDK_VERSION_PATCH 77

aws-cpp-sdk-rekognition/include/aws/rekognition/RekognitionClient.h

Lines changed: 129 additions & 105 deletions
Large diffs are not rendered by default.
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/rekognition/Rekognition_EXPORTS.h>
8+
9+
namespace Aws
10+
{
11+
namespace Utils
12+
{
13+
namespace Json
14+
{
15+
class JsonValue;
16+
class JsonView;
17+
} // namespace Json
18+
} // namespace Utils
19+
namespace Rekognition
20+
{
21+
namespace Model
22+
{
23+
24+
/**
25+
* <p> A filter that allows you to control the black frame detection by specifying
26+
* the black levels and pixel coverage of black pixels in a frame. As videos can
27+
* come from multiple sources, formats, and time periods, they may contain
28+
* different standards and varying noise levels for black frames that need to be
29+
* accounted for. For more information, see <a>StartSegmentDetection</a>.
30+
* </p><p><h3>See Also:</h3> <a
31+
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/BlackFrame">AWS
32+
* API Reference</a></p>
33+
*/
34+
class AWS_REKOGNITION_API BlackFrame
35+
{
36+
public:
37+
BlackFrame();
38+
BlackFrame(Aws::Utils::Json::JsonView jsonValue);
39+
BlackFrame& operator=(Aws::Utils::Json::JsonView jsonValue);
40+
Aws::Utils::Json::JsonValue Jsonize() const;
41+
42+
43+
/**
44+
* <p> A threshold used to determine the maximum luminance value for a pixel to be
45+
* considered black. In a full color range video, luminance values range from
46+
* 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum
47+
* black pixel value is computed as follows: max_black_pixel_value =
48+
* minimum_luminance + MaxPixelThreshold *luminance_range. </p> <p>For example, for
49+
* a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 +
50+
* 0.1 * (255-0) = 25.5.</p> <p>The default value of MaxPixelThreshold is 0.2,
51+
* which maps to a max_black_pixel_value of 51 for a full range video. You can
52+
* lower this threshold to be more strict on black levels.</p>
53+
*/
54+
inline double GetMaxPixelThreshold() const{ return m_maxPixelThreshold; }
55+
56+
/**
57+
* <p> A threshold used to determine the maximum luminance value for a pixel to be
58+
* considered black. In a full color range video, luminance values range from
59+
* 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum
60+
* black pixel value is computed as follows: max_black_pixel_value =
61+
* minimum_luminance + MaxPixelThreshold *luminance_range. </p> <p>For example, for
62+
* a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 +
63+
* 0.1 * (255-0) = 25.5.</p> <p>The default value of MaxPixelThreshold is 0.2,
64+
* which maps to a max_black_pixel_value of 51 for a full range video. You can
65+
* lower this threshold to be more strict on black levels.</p>
66+
*/
67+
inline bool MaxPixelThresholdHasBeenSet() const { return m_maxPixelThresholdHasBeenSet; }
68+
69+
/**
70+
* <p> A threshold used to determine the maximum luminance value for a pixel to be
71+
* considered black. In a full color range video, luminance values range from
72+
* 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum
73+
* black pixel value is computed as follows: max_black_pixel_value =
74+
* minimum_luminance + MaxPixelThreshold *luminance_range. </p> <p>For example, for
75+
* a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 +
76+
* 0.1 * (255-0) = 25.5.</p> <p>The default value of MaxPixelThreshold is 0.2,
77+
* which maps to a max_black_pixel_value of 51 for a full range video. You can
78+
* lower this threshold to be more strict on black levels.</p>
79+
*/
80+
inline void SetMaxPixelThreshold(double value) { m_maxPixelThresholdHasBeenSet = true; m_maxPixelThreshold = value; }
81+
82+
/**
83+
* <p> A threshold used to determine the maximum luminance value for a pixel to be
84+
* considered black. In a full color range video, luminance values range from
85+
* 0-255. A pixel value of 0 is pure black, and the most strict filter. The maximum
86+
* black pixel value is computed as follows: max_black_pixel_value =
87+
* minimum_luminance + MaxPixelThreshold *luminance_range. </p> <p>For example, for
88+
* a full range video with BlackPixelThreshold = 0.1, max_black_pixel_value is 0 +
89+
* 0.1 * (255-0) = 25.5.</p> <p>The default value of MaxPixelThreshold is 0.2,
90+
* which maps to a max_black_pixel_value of 51 for a full range video. You can
91+
* lower this threshold to be more strict on black levels.</p>
92+
*/
93+
inline BlackFrame& WithMaxPixelThreshold(double value) { SetMaxPixelThreshold(value); return *this;}
94+
95+
96+
/**
97+
* <p> The minimum percentage of pixels in a frame that need to have a luminance
98+
* below the max_black_pixel_value for a frame to be considered a black frame.
99+
* Luminance is calculated using the BT.709 matrix. </p> <p>The default value is
100+
* 99, which means at least 99% of all pixels in the frame are black pixels as per
101+
* the <code>MaxPixelThreshold</code> set. You can reduce this value to allow more
102+
* noise on the black frame.</p>
103+
*/
104+
inline double GetMinCoveragePercentage() const{ return m_minCoveragePercentage; }
105+
106+
/**
107+
* <p> The minimum percentage of pixels in a frame that need to have a luminance
108+
* below the max_black_pixel_value for a frame to be considered a black frame.
109+
* Luminance is calculated using the BT.709 matrix. </p> <p>The default value is
110+
* 99, which means at least 99% of all pixels in the frame are black pixels as per
111+
* the <code>MaxPixelThreshold</code> set. You can reduce this value to allow more
112+
* noise on the black frame.</p>
113+
*/
114+
inline bool MinCoveragePercentageHasBeenSet() const { return m_minCoveragePercentageHasBeenSet; }
115+
116+
/**
117+
* <p> The minimum percentage of pixels in a frame that need to have a luminance
118+
* below the max_black_pixel_value for a frame to be considered a black frame.
119+
* Luminance is calculated using the BT.709 matrix. </p> <p>The default value is
120+
* 99, which means at least 99% of all pixels in the frame are black pixels as per
121+
* the <code>MaxPixelThreshold</code> set. You can reduce this value to allow more
122+
* noise on the black frame.</p>
123+
*/
124+
inline void SetMinCoveragePercentage(double value) { m_minCoveragePercentageHasBeenSet = true; m_minCoveragePercentage = value; }
125+
126+
/**
127+
* <p> The minimum percentage of pixels in a frame that need to have a luminance
128+
* below the max_black_pixel_value for a frame to be considered a black frame.
129+
* Luminance is calculated using the BT.709 matrix. </p> <p>The default value is
130+
* 99, which means at least 99% of all pixels in the frame are black pixels as per
131+
* the <code>MaxPixelThreshold</code> set. You can reduce this value to allow more
132+
* noise on the black frame.</p>
133+
*/
134+
inline BlackFrame& WithMinCoveragePercentage(double value) { SetMinCoveragePercentage(value); return *this;}
135+
136+
private:
137+
138+
double m_maxPixelThreshold;
139+
bool m_maxPixelThresholdHasBeenSet;
140+
141+
double m_minCoveragePercentage;
142+
bool m_minCoveragePercentageHasBeenSet;
143+
};
144+
145+
} // namespace Model
146+
} // namespace Rekognition
147+
} // namespace Aws

aws-cpp-sdk-rekognition/include/aws/rekognition/model/ContentModerationDetection.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace Model
2424
{
2525

2626
/**
27-
* <p>Information about an unsafe content label detection in a stored
28-
* video.</p><p><h3>See Also:</h3> <a
27+
* <p>Information about an inappropriate, unwanted, or offensive content label
28+
* detection in a stored video.</p><p><h3>See Also:</h3> <a
2929
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/ContentModerationDetection">AWS
3030
* API Reference</a></p>
3131
*/
@@ -39,57 +39,57 @@ namespace Model
3939

4040

4141
/**
42-
* <p>Time, in milliseconds from the beginning of the video, that the unsafe
43-
* content label was detected.</p>
42+
* <p>Time, in milliseconds from the beginning of the video, that the content
43+
* moderation label was detected.</p>
4444
*/
4545
inline long long GetTimestamp() const{ return m_timestamp; }
4646

4747
/**
48-
* <p>Time, in milliseconds from the beginning of the video, that the unsafe
49-
* content label was detected.</p>
48+
* <p>Time, in milliseconds from the beginning of the video, that the content
49+
* moderation label was detected.</p>
5050
*/
5151
inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
5252

5353
/**
54-
* <p>Time, in milliseconds from the beginning of the video, that the unsafe
55-
* content label was detected.</p>
54+
* <p>Time, in milliseconds from the beginning of the video, that the content
55+
* moderation label was detected.</p>
5656
*/
5757
inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
5858

5959
/**
60-
* <p>Time, in milliseconds from the beginning of the video, that the unsafe
61-
* content label was detected.</p>
60+
* <p>Time, in milliseconds from the beginning of the video, that the content
61+
* moderation label was detected.</p>
6262
*/
6363
inline ContentModerationDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
6464

6565

6666
/**
67-
* <p>The unsafe content label detected by in the stored video.</p>
67+
* <p>The content moderation label detected by in the stored video.</p>
6868
*/
6969
inline const ModerationLabel& GetModerationLabel() const{ return m_moderationLabel; }
7070

7171
/**
72-
* <p>The unsafe content label detected by in the stored video.</p>
72+
* <p>The content moderation label detected by in the stored video.</p>
7373
*/
7474
inline bool ModerationLabelHasBeenSet() const { return m_moderationLabelHasBeenSet; }
7575

7676
/**
77-
* <p>The unsafe content label detected by in the stored video.</p>
77+
* <p>The content moderation label detected by in the stored video.</p>
7878
*/
7979
inline void SetModerationLabel(const ModerationLabel& value) { m_moderationLabelHasBeenSet = true; m_moderationLabel = value; }
8080

8181
/**
82-
* <p>The unsafe content label detected by in the stored video.</p>
82+
* <p>The content moderation label detected by in the stored video.</p>
8383
*/
8484
inline void SetModerationLabel(ModerationLabel&& value) { m_moderationLabelHasBeenSet = true; m_moderationLabel = std::move(value); }
8585

8686
/**
87-
* <p>The unsafe content label detected by in the stored video.</p>
87+
* <p>The content moderation label detected by in the stored video.</p>
8888
*/
8989
inline ContentModerationDetection& WithModerationLabel(const ModerationLabel& value) { SetModerationLabel(value); return *this;}
9090

9191
/**
92-
* <p>The unsafe content label detected by in the stored video.</p>
92+
* <p>The content moderation label detected by in the stored video.</p>
9393
*/
9494
inline ContentModerationDetection& WithModerationLabel(ModerationLabel&& value) { SetModerationLabel(std::move(value)); return *this;}
9595

0 commit comments

Comments
 (0)