]> git.sesse.net Git - bmusb/commitdiff
Add a 720x576p mode.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 30 Dec 2015 13:16:35 +0000 (14:16 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 30 Dec 2015 13:16:35 +0000 (14:16 +0100)
bmusb.cpp
format.cpp
formats.txt

index fc38520f5dcee7a3d0b71d2126e9b6692c4ef087..8787f8b51ce4dfa017dd742ef5baa9babb9053b9 100644 (file)
--- a/bmusb.cpp
+++ b/bmusb.cpp
@@ -1183,6 +1183,7 @@ bool decode_video_format(uint16_t video_format, unsigned *width, unsigned *heigh
        // usually it doesn't mean anything.
        uint16_t normalized_video_format = video_format & ~0xe808;
        constexpr VideoFormatEntry entries[] = {
+               { 0x0011,  720,  576,   0, 44,  5,    50,    1, false },  // 576p50 (5:4)
                { 0x0143, 1280,  720,   0, 25,  5,    50,    1, false },  // 720p50.
                { 0x0103, 1280,  720,   0, 25,  5,    60,    1, false },  // 720p60.
                { 0x0121, 1280,  720,   0, 25,  5, 60000, 1001, false },  // 720p59.94.
index 7faa8eb36d093f1198b314417c5a1864cf4da3e6..77af0a189d45af69a9fc398096f5b964751107ec 100644 (file)
@@ -11,6 +11,7 @@ static const mode foo[] = {
        "NTSC        ", 0xe801,
        "NTSC 23.98  ", 0xe901,
        "PAL         ", 0xe909,
+       "PAL 5:4     ", 0xe819,
        "1080p 23.98 ", 0xe8ad,
        "1080p 24    ", 0xe88b,
        "1080p 25    ", 0xe86b,
index 6085477bd91aa270315fccc20a08e1edef5a24b7..8842cfe24884fdf5ba35b6b36c0812375fb42cd2 100644 (file)
@@ -1,5 +1,5 @@
 0x0800 - no signal
-0xe819 - 576p60 (520x576)
+0xe819 - 576p60 (720x576)
 0xe82d - 1080i60 (deep color?)
 0xe925 - 720p60
 0xe92d - 720p60 deep color