line |
true |
false |
branch |
270
|
37 |
29 |
$type eq 'min' ? : |
280
|
5590 |
249 |
if $field and not $field =~ /^_/ |
288
|
0 |
57 |
unless $$edid{'edid_version'} >= 1 and $$edid{'edid_version'} <= 2 |
289
|
0 |
57 |
unless $$edid{'edid_revision'} != 255 |
291
|
43 |
14 |
if ($$edid{'monitor_range'}) |
292
|
0 |
43 |
unless $$edid{'monitor_range'}{'horizontal_min'} and $$edid{'monitor_range'}{'horizontal_min'} <= $$edid{'monitor_range'}{'horizontal_max'} |
295
|
0 |
43 |
unless $$edid{'monitor_range'}{'vertical_min'} and $$edid{'monitor_range'}{'vertical_min'} <= $$edid{'monitor_range'}{'vertical_max'} |
310
|
1404 |
780 |
unless $field =~ s/_hi$// |
320
|
37 |
20 |
$$edid{'edid_version'} > 1 || $$edid{'edid_revision'} > 2 ? : |
327
|
212 |
244 |
if ($_ ne ' ' and $$h{'X'} > 256) { } |
329
|
212 |
0 |
if ($$h{'ratio'} = $aspect2ratio[$$h{'aspect'}]) |
349
|
57 |
1026 |
if ($field eq 'year') { } |
|
57 |
969 |
elsif ($field eq 'manufacturer_name') { } |
|
57 |
912 |
elsif ($field eq 'video_input_definition') { } |
|
57 |
855 |
elsif ($field eq 'feature_support') { } |
|
57 |
798 |
elsif ($field eq 'established_timings') { } |
|
57 |
741 |
elsif ($field eq 'standard_timings') { } |
|
57 |
684 |
elsif ($field eq 'monitor_details') { } |
354
|
0 |
57 |
if $v eq '@@@' |
361
|
0 |
969 |
unless $$a{'X'} <=> $$b{'X'} |
362
|
9 |
530 |
$4 ? : |
|
539 |
0 |
/(\d+)x(\d+)_(\d+)(i?)/ ? : |
371
|
69 |
159 |
if ($pixel_clock) { } |
374
|
65 |
4 |
if $$h{'horizontal_active'} > 1 and $$h{'vertical_active'} > 1 |
379
|
42 |
117 |
if ($flag == 253) { } |
|
7 |
110 |
elsif ($flag == 15) { } |
|
0 |
110 |
elsif ($flag == 250) { } |
|
40 |
70 |
elsif ($flag == 252) { } |
|
28 |
42 |
elsif ($flag == 254) { } |
|
33 |
9 |
elsif ($flag == 255) { } |
382
|
5 |
37 |
if ($edid{'monitor_range'}{'pixel_clock_max'} == 255) { } |
398
|
13 |
9 |
if ($e and $$e{$dir . '_active'} and _within_limit($$e{$dir . '_blanking'}, $m, $$range{$dir . '_blanking_' . $m}) and _within_limit($$e{$dir . '_sync_pulse_width'}, $m, $$range{$dir . '_sync_pulse_width_' . $m}) and _within_limit($$e{$dir . '_blanking'} - $$e{$dir . '_sync_offset'} - $$e{$dir . '_sync_pulse_width'}, $m, $$range{$dir . '_back_porch_' . $m})) |
406
|
5 |
9 |
if ($total{'horizontal'} and $total{'vertical'}) { } |
409
|
3 |
2 |
$m eq 'min' ? : |
410
|
3 |
2 |
$m eq 'min' ? : |
415
|
1 |
6 |
$valid ? : |
421
|
1 |
39 |
$prev ? : |
427
|
0 |
0 |
if $verbose and $vv ne "\000\000\000\000\000\000\000\000\000\000\000\000\000" and $vv ne ' ' |
434
|
969 |
114 |
if $field and not $field =~ /^_/ |
440
|
2 |
1 |
if ($tag == 2) { } |
444
|
0 |
2 |
if $dtd_offset < 4 |
453
|
2 |
3 |
if ($$h{'type'} == 2) |
458
|
0 |
19 |
unless ($cea_mode) |
459
|
0 |
0 |
if $verbose |
471
|
1 |
9 |
unless $pixel_clock |
473
|
9 |
0 |
if $$h{'horizontal_active'} > 1 and $$h{'vertical_active'} > 1 |
477
|
0 |
1 |
if $verbose |
482
|
53 |
4 |
if $edid{'product_code'} and $edid{'manufacturer_name'} |
484
|
43 |
14 |
if ($edid{'monitor_range'}) |
489
|
57 |
0 |
if ($edid{'max_size_vertical'}) |
495
|
39 |
18 |
if ($edid{'feature_support'}{'has_preferred_timing'} and $edid{'detailed_timings'}[0]) |
503
|
6 |
87 |
if ($$h{'interlaced'}) |
505
|
2 |
40 |
if ($_ eq $$h{'horizontal_active'} . 'x' . $$h{'vertical_active'} * 2) |
522
|
48 |
45 |
if ($error <= 0.5) |
526
|
63 |
30 |
if ($error < 1 and $in_cm{'vertical'}) |
533
|
82 |
11 |
$edid{'ratio_precision'} eq 'mm' ? : |
|
21 |
72 |
if abs $edid{'ratio'} - $$h{'horizontal_active'} / $$h{'vertical_active'} > ($edid{'ratio_precision'} eq 'mm' ? 0.02 : 0.2) |
535
|
93 |
0 |
if ($edid{'max_size_vertical'}) |
538
|
93 |
0 |
if ($edid{'max_size_horizontal'}) |
542
|
93 |
0 |
if ($$h{'vertical_dpi'} and $$h{'horizontal_dpi'}) |
543
|
71 |
22 |
abs $$h{'vertical_dpi'} / $$h{'horizontal_dpi'} - 1 < 0.05 ? : |
553
|
39 |
54 |
$$h{'preferred'} ? : |
|
19 |
74 |
$$h{'source'} eq 'cea_vdb' ? : |
|
6 |
87 |
$$h{'interlaced'} ? : |
|
6 |
87 |
$$h{'interlaced'} ? : |
|
93 |
0 |
$dpi_string ? : |
562
|
55 |
38 |
$$h{'horizontal_sync_positive'} ? : |
|
57 |
36 |
$$h{'vertical_sync_positive'} ? : |
|
6 |
87 |
$$h{'interlaced'} ? : |
592
|
1244 |
646 |
$error > $max_error ? : |
600
|
63 |
57 |
if ($precision eq 'mm') { } |
606
|
0 |
57 |
unless $ratio1 and $ratio2 |
607
|
12 |
45 |
if ($ratio1 eq $ratio2) { } |
611
|
17 |
28 |
$ratio eq $ratio1 ? : |
618
|
24 |
0 |
if /\s+([0-9a-f]{32})$/ |
619
|
0 |
3 |
if (length($edid_str) % 256 != 0 or length $edid_str == 0) |
632
|
0 |
2 |
unless (@edids) |
638
|
148 |
38 |
defined $_[0] ? : |