blib/lib/Paws/MediaLive/VideoBlackFailoverSettings.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaLive::VideoBlackFailoverSettings;
3 use Moose;
4 has BlackDetectThreshold => (is => 'ro', isa => 'Num', request_name => 'blackDetectThreshold', traits => ['NameInRequest']);
5 has VideoBlackThresholdMsec => (is => 'ro', isa => 'Int', request_name => 'videoBlackThresholdMsec', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::MediaLive::VideoBlackFailoverSettings
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::MediaLive::VideoBlackFailoverSettings object:
25  
26 $service_obj->Method(Att1 => { BlackDetectThreshold => $value, ..., VideoBlackThresholdMsec => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::VideoBlackFailoverSettings object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->BlackDetectThreshold
34  
35 =head1 DESCRIPTION
36  
37 Placeholder documentation for VideoBlackFailoverSettings
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 BlackDetectThreshold => Num
43  
44 A value used in calculating the threshold below which MediaLive
45 considers a pixel to be 'black'. For the input to be considered black,
46 every pixel in a frame must be below this threshold. The threshold is
47 calculated as a percentage (expressed as a decimal) of white. Therefore
48 .1 means 10% white (or 90% black). Note how the formula works for any
49 color depth. For example, if you set this field to 0.1 in 10-bit color
50 depth: (1023*0.1=102.3), which means a pixel value of 102 or less is
51 'black'. If you set this field to .1 in an 8-bit color depth:
52 (255*0.1=25.5), which means a pixel value of 25 or less is 'black'. The
53 range is 0.0 to 1.0, with any number of decimal places.
54  
55  
56 =head2 VideoBlackThresholdMsec => Int
57  
58 The amount of time (in milliseconds) that the active input must be
59 black before automatic input failover occurs.
60  
61  
62  
63 =head1 SEE ALSO
64  
65 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
66  
67 =head1 BUGS and CONTRIBUTIONS
68  
69 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
70  
71 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
72  
73 =cut
74