blib/lib/Paws/MediaConvert/ColorCorrector.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConvert::ColorCorrector;
3 use Moose;
4 has Brightness => (is => 'ro', isa => 'Int', request_name => 'brightness', traits => ['NameInRequest']);
5 has ColorSpaceConversion => (is => 'ro', isa => 'Str', request_name => 'colorSpaceConversion', traits => ['NameInRequest']);
6 has Contrast => (is => 'ro', isa => 'Int', request_name => 'contrast', traits => ['NameInRequest']);
7 has Hdr10Metadata => (is => 'ro', isa => 'Paws::MediaConvert::Hdr10Metadata', request_name => 'hdr10Metadata', traits => ['NameInRequest']);
8 has Hue => (is => 'ro', isa => 'Int', request_name => 'hue', traits => ['NameInRequest']);
9 has SampleRangeConversion => (is => 'ro', isa => 'Str', request_name => 'sampleRangeConversion', traits => ['NameInRequest']);
10 has Saturation => (is => 'ro', isa => 'Int', request_name => 'saturation', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::MediaConvert::ColorCorrector
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::MediaConvert::ColorCorrector object:
30  
31 $service_obj->Method(Att1 => { Brightness => $value, ..., Saturation => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::ColorCorrector object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Brightness
39  
40 =head1 DESCRIPTION
41  
42 Settings for color correction.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Brightness => Int
48  
49 Brightness level.
50  
51  
52 =head2 ColorSpaceConversion => Str
53  
54 Specify the color space you want for this output. The service supports
55 conversion between HDR formats, between SDR formats, from SDR to HDR,
56 and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic
57 range. The converted video has an HDR format, but visually appears the
58 same as an unconverted output. HDR to SDR conversion uses Elemental
59 tone mapping technology to approximate the outcome of manually
60 regrading from HDR to SDR.
61  
62  
63 =head2 Contrast => Int
64  
65 Contrast level.
66  
67  
68 =head2 Hdr10Metadata => L<Paws::MediaConvert::Hdr10Metadata>
69  
70 Use these settings when you convert to the HDR 10 color space. Specify
71 the SMPTE ST 2086 Mastering Display Color Volume static metadata that
72 you want signaled in the output. These values don't affect the pixel
73 values that are encoded in the video stream. They are intended to help
74 the downstream video player display content in a way that reflects the
75 intentions of the the content creator. When you set Color space
76 conversion (ColorSpaceConversion) to HDR 10 (FORCE_HDR10), these
77 settings are required. You must set values for Max frame average light
78 level (maxFrameAverageLightLevel) and Max content light level
79 (maxContentLightLevel); these settings don't have a default value. The
80 default values for the other HDR 10 metadata settings are defined by
81 the P3D65 color space. For more information about MediaConvert HDR
82 jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.
83  
84  
85 =head2 Hue => Int
86  
87 Hue in degrees.
88  
89  
90 =head2 SampleRangeConversion => Str
91  
92 Specify the video color sample range for this output. To create a full
93 range output, you must start with a full range YUV input and keep the
94 default value, None (NONE). To create a limited range output from a
95 full range input, choose Limited range (LIMITED_RANGE_SQUEEZE). With
96 RGB inputs, your output is always limited range, regardless of your
97 choice here. When you create a limited range output from a full range
98 input, MediaConvert limits the active pixel values in a way that
99 depends on the output's bit depth: 8-bit outputs contain only values
100 from 16 through 235 and 10-bit outputs contain only values from 64
101 through 940. With this conversion, MediaConvert also changes the output
102 metadata to note the limited range.
103  
104  
105 =head2 Saturation => Int
106  
107 Saturation level.
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122