From e7d3ce1cdb423c5ba33f098f97383f099055d621 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 30 Dec 2015 14:16:35 +0100 Subject: [PATCH] Add a 720x576p mode. --- bmusb.cpp | 1 + format.cpp | 1 + formats.txt | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bmusb.cpp b/bmusb.cpp index fc38520..8787f8b 100644 --- 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. diff --git a/format.cpp b/format.cpp index 7faa8eb..77af0a1 100644 --- a/format.cpp +++ b/format.cpp @@ -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, diff --git a/formats.txt b/formats.txt index 6085477..8842cfe 100644 --- a/formats.txt +++ b/formats.txt @@ -1,5 +1,5 @@ 0x0800 - no signal -0xe819 - 576p60 (520x576) +0xe819 - 576p60 (720x576) 0xe82d - 1080i60 (deep color?) 0xe925 - 720p60 0xe92d - 720p60 deep color -- 2.39.2