]> git.sesse.net Git - casparcg/commitdiff
Add video modes 2160p5000, 2160p5994 and 2160p6000
authorAntonio Ruano Cuesta <antonio@fightmetric.com>
Thu, 26 May 2016 21:09:58 +0000 (17:09 -0400)
committerAntonio Ruano Cuesta <antonio@fightmetric.com>
Thu, 26 May 2016 21:09:58 +0000 (17:09 -0400)
core/video_format.cpp
core/video_format.h
deploy/general/server/cg20.fth.2160p5000 [new file with mode: 0644]
deploy/general/server/cg20.fth.2160p5994 [new file with mode: 0644]
deploy/general/server/cg20.fth.2160p6000 [new file with mode: 0644]
modules/decklink/util/util.h
shell/casparcg.config
shell/shell.rc

index 792afb4623aeef64da6c22a2003c4af858a1a2bd..6d21ba2d63f26501887ea2e14e0db59147d587f1 100644 (file)
@@ -61,6 +61,9 @@ namespace caspar { namespace core {
                { video_format::x2160p2500,   3840, 2160, 3840, 2160, field_mode::progressive, 25,    1,    L"2160p2500",    { 1920                         } },
                { video_format::x2160p2997,   3840, 2160, 3840, 2160, field_mode::progressive, 30000, 1001, L"2160p2997",    { 1602, 1601, 1602, 1601, 1602 } },
                { video_format::x2160p3000,   3840, 2160, 3840, 2160, field_mode::progressive, 30,    1,    L"2160p3000",    { 1600                         } },
+               { video_format::x2160p5000,   3840, 2160, 3840, 2160, field_mode::progressive, 50,    1,    L"2160p5000",    { 960                          } },
+               { video_format::x2160p5994,   3840, 2160, 3840, 2160, field_mode::progressive, 60000, 1001, L"2160p5994",    { 801,  800,  801,  801,  801  } },
+               { video_format::x2160p6000,   3840, 2160, 3840, 2160, field_mode::progressive, 60,    1,    L"2160p6000",    { 800                          } },
                { video_format::dci2160p2398, 4096, 2160, 4096, 2160, field_mode::progressive, 24000, 1001, L"dci2160p2398", { 2002                         } },
                { video_format::dci2160p2400, 4096, 2160, 4096, 2160, field_mode::progressive, 24,    1,    L"dci2160p2400", { 2000                         } },
                { video_format::dci2160p2500, 4096, 2160, 4096, 2160, field_mode::progressive, 25,    1,    L"dci2160p2500", { 1920                         } },
index 90ff1f806ecd640a55ade16b7dc0796206e603bc..1acb1dbbd14d7fcb52c12fad4c012366b6eaebf0 100644 (file)
@@ -64,6 +64,9 @@ enum class video_format
        x2160p2500,
        x2160p2997,
        x2160p3000,
+       x2160p5000,
+       x2160p5994,
+       x2160p6000,
        dci2160p2398,
        dci2160p2400,
        dci2160p2500,
diff --git a/deploy/general/server/cg20.fth.2160p5000 b/deploy/general/server/cg20.fth.2160p5000
new file mode 100644 (file)
index 0000000..ce185e1
Binary files /dev/null and b/deploy/general/server/cg20.fth.2160p5000 differ
diff --git a/deploy/general/server/cg20.fth.2160p5994 b/deploy/general/server/cg20.fth.2160p5994
new file mode 100644 (file)
index 0000000..01b9960
Binary files /dev/null and b/deploy/general/server/cg20.fth.2160p5994 differ
diff --git a/deploy/general/server/cg20.fth.2160p6000 b/deploy/general/server/cg20.fth.2160p6000
new file mode 100644 (file)
index 0000000..b5c9b5c
Binary files /dev/null and b/deploy/general/server/cg20.fth.2160p6000 differ
index e91a42e2babe374a80b68442305ca315c7940ae9..b6aab14618bf2b899eb68011266d581866aa58f4 100644 (file)
@@ -70,6 +70,9 @@ static BMDDisplayMode get_decklink_video_format(core::video_format fmt)
        case core::video_format::x2160p2500:    return bmdMode4K2160p25;
        case core::video_format::x2160p2997:    return bmdMode4K2160p2997;
        case core::video_format::x2160p3000:    return bmdMode4K2160p30;
+       case core::video_format::x2160p5000:    return bmdMode4K2160p50;
+       case core::video_format::x2160p5994:    return bmdMode4K2160p5994;
+       case core::video_format::x2160p6000:    return bmdMode4K2160p60;
        case core::video_format::dci2160p2398:  return bmdMode4kDCI2398;
        case core::video_format::dci2160p2400:  return bmdMode4kDCI24;
        case core::video_format::dci2160p2500:  return bmdMode4kDCI25;
@@ -108,6 +111,9 @@ static core::video_format get_caspar_video_format(BMDDisplayMode fmt)
        case bmdMode4K2160p25:                                  return core::video_format::x2160p2500;
        case bmdMode4K2160p2997:                                return core::video_format::x2160p2997;
        case bmdMode4K2160p30:                                  return core::video_format::x2160p3000;
+       case bmdMode4K2160p50:                                  return core::video_format::x2160p5000;
+       case bmdMode4K2160p5994:                                return core::video_format::x2160p5994;
+       case bmdMode4K2160p60:                                  return core::video_format::x2160p6000;
        case bmdMode4kDCI2398:                                  return core::video_format::dci2160p2398;
        case bmdMode4kDCI24:                                    return core::video_format::dci2160p2400;
        case bmdMode4kDCI25:                                    return core::video_format::dci2160p2500;
index 076e4b0fae39bb35970d4671135de189f195fdab..9a5be08856f8a8d42f61a3bf7637b8c6a471437f 100644 (file)
@@ -69,7 +69,7 @@
 </thumbnails>\r
 <channels>\r
     <channel>\r
-        <video-mode>PAL [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>\r
+        <video-mode>PAL [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|2160p5000|2160p5994|2160p6000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>\r
         <straight-alpha-output>false [true|false]</straight-alpha-output>\r
         <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
         <consumers>\r
index f2f5f61d8ec63bf3c761c80315918747069426ba..75c35dd54d5ed03976150f7b9a6e01ce40d1565c 100644 (file)
Binary files a/shell/shell.rc and b/shell/shell.rc differ