forked from tomverbeure/tomverbeure.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
video_timings_calculator.html
1470 lines (1323 loc) · 77.8 KB
/
video_timings_calculator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<html>
<head>
<title>Video Timings Calculator</title>
<script src="assets/javascript/jquery-3.4.1.min.js" type="text/javascript"></script>
<script src="assets/video_timings/dmt_timings.js" type="text/javascript"></script>
<script src="assets/video_timings/vic_timings.js" type="text/javascript"></script>
</head>
<body style="margin:2%">
<script>
var predefined_modes = [
{ name: "8K / 144" , horiz_pixels : 7680, vert_pixels : 4320, refresh_rate: 144 },
{ name: "8K / 120" , horiz_pixels : 7680, vert_pixels : 4320, refresh_rate: 120 },
{ name: "8K / 60" , horiz_pixels : 7680, vert_pixels : 4320, refresh_rate: 60 },
{ name: "6K / 60" , horiz_pixels : 6016, vert_pixels : 3384, refresh_rate: 60 },
{ name: "6K / 48" , horiz_pixels : 6016, vert_pixels : 3384, refresh_rate: 48 },
{ name: "5K / 144" , horiz_pixels : 5120, vert_pixels : 2880, refresh_rate: 144 },
{ name: "5K / 120" , horiz_pixels : 5120, vert_pixels : 2880, refresh_rate: 120 },
{ name: "5K / 60" , horiz_pixels : 5120, vert_pixels : 2880, refresh_rate: 60 },
{ name: "4K / 240" , horiz_pixels : 3840, vert_pixels : 2160, refresh_rate: 240 },
{ name: "4K / 165" , horiz_pixels : 3840, vert_pixels : 2160, refresh_rate: 165 },
{ name: "4K / 144" , horiz_pixels : 3840, vert_pixels : 2160, refresh_rate: 144 },
{ name: "4K / 120" , horiz_pixels : 3840, vert_pixels : 2160, refresh_rate: 120 },
{ name: "4K / 60" , horiz_pixels : 3840, vert_pixels : 2160, refresh_rate: 60 },
{ name: "3440x1440 / 240" , horiz_pixels : 3440, vert_pixels : 1440, refresh_rate: 240 },
{ name: "3440x1440 / 200" , horiz_pixels : 3440, vert_pixels : 1440, refresh_rate: 200 },
{ name: "3440x1440 / 165" , horiz_pixels : 3440, vert_pixels : 1440, refresh_rate: 165 },
{ name: "3440x1440 / 120" , horiz_pixels : 3440, vert_pixels : 1440, refresh_rate: 120 },
{ name: "3440x1440 / 60" , horiz_pixels : 3440, vert_pixels : 1440, refresh_rate: 60 },
{ name: "1440p / 360" , horiz_pixels : 2560, vert_pixels : 1440, refresh_rate: 360 },
{ name: "1440p / 240" , horiz_pixels : 2560, vert_pixels : 1440, refresh_rate: 240 },
{ name: "1440p / 165" , horiz_pixels : 2560, vert_pixels : 1440, refresh_rate: 165 },
{ name: "1440p / 120" , horiz_pixels : 2560, vert_pixels : 1440, refresh_rate: 120 },
{ name: "1440p / 60" , horiz_pixels : 2560, vert_pixels : 1440, refresh_rate: 60 },
{ name: "1920x1200 / 60" , horiz_pixels : 1920, vert_pixels : 1200, refresh_rate: 60 },
{ name: "1080p / 500" , horiz_pixels : 1920, vert_pixels : 1080, refresh_rate: 500 },
{ name: "1080p / 360" , horiz_pixels : 1920, vert_pixels : 1080, refresh_rate: 360 },
{ name: "1080p / 240" , horiz_pixels : 1920, vert_pixels : 1080, refresh_rate: 240 },
{ name: "1080p / 144" , horiz_pixels : 1920, vert_pixels : 1080, refresh_rate: 144 },
{ name: "1080p / 120" , horiz_pixels : 1920, vert_pixels : 1080, refresh_rate: 120 },
{ name: "1080p / 60" , horiz_pixels : 1920, vert_pixels : 1080, refresh_rate: 60 },
{ name: "720p / 60" , horiz_pixels : 1280, vert_pixels : 720, refresh_rate: 60 },
{ name: "1024x768 / 60" , horiz_pixels : 1024, vert_pixels : 768, refresh_rate: 60 },
{ name: "800x600 / 60" , horiz_pixels : 800, vert_pixels : 600, refresh_rate: 60 },
{ name: "640x480 / 60" , horiz_pixels : 640, vert_pixels : 480, refresh_rate: 60 },
{ name: "640x480 / 50" , horiz_pixels : 640, vert_pixels : 480, refresh_rate: 50 },
{ name: "320x200 / 60" , horiz_pixels : 320, vert_pixels : 200, refresh_rate: 60 },
{ name: "160x100 / 60" , horiz_pixels : 160, vert_pixels : 100, refresh_rate: 60 },
];
function check_integer(value, result_id) {
var n = Number(value)
if (Number.isInteger(n)){
$(result_id).text("Ok");
return true;
}
else{
$(result_id).text("Enter integer!");
return false;
}
}
var CLOCK_STEP;
var H_SYNC_PER = 0.08;
var MIN_V_PORCH_RND = 3;
var MIN_V_BPORCH;
var MIN_VSYNC_BP = 550;
var RB_H_BLANK = 160;
var RB_H_SYNC = 32;
var RB_MIN_V_BLANK = 460;
var RB_V_FPORCH = 3;
var MARGIN_PER = 1.8;
var C_PRIME = 30;
var M_PRIME = 300;
var CELL_GRAN = 8;
var CELL_GRAN_RND;
var IP_FREQ_RQD;
var V_FIELD_RATE_RQD;
var MARGINS_RQD;
var H_PIXELS;
var H_PIXELS_RND;
var LEFT_MARGIN;
var RIGHT_MARGIN;
var TOTAL_ACTIVE_PIXELS;
var V_LINES;
var V_LINES_RND;
var TOP_MARGIN;
var BOT_MARGIN;
var INTERLACE;
var ASPECT_RATIO;
var V_SYNC_RND;
var H_PERIOD_EST;
var V_SYNC_BP;
var V_BACK_PORCH;
var TOTAL_V_LINES;
var IDEAL_DUTY_CYCLE;
var H_BLANK;
var TOTAL_PIXELS;
var ACT_PIXEL_FREQ;
var ACT_H_FREQ;
var ACT_FIELD_RATE;
var ACT_FRAME_RATE;
var V_BLANK;
var DMT_ID;
var DMT_TYPE;
var DMT_2BYTE_CODE;
var DMT_3BYTE_CODE;
var VIC;
function calculate_cvt(horiz_pixels, vert_pixels, refresh_rate, margins, interlaced, reduced_blanking, video_optimized){
H_POL = "?";
V_POL = "?";
INTERLACED = interlaced;
if (reduced_blanking == "cvt"){
CLOCK_STEP = 0.25;
MIN_V_BPORCH = 6;
RB_H_BLANK = 160;
RB_H_SYNC = 32;
RB_MIN_V_BLANK = 460;
RB_V_FPORCH = 3;
REFRESH_MULTIPLIER = 1;
H_POL = "-";
V_POL = "+";
}
else if (reduced_blanking == "cvt_rb"){
CLOCK_STEP = 0.25;
MIN_V_BPORCH = 6;
RB_H_BLANK = 160;
RB_H_SYNC = 32;
RB_MIN_V_BLANK = 460;
RB_V_FPORCH = 3;
REFRESH_MULTIPLIER = 1;
H_POL = "+";
V_POL = "-";
}
else if (reduced_blanking == "cvt_rb2"){
CLOCK_STEP = 0.001;
MIN_V_BPORCH = 6;
RB_H_BLANK = 80;
RB_H_SYNC = 32;
RB_MIN_V_BLANK = 460;
RB_V_FPORCH = 1;
REFRESH_MULTIPLIER = video_optimized ? 1000/1001 : 1;
H_POL = "+";
V_POL = "-";
}
// Input parameters
H_PIXELS = horiz_pixels;
V_LINES = vert_pixels;
IP_FREQ_RQD = refresh_rate;
MARGINS_RQD = margins;
INT_RQD = interlaced;
CELL_GRAN_RND = Math.floor(CELL_GRAN);
// 5.2 Computation of Common Parameters
V_FIELD_RATE_RQD = INT_RQD ? IP_FREQ_RQD * 2 : IP_FREQ_RQD;
H_PIXELS_RND = Math.floor(H_PIXELS / CELL_GRAN_RND) * CELL_GRAN_RND;
LEFT_MARGIN = MARGINS_RQD ? (Math.floor((H_PIXELS_RND * MARGIN_PER / 100) / CELL_GRAN_RND) * CELL_GRAN_RND) : 0;
RIGHT_MARGIN = LEFT_MARGIN;
TOTAL_ACTIVE_PIXELS = H_PIXELS_RND + LEFT_MARGIN + RIGHT_MARGIN;
V_LINES_RND = INT_RQD ? Math.floor(V_LINES / 2) : Math.floor(V_LINES);
TOP_MARGIN = MARGINS_RQD ? Math.floor(V_LINES_RND * MARGIN_PER / 100) : 0;
BOT_MARGIN = TOP_MARGIN;
INTERLACE = INT_RQD ? 0.5 : 0;
// Calculate Aspect Ratio
var ver_pixels = INT_RQD ? 2 * V_LINES_RND : V_LINES_RND;
var hor_pixels_4_3 = CELL_GRAN_RND * Math.round(ver_pixels * 4 / 3) / CELL_GRAN_RND;
var hor_pixels_16_9 = CELL_GRAN_RND * Math.round(ver_pixels * 16 / 9) / CELL_GRAN_RND;
var hor_pixels_16_10 = CELL_GRAN_RND * Math.round(ver_pixels * 16 / 10) / CELL_GRAN_RND;
var hor_pixels_5_4 = CELL_GRAN_RND * Math.round(ver_pixels * 5 / 4) / CELL_GRAN_RND;
var hor_pixels_15_9 = CELL_GRAN_RND * Math.round(ver_pixels * 15 / 9) / CELL_GRAN_RND;
var hor_pixels_43_18 = CELL_GRAN_RND * Math.round(ver_pixels * 43 / 18) / CELL_GRAN_RND;
var hor_pixels_64_27 = CELL_GRAN_RND * Math.round(ver_pixels * 64 / 27) / CELL_GRAN_RND;
var hor_pixels_12_5 = CELL_GRAN_RND * Math.round(ver_pixels * 12 / 5) / CELL_GRAN_RND;
ASPECT_RATIO = (hor_pixels_4_3 == H_PIXELS_RND) ? "4:3" :
(hor_pixels_16_9 == H_PIXELS_RND) ? "16:9" :
(hor_pixels_16_10 == H_PIXELS_RND) ? "16:10" :
(hor_pixels_5_4 == H_PIXELS_RND) ? "5:4" :
(hor_pixels_15_9 == H_PIXELS_RND) ? "15:9" :
// Following aspect ratios are not defined by the spec...
(hor_pixels_43_18 == H_PIXELS_RND) ? "43:18" :
(hor_pixels_64_27 == H_PIXELS_RND) ? "64:27" :
(hor_pixels_12_5 == H_PIXELS_RND) ? "12:5" :
"Unknown";
// V_SYNC_RND depends on aspect ratio and reduced blanking
if (reduced_blanking == "cvt_rb2") V_SYNC_RND = 8;
else if (ASPECT_RATIO == "4:3") V_SYNC_RND = 4;
else if (ASPECT_RATIO == "16:9") V_SYNC_RND = 5;
else if (ASPECT_RATIO == "16:10") V_SYNC_RND = 6;
else if (ASPECT_RATIO == "5:4") V_SYNC_RND = 7;
else if (ASPECT_RATIO == "15:9") V_SYNC_RND = 7;
else V_SYNC_RND = 10;
if (reduced_blanking == "cvt"){
// 5.3 Computation of CRT Timing Parameters
H_PERIOD_EST = ((1 / V_FIELD_RATE_RQD) - MIN_VSYNC_BP / 1000000.0) / (V_LINES_RND + (2 * TOP_MARGIN) + MIN_V_PORCH_RND + INTERLACE) * 1000000.0;
V_SYNC_BP = Math.floor(MIN_VSYNC_BP / H_PERIOD_EST) + 1;
if (V_SYNC_BP < (V_SYNC_RND + MIN_V_BPORCH)){
V_SYNC_BP = V_SYNC_RND + MIN_V_BPORCH;
}
V_BLANK = V_SYNC_BP + MIN_V_PORCH_RND;
V_FRONT_PORCH = MIN_V_PORCH_RND;
V_BACK_PORCH = V_SYNC_BP - V_SYNC_RND;
TOTAL_V_LINES = V_LINES_RND + TOP_MARGIN + BOT_MARGIN + V_SYNC_BP + INTERLACE + MIN_V_PORCH_RND;
IDEAL_DUTY_CYCLE = C_PRIME - (M_PRIME * H_PERIOD_EST/1000);
if (IDEAL_DUTY_CYCLE < 20){
H_BLANK = Math.floor(TOTAL_ACTIVE_PIXELS * 20 / (100-20) / (2 * CELL_GRAN_RND)) * (2 * CELL_GRAN_RND);
}
else{
H_BLANK = Math.floor(TOTAL_ACTIVE_PIXELS * IDEAL_DUTY_CYCLE / (100 - IDEAL_DUTY_CYCLE) / (2 * CELL_GRAN_RND)) * (2 * CELL_GRAN_RND);
}
TOTAL_PIXELS = TOTAL_ACTIVE_PIXELS + H_BLANK;
H_SYNC = Math.floor(H_SYNC_PER * TOTAL_PIXELS / CELL_GRAN_RND) * CELL_GRAN_RND;
H_BACK_PORCH = H_BLANK / 2;
H_FRONT_PORCH = H_BLANK - H_SYNC - H_BACK_PORCH;
ACT_PIXEL_FREQ = CLOCK_STEP * Math.floor(TOTAL_PIXELS / H_PERIOD_EST / CLOCK_STEP);
}
else{
H_PERIOD_EST = ((1000000 / V_FIELD_RATE_RQD) - RB_MIN_V_BLANK) / (V_LINES_RND + TOP_MARGIN + BOT_MARGIN);
H_BLANK = RB_H_BLANK;
VBI_LINES = Math.floor(RB_MIN_V_BLANK / H_PERIOD_EST) + 1;
RB_MIN_VBI = RB_V_FPORCH + V_SYNC_RND + MIN_V_BPORCH;
ACT_VBI_LINES = (VBI_LINES < RB_MIN_VBI) ? RB_MIN_VBI : VBI_LINES;
TOTAL_V_LINES = ACT_VBI_LINES + V_LINES_RND + TOP_MARGIN + BOT_MARGIN + INTERLACE;
TOTAL_PIXELS = RB_H_BLANK + TOTAL_ACTIVE_PIXELS;
ACT_PIXEL_FREQ = CLOCK_STEP * Math.floor((V_FIELD_RATE_RQD * TOTAL_V_LINES * TOTAL_PIXELS / 1000000 * REFRESH_MULTIPLIER) / CLOCK_STEP);
if (reduced_blanking == "cvt_rb2"){
V_BLANK = ACT_VBI_LINES;
V_FRONT_PORCH = ACT_VBI_LINES - V_SYNC_RND - 6;
V_BACK_PORCH = 6;
H_SYNC = 32;
H_BACK_PORCH = 40;
H_FRONT_PORCH = H_BLANK - H_SYNC - H_BACK_PORCH;
}
else{
V_BLANK = ACT_VBI_LINES;
V_FRONT_PORCH = 3;
V_BACK_PORCH = ACT_VBI_LINES - V_FRONT_PORCH - V_SYNC_RND;
H_SYNC = 32;
H_BACK_PORCH = 80;
H_FRONT_PORCH = H_BLANK - H_SYNC - H_BACK_PORCH;
}
}
ACT_H_FREQ = 1000 * ACT_PIXEL_FREQ / TOTAL_PIXELS;
ACT_FIELD_RATE = 1000 * ACT_H_FREQ / TOTAL_V_LINES;
ACT_FRAME_RATE = INT_RQD ? ACT_FIELD_RATE / 2 : ACT_FIELD_RATE;
}
function lookup_dmt(horiz_pixels, vert_pixels, refresh_rate, interlaced)
{
var found = false;
H_POL = "?";
V_POL = "?";
INTERLACED = interlaced;
dmt_timings.forEach(function(dmt_timing, index){
if ( dmt_timing['h_active'] == horiz_pixels
&& dmt_timing['v_active'] == vert_pixels
&& dmt_timing['v_freq'].toFixed() == refresh_rate.toFixed()
&& dmt_timing['interlaced'] == interlaced
){
TOTAL_ACTIVE_PIXELS = horiz_pixels;
H_BLANK = dmt_timing['h_blank'];
TOTAL_PIXELS = dmt_timing['h_total'];
V_LINES_RND = vert_pixels;
V_BLANK = dmt_timing['v_blank'];
TOTAL_V_LINES = dmt_timing['v_total'];
ACT_PIXEL_FREQ = dmt_timing['pix_clock'];
H_FRONT_PORCH = dmt_timing['h_front'];
H_SYNC = dmt_timing['h_sync'];
H_BACK_PORCH = dmt_timing['h_back'];
H_POL = dmt_timing['hsync_pol'] == 'Neg' ? "-" : "+";
V_FRONT_PORCH = dmt_timing['v_front'];
V_SYNC_RND = dmt_timing['v_sync'];
V_BACK_PORCH = dmt_timing['v_back'];
V_POL = dmt_timing['vsync_pol'] == 'Neg' ? "-" : "+";
DMT_ID = dmt_timing['dmt_id'];
DMT_TYPE = dmt_timing['type'];
DMT_2BYTE_CODE = dmt_timing['2_byte_code'] ? (dmt_timing['2_byte_code'].map(function (x) {return "0x" + x.toString(16);})).toString() : "";
DMT_3BYTE_CODE = dmt_timing['3_byte_code'] ? (dmt_timing['3_byte_code'].map(function (x) {return "0x" + x.toString(16);})).toString() : "";
//window.alert("Hello");
found = true;
}
});
return found;
}
function lookup_vic(horiz_pixels, vert_pixels, refresh_rate, interlaced)
{
var found = false;
INTERLACED = interlaced;
vic_timings.forEach(function(vic_timing, index){
if ( vic_timing['h_active'] == horiz_pixels
&& vic_timing['v_active'] == vert_pixels
&& (vic_timing['v_freq']).toFixed() == refresh_rate.toFixed()
&& ((interlaced && vic_timing['scan'] == "Int") || (!interlaced && vic_timing['scan'] == "Prog"))
){
TOTAL_ACTIVE_PIXELS = horiz_pixels;
H_BLANK = vic_timing['h_blank'];
TOTAL_PIXELS = vic_timing['h_total'];
V_LINES_RND = vert_pixels;
V_BLANK = vic_timing['v_blank'];
TOTAL_V_LINES = vic_timing['v_total'];
ACT_PIXEL_FREQ = vic_timing['pix_clock'];
H_FRONT_PORCH = vic_timing['h_front'];
H_SYNC = vic_timing['h_sync'];
H_BACK_PORCH = vic_timing['h_back'];
H_POL = vic_timing['h_pol'] == 'N' ? "-" : "+";
V_FRONT_PORCH = vic_timing['v_front'];
V_SYNC_RND = vic_timing['v_sync'];
V_BACK_PORCH = vic_timing['v_back'];
V_POL = vic_timing['v_pol'] == 'N' ? "-" : "+";
VIC = vic_timing['vic'];
found = true;
}
});
return found;
}
function modeline()
{
str = 'Modeline \"'
+ TOTAL_ACTIVE_PIXELS + 'x'
+ V_LINES_RND + '_'
+ vfreq_round100;
if (INTERLACED)
str += "i";
str += '\"';
str += " " + Math.round(pclock/1000)/1000;
str += " " + TOTAL_ACTIVE_PIXELS;
str += " " + (TOTAL_ACTIVE_PIXELS + H_FRONT_PORCH);
str += " " + (TOTAL_ACTIVE_PIXELS + H_FRONT_PORCH + H_SYNC);
str += " " + TOTAL_PIXELS;
str += " " + V_LINES_RND;
str += " " + (V_LINES_RND + V_FRONT_PORCH);
str += " " + (V_LINES_RND + V_FRONT_PORCH + V_SYNC_RND);
str += " " + TOTAL_V_LINES;
str += H_POL == "+" ? " +HSync" : " -HSync";
str += V_POL == "+" ? " +VSync" : " -VSync";
if (INTERLACED)
str += " Interlace";
return str;
}
</script>
<h1>Video Timings Calculator</h1>
For more information, see <a href="/2019/08/03/Video-Timings-Calculator.html">this blog post</a>.
<h2>Input Parameters</h2>
<form id="parameters">
<table>
<tr>
<td><label>Predefined Mode</label></td>
<td><select id="predefined_mode" name="predefined_mode"><option>None</option></select></td>
</tr>
<tr>
<td><label>Horizontal Pixels</label></td>
<td><input id="horiz_pixels" type="text" value="640" /></td>
<td><label id="horiz_valid">Ok</label></td>
</tr>
<tr>
<td><label>Vertical Pixels</label></td>
<td><input id="vert_pixels" type="text" value="480" /></td>
<td><label id="vert_valid">Ok</label></td>
</tr>
<tr>
<td><label>Refresh Rate (Hz)</label></td>
<td><input id="refresh_rate" type="text" value="60" /></td>
<td><label id="refresh_valid">Ok</label></td>
</tr>
<tr>
<td><label>Margins</label></td>
<td><select id="margins" name="margins"><option value="y">Yes</option><option value="n" selected>No</option></select>
</tr>
<tr>
<td><label>Interlaced</label></td>
<td><select id="interlaced" name="interlaced"><option value="y">Yes</option><option value="n" selected>No</option></select>
</tr>
<tr>
<td><label>Bits per Component</label></td>
<td><select id="bpc" name="bpc">
<option value="5">5</option>
<option value="6">6</option>
<option value="8" selected>8</option>
<option value="10">10</option>
<option value="12">12</option>
<option value="16">16</option></select>
</tr>
<tr>
<td><label>Color Format</label></td>
<td><select id="color_fmt" name="color_fmt">
<option value="rgb444" selected>RGB 4:4:4</option>
<option value="yuv444">YUV 4:4:4</option>
<option value="yuv422">YUV 4:2:2</option>
<option value="yuv420">YUV 4:2:0</option></select>
</tr>
<tr>
<td><label>Video Optimized</label></td>
<td><select id="video_opt" name="video_opt"><option value="y">Yes</option><option value="n" selected>No</option></select>
</tr>
</table>
</form>
<script type="text/javascript">
$('#predefined_mode').change( function(){ fill_predefined_parameters($('#predefined_mode').val()); update_status(); })
$('#horiz_pixels').change( function(){ check_integer($('#horiz_pixels').val(), '#horiz_valid'); update_status(); })
$('#vert_pixels') .change( function(){ check_integer($('#vert_pixels') .val(), '#vert_valid'); update_status(); })
$('#refresh_rate').change( function(){ update_status(); })
$('#margins') .change( function(){ update_status(); })
$('#interlaced') .change( function(){ update_status(); })
$('#bpc') .change( function(){ update_status(); })
$('#color_fmt') .change( function(){ update_status(); })
$('#video_opt') .change( function(){ update_status(); })
</script>
<h2>Timings</h2>
<form id="timings">
<table cellspacing="1" bgcolor="#202020">
<tr bgcolor=#ffffff>
<th></th>
<th>CVT</th>
<th>CVT-RB</th>
<th>CVT-RBv2</th>
<th>CEA-861</th>
<th>DMT</th>
<th>Custom</th>
<th></th>
</tr>
<tr bgcolor=#ffffff>
<td><label>Aspect Ratio</label></td>
<td><label id="cvt-aspect_ratio"></label></td>
<td><label id="cvt_rb-aspect_ratio"></label></td>
<td><label id="cvt_rb2-aspect_ratio"></label></td>
<td><label id="cea-aspect_ratio"></label></td>
<td><label id="dmt-aspect_ratio"></label></td>
<td><label id="custom-aspect_ratio"></label></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>Pixel Clock</label></td>
<td><label id="cvt-pclock"></label></td>
<td><label id="cvt_rb-pclock"></label></td>
<td><label id="cvt_rb2-pclock"></label></td>
<td><label id="cea-pclock"></label></td>
<td><label id="dmt-pclock"></label></td>
<td><label id="custom-pclock"></label></td>
<td><label>MHz</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Total</label></td>
<td><label id="cvt-htotal"></label></td>
<td><label id="cvt_rb-htotal"></label></td>
<td><label id="cvt_rb2-htotal"></label></td>
<td><label id="cea-htotal"></label></td>
<td><label id="dmt-htotal"></label></td>
<td><label id="custom-htotal"></label></td>
<td><label>Pixels</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Active</label></td>
<td><label id="cvt-hpixels"></label></td>
<td><label id="cvt_rb-hpixels"></label></td>
<td><label id="cvt_rb2-hpixels"></label></td>
<td><label id="cea-hpixels"></label></td>
<td><label id="dmt-hpixels"></label></td>
<td><label id="custom-hpixels"></label></td>
<td><label>Pixels</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Blank</label></td>
<td><label id="cvt-hblank"></label></td>
<td><label id="cvt_rb-hblank"></label></td>
<td><label id="cvt_rb2-hblank"></label></td>
<td><label id="cea-hblank"></label></td>
<td><label id="dmt-hblank"></label></td>
<td><input id="custom-hblank" type="text" value="80" /></td>
<td><label>Pixels</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Front Porch</label></td>
<td><label id="cvt-hfront"></label></td>
<td><label id="cvt_rb-hfront"></label></td>
<td><label id="cvt_rb2-hfront"></label></td>
<td><label id="cea-hfront"></label></td>
<td><label id="dmt-hfront"></label></td>
<td></td>
<td><label>Pixels</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Sync</label></td>
<td><label id="cvt-hsync"></label></td>
<td><label id="cvt_rb-hsync"></label></td>
<td><label id="cvt_rb2-hsync"></label></td>
<td><label id="cea-hsync"></label></td>
<td><label id="dmt-hsync"></label></td>
<td></td>
<td><label>Pixels</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Back Porch</label></td>
<td><label id="cvt-hback"></label></td>
<td><label id="cvt_rb-hback"></label></td>
<td><label id="cvt_rb2-hback"></label></td>
<td><label id="cea-hback"></label></td>
<td><label id="dmt-hback"></label></td>
<td></td>
<td><label>Pixels</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Sync Polarity</label></td>
<td><label id="cvt-hpol"></label></td>
<td><label id="cvt_rb-hpol"></label></td>
<td><label id="cvt_rb2-hpol"></label></td>
<td><label id="cea-hpol"></label></td>
<td><label id="dmt-hpol"></label></td>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Freq</label></td>
<td><label id="cvt-hfreq"></label></td>
<td><label id="cvt_rb-hfreq"></label></td>
<td><label id="cvt_rb2-hfreq"></label></td>
<td><label id="cea-hfreq"></label></td>
<td><label id="dmt-hfreq"></label></td>
<td><label id="custom-hfreq"></label></td>
<td><label>kHz</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>H Period</label></td>
<td><label id="cvt-hperiod"></label></td>
<td><label id="cvt_rb-hperiod"></label></td>
<td><label id="cvt_rb2-hperiod"></label></td>
<td><label id="cea-hperiod"></label></td>
<td><label id="dmt-hperiod"></label></td>
<td><label id="custom-hperiod"></label></td>
<td><label>us</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Total</label></td>
<td><label id="cvt-vtotal"></label></td>
<td><label id="cvt_rb-vtotal"></label></td>
<td><label id="cvt_rb2-vtotal"></label></td>
<td><label id="cea-vtotal"></label></td>
<td><label id="dmt-vtotal"></label></td>
<td><label id="custom-vtotal"></label></td>
<td><label>Lines</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Active</label></td>
<td><label id="cvt-vpixels"></label></td>
<td><label id="cvt_rb-vpixels"></label></td>
<td><label id="cvt_rb2-vpixels"></label></td>
<td><label id="cea-vpixels"></label></td>
<td><label id="dmt-vpixels"></label></td>
<td><label id="custom-vpixels"></label></td>
<td><label>Lines</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Blank</label></td>
<td><label id="cvt-vblank"></label></td>
<td><label id="cvt_rb-vblank"></label></td>
<td><label id="cvt_rb2-vblank"></label></td>
<td><label id="cea-vblank"></label></td>
<td><label id="dmt-vblank"></label></td>
<td><input id="custom-vblank" type="text" value="6" /></td>
<td><label>Lines</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Blank Duration</label></td>
<td><label id="cvt-vblank_duration"></label></td>
<td><label id="cvt_rb-vblank_duration"></label></td>
<td><label id="cvt_rb2-vblank_duration"></label></td>
<td><label id="cea-vblank_duration"></label></td>
<td><label id="dmt-vblank_duration"></label></td>
<td><label id="custom-vblank_duration"></label></td>
<td><label>us</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Front Porch</label></td>
<td><label id="cvt-vfront"></label></td>
<td><label id="cvt_rb-vfront"></label></td>
<td><label id="cvt_rb2-vfront"></label></td>
<td><label id="cea-vfront"></label></td>
<td><label id="dmt-vfront"></label></td>
<td></td>
<td><label>Lines</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Sync</label></td>
<td><label id="cvt-vsync"></label></td>
<td><label id="cvt_rb-vsync"></label></td>
<td><label id="cvt_rb2-vsync"></label></td>
<td><label id="cea-vsync"></label></td>
<td><label id="dmt-vsync"></label></td>
<td></td>
<td><label>Lines</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Back Porch</label></td>
<td><label id="cvt-vback"></label></td>
<td><label id="cvt_rb-vback"></label></td>
<td><label id="cvt_rb2-vback"></label></td>
<td><label id="cea-vback"></label></td>
<td><label id="dmt-vback"></label></td>
<td></td>
<td><label>Lines</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Sync Polarity</label></td>
<td><label id="cvt-vpol"></label></td>
<td><label id="cvt_rb-vpol"></label></td>
<td><label id="cvt_rb2-vpol"></label></td>
<td><label id="cea-vpol"></label></td>
<td><label id="dmt-vpol"></label></td>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Freq</label></td>
<td><label id="cvt-vfreq"></label></td>
<td><label id="cvt_rb-vfreq"></label></td>
<td><label id="cvt_rb2-vfreq"></label></td>
<td><label id="cea-vfreq"></label></td>
<td><label id="dmt-vfreq"></label></td>
<td><label id="custom-vfreq"></label></td>
<td><label>Hz</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>V Period</label></td>
<td><label id="cvt-vperiod"></label></td>
<td><label id="cvt_rb-vperiod"></label></td>
<td><label id="cvt_rb2-vperiod"></label></td>
<td><label id="cea-vperiod"></label></td>
<td><label id="dmt-vperiod"></label></td>
<td><label id="custom-vperiod"></label></td>
<td><label>ms</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>Peak BW</label></td>
<td><label id="cvt-peak_bw"></label></td>
<td><label id="cvt_rb-peak_bw"></label></td>
<td><label id="cvt_rb2-peak_bw"></label></td>
<td><label id="cea-peak_bw"></label></td>
<td><label id="dmt-peak_bw"></label></td>
<td><label id="custom-peak_bw"></label></td>
<td><label>Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>Line BW</label></td>
<td><label id="cvt-line_bw"></label></td>
<td><label id="cvt_rb-line_bw"></label></td>
<td><label id="cvt_rb2-line_bw"></label></td>
<td><label id="cea-line_bw"></label></td>
<td><label id="dmt-line_bw"></label></td>
<td><label id="custom-line_bw"></label></td>
<td><label>Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>Active BW</label></td>
<td><label id="cvt-active_bw"></label></td>
<td><label id="cvt_rb-active_bw"></label></td>
<td><label id="cvt_rb2-active_bw"></label></td>
<td><label id="cea-active_bw"></label></td>
<td><label id="dmt-active_bw"></label></td>
<td><label id="custom-active_bw"></label></td>
<td><label>Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DMT ID</label></td>
<td/>
<td/>
<td/>
<td/>
<td><label id="dmt-dmt_id"></label></td>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DMT timing standard</label></td>
<td/>
<td/>
<td/>
<td/>
<td><label id="dmt-dmt_type"></label></td>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>Std 2-byte code</label></td>
<td/>
<td/>
<td/>
<td/>
<td><label id="dmt-dmt_2byte_code"></label></td>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>CVT 3-byte code</label></td>
<td/>
<td/>
<td/>
<td/>
<td><label id="dmt-dmt_3byte_code"></label></td>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>VIC</label></td>
<td/>
<td/>
<td/>
<td><label id="cea-vic"></label></td>
<td/>
<td></td>
<td></td>
</tr>
<tr bgcolor=#ffffff><td colspan=8><b>Modelines</b></td></tr>
<tr bgcolor=#ffffff>
<td>CVT Modeline</td>
<td colspan=7><code><label id="cvt-modeline"></label></code></td>
</tr>
<tr bgcolor=#ffffff>
<td>CVT-RB Modeline</td>
<td colspan=7><code><label id="cvt_rb-modeline"></label></code></td>
</tr>
<tr bgcolor=#ffffff>
<td>CVT-RBv2 Modeline</td>
<td colspan=7><code><label id="cvt_rb2-modeline"></label></code></td>
</tr>
<tr bgcolor=#ffffff>
<td>CEA-861 Modeline</td>
<td colspan=7><code><label id="cea-modeline"></label></code></td>
</tr>
<tr bgcolor=#ffffff>
<td>DMT Modeline</td>
<td colspan=7><code><label id="dmt-modeline"></label></code></td>
</tr>
<tr bgcolor=#ffffff>
<td>Custom Modeline</td>
<td colspan=7><code><label id="custom-modeline"></label></code></td>
</tr>
<tr bgcolor=#ffffff><td colspan=8><b>DisplayPort</b></td></tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort UBR20 (20 GHz)</label></td>
<td><label id="cvt-dp_ubr20"></label></td>
<td><label id="cvt_rb-dp_ubr20"></label></td>
<td><label id="cvt_rb2-dp_ubr20"></label></td>
<td><label id="cea-dp_ubr20"></label></td>
<td><label id="dmt-dp_ubr20"></label></td>
<td><label id="custom-dp_ubr20"></label></td>
<td><label>Max BW 77,575 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort UBR13.5 (13.5 GHz)</label></td>
<td><label id="cvt-dp_ubr13"></label></td>
<td><label id="cvt_rb-dp_ubr13"></label></td>
<td><label id="cvt_rb2-dp_ubr13"></label></td>
<td><label id="cea-dp_ubr13"></label></td>
<td><label id="dmt-dp_ubr13"></label></td>
<td><label id="custom-dp_ubr13"></label></td>
<td><label>Max BW 52,364 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort UBR10 (10 GHz)</label></td>
<td><label id="cvt-dp_ubr10"></label></td>
<td><label id="cvt_rb-dp_ubr10"></label></td>
<td><label id="cvt_rb2-dp_ubr10"></label></td>
<td><label id="cea-dp_ubr10"></label></td>
<td><label id="dmt-dp_ubr10"></label></td>
<td><label id="custom-dp_ubr10"></label></td>
<td><label>Max BW 38,788 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort HBR3 (8.1 GHz)</label></td>
<td><label id="cvt-dp_hbr3"></label></td>
<td><label id="cvt_rb-dp_hbr3"></label></td>
<td><label id="cvt_rb2-dp_hbr3"></label></td>
<td><label id="cea-dp_hbr3"></label></td>
<td><label id="dmt-dp_hbr3"></label></td>
<td><label id="custom-dp_hbr3"></label></td>
<td><label>Max BW 25,920 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort HBR2 (5.4 GHz)</label></td>
<td><label id="cvt-dp_hbr2"></label></td>
<td><label id="cvt_rb-dp_hbr2"></label></td>
<td><label id="cvt_rb2-dp_hbr2"></label></td>
<td><label id="cea-dp_hbr2"></label></td>
<td><label id="dmt-dp_hbr2"></label></td>
<td><label id="custom-dp_hbr2"></label></td>
<td><label>Max BW 17,280 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort HBR (2.7 GHz)</label></td>
<td><label id="cvt-dp_hbr"></label></td>
<td><label id="cvt_rb-dp_hbr"></label></td>
<td><label id="cvt_rb2-dp_hbr"></label></td>
<td><label id="cea-dp_hbr"></label></td>
<td><label id="dmt-dp_hbr"></label></td>
<td><label id="custom-dp_hbr"></label></td>
<td><label>Max BW 8,640 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DisplayPort RBR (1.64 GHz)</label></td>
<td><label id="cvt-dp_rbr"></label></td>
<td><label id="cvt_rb-dp_rbr"></label></td>
<td><label id="cvt_rb2-dp_rbr"></label></td>
<td><label id="cea-dp_rbr"></label></td>
<td><label id="dmt-dp_rbr"></label></td>
<td><label id="custom-dp_rbr"></label></td>
<td><label>Max BW 5,240 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff><td colspan=8><b>DisplayPort Type-C Alt Mode</b></td></tr>
<tr bgcolor=#ffffff>
<td><label>DP 2.0 Type-C Alt Mode (20 GHz)</label></td>
<td><label id="cvt-dpam_2"></label></td>
<td><label id="cvt_rb-dpam_2"></label></td>
<td><label id="cvt_rb2-dpam_2"></label></td>
<td><label id="cea-dpam_2"></label></td>
<td><label id="dmt-dpam_2"></label></td>
<td><label id="custom-dpam_2"></label></td>
<td><label>Max BW 38,787 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DP HBR3 Type-C Alt Mode (8.1 GHz)</label></td>
<td><label id="cvt-dpam_hbr3"></label></td>
<td><label id="cvt_rb-dpam_hbr3"></label></td>
<td><label id="cvt_rb2-dpam_hbr3"></label></td>
<td><label id="cea-dpam_hbr3"></label></td>
<td><label id="dmt-dpam_hbr3"></label></td>
<td><label id="custom-dpam_hbr3"></label></td>
<td><label>Max BW 12,960 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DP HBR2 Type-C Alt Mode (5.4 GHz)</label></td>
<td><label id="cvt-dpam_hbr2"></label></td>
<td><label id="cvt_rb-dpam_hbr2"></label></td>
<td><label id="cvt_rb2-dpam_hbr2"></label></td>
<td><label id="cea-dpam_hbr2"></label></td>
<td><label id="dmt-dpam_hbr2"></label></td>
<td><label id="custom-dpam_hbr2"></label></td>
<td><label>Max BW 8,640 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DP HBR Type-C Alt Mode (2.7 GHz)</label></td>
<td><label id="cvt-dpam_hbr"></label></td>
<td><label id="cvt_rb-dpam_hbr"></label></td>
<td><label id="cvt_rb2-dpam_hbr"></label></td>
<td><label id="cea-dpam_hbr"></label></td>
<td><label id="dmt-dpam_hbr"></label></td>
<td><label id="custom-dpam_hbr"></label></td>
<td><label>Max BW 4,320 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>DP RBR Type-C Alt Mode (1.64 GHz)</label></td>
<td><label id="cvt-dpam_rbr"></label></td>
<td><label id="cvt_rb-dpam_rbr"></label></td>
<td><label id="cvt_rb2-dpam_rbr"></label></td>
<td><label id="cea-dpam_rbr"></label></td>
<td><label id="dmt-dpam_rbr"></label></td>
<td><label id="custom-dpam_rbr"></label></td>
<td><label>Max BW 2,620 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff><td colspan=8><b>HDMI FRL</b></td></tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.1 FRL6 (12 GHz/4 lanes)</label></td>
<td><label id="cvt-hdmi_2_1_12g"></label></td>
<td><label id="cvt_rb-hdmi_2_1_12g"></label></td>
<td><label id="cvt_rb2-hdmi_2_1_12g"></label></td>
<td><label id="cea-hdmi_2_1_12g"></label></td>
<td><label id="dmt-hdmi_2_1_12g"></label></td>
<td><label id="custom-hdmi_2_1_12g"></label></td>
<td><label>Max BW 42,667 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.1 FRL5 (10 GHz/4 lanes)</label></td>
<td><label id="cvt-hdmi_2_1_10g"></label></td>
<td><label id="cvt_rb-hdmi_2_1_10g"></label></td>
<td><label id="cvt_rb2-hdmi_2_1_10g"></label></td>
<td><label id="cea-hdmi_2_1_10g"></label></td>
<td><label id="dmt-hdmi_2_1_10g"></label></td>
<td><label id="custom-hdmi_2_1_10g"></label></td>
<td><label>Max BW 35,556 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.1 FRL4 (8 GHz/4 lanes)</label></td>
<td><label id="cvt-hdmi_2_1_8g"></label></td>
<td><label id="cvt_rb-hdmi_2_1_8g"></label></td>
<td><label id="cvt_rb2-hdmi_2_1_8g"></label></td>
<td><label id="cea-hdmi_2_1_8g"></label></td>
<td><label id="dmt-hdmi_2_1_8g"></label></td>
<td><label id="custom-hdmi_2_1_8g"></label></td>
<td><label>Max BW 28,444 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.1 FRL3 (6 GHz/4 lanes)</label></td>
<td><label id="cvt-hdmi_2_1_6g"></label></td>
<td><label id="cvt_rb-hdmi_2_1_6g"></label></td>
<td><label id="cvt_rb2-hdmi_2_1_6g"></label></td>
<td><label id="cea-hdmi_2_1_6g"></label></td>
<td><label id="dmt-hdmi_2_1_6g"></label></td>
<td><label id="custom-hdmi_2_1_6g"></label></td>
<td><label>Max BW 21,333 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.1 FRL2 (6 GHz/3 lanes)</label></td>
<td><label id="cvt-hdmi_2_1_6g_3l"></label></td>
<td><label id="cvt_rb-hdmi_2_1_6g_3l"></label></td>
<td><label id="cvt_rb2-hdmi_2_1_6g_3l"></label></td>
<td><label id="cea-hdmi_2_1_6g_3l"></label></td>
<td><label id="dmt-hdmi_2_1_6g_3l"></label></td>
<td><label id="custom-hdmi_2_1_6g_3l"></label></td>
<td><label>Max BW 16,000 Mbit/s</label></td>
</tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.1 FRL1 (3 GHz/3 lanes)</label></td>
<td><label id="cvt-hdmi_2_1_3g_3l"></label></td>
<td><label id="cvt_rb-hdmi_2_1_3g_3l"></label></td>
<td><label id="cvt_rb2-hdmi_2_1_3g_3l"></label></td>
<td><label id="cea-hdmi_2_1_3g_3l"></label></td>
<td><label id="dmt-hdmi_2_1_3g_3l"></label></td>
<td><label id="custom-hdmi_2_1_3g_3l"></label></td>
<td><label>Max BW 8,000 Mbit/s</label></td>
</tr>
<tr/>
<tr bgcolor=#ffffff><td colspan=8><b>HDMI TMDS</b></td></tr>
<tr bgcolor=#ffffff>
<td><label>HDMI 2.0 (600 MHz)</label></td>
<td><label id="cvt-hdmi_2_0"></label></td>
<td><label id="cvt_rb-hdmi_2_0"></label></td>
<td><label id="cvt_rb2-hdmi_2_0"></label></td>
<td><label id="cea-hdmi_2_0"></label></td>
<td><label id="dmt-hdmi_2_0"></label></td>