[Openchrome-users] 720P output to Component on VT1625

Justin Maggard jmaggard10
Tue Mar 11 10:46:25 PDT 2008



Hi all,
 
Hope this helps.  I recently started playing around with MythTV on a Via system, and I was able to modify the Openchrome driver code to display 720P over YCbCr.  Below is my patch against the latest code from SVN.
 
- Justin
 
Index: src/via_vt162x.h
===================================================================
--- src/via_vt162x.h    (revision 540)
+++ src/via_vt162x.h    (working copy)
@@ -754,6 +754,7 @@
     { MODEPREFIX("800x600Over"), ... ,   MODESUFFIXPAL },
     { MODEPREFIX("1024x768Over"), ... ,   MODESUFFIXPAL },
     { MODEPREFIX("720x576Over"), ... ,   MODESUFFIXPAL },*/
+    { MODEPREFIX("1280x720"),     74250, 1280, 1320, 1376, 1650, 0,  720,  722,  728,  750, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX720P  },
 /*                                clock    HR   SH1   SH2   HFL       VR   SV1   SV2   VFL*/
     { MODEPREFIX("640x480"),      30000,  640,  680,  808, 1000, 0,  480,  520,  523,  600, 0, V_NHSYNC | V_NVSYNC, MODESUFFIXPAL   },
     { MODEPREFIX("800x600"),      34500,  800,  816,  880,  920, 0,  600,  604,  620,  750, 0, V_PHSYNC | V_PVSYNC, MODESUFFIXPAL   },
@@ -893,16 +894,16 @@
 
     { "1280x720", 1280, 720, TVTYPE_720P, 0, 0,
       /*  00                                                                                         0F */
-      { 0x83,    0, 0x10, 0x40, 0x94, 0x00,    0, 0xFF,  0x53, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9E,
-        0x00, 0x80, 0x89, 0x10, 0x63, 0x24, 0x00, 0x00,  0x00, 0x00,    0, 0x50, 0x40, 0x80, 0x00, 0x03,
-        0x25, 0x00, 0x00, 0x7E, 0x00,    0,    0,    0,     0,    0,    0,    0,    0,    0,    0,    0 },
+      { 0x83,    0, 0x10, 0x40, 0x94, 0x00, 0x10, 0x33,  0x4a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0,
+        0x00, 0x80, 0xA5, 0x1E, 0x67, 0x14, 0x00, 0x00,  0x00, 0x00,    0, 0x50, 0x00, 0x80, 0x00, 0x03,
+        0x42, 0x00, 0x00, 0x78, 0x00,    0,    0,    0,     0,    0,    0,    0,    0,    0,    0,    0 },
 /* hdtv - 4A 0x85, 4B 0x0A */
       /*  4A                            4F    50                                                     59 */
-      { 0xC5, 0x0F,    0, 0x01,    0, 0x00, 0x71, 0xFF,  0x46, 0xED, 0x12, 0x71, 0xFF, 0x50, 0x46, 0x30,
+      { 0xC5, 0x0F,    0, 0x01,    0, 0x00, 0x6F, 0xFF,  0x46, 0xED, 0x12, 0x6F, 0xFF, 0x50, 0x46, 0x2E,
       /*  5A                            5F    60                       64 */
-        0x30, 0x1C, 0x47, 0x96, 0x00, 0x00, 0x80, 0x28,  0x00, 0x71, 0x36 },
+        0x27, 0x27, 0x27, 0x96, 0x00, 0x00, 0x80, 0x28,  0x00, 0x6F, 0x36 },
       /* RBG 65,66,67,27,2b,2c */
-      { 0x55, 0x39, 0x66,    0,    0,    0 },
+      { 0x55, 0x56, 0x55,    0,    0,    0 },
       /* Y-Cb-Cr 65,66,67 */
       { 0x55, 0x56, 0x55 },
       /* Subcarrier 19,18,17,16, DotCrawl Subcarrier (set bit 3 of reg 11 then subcarrier) */
_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/



More information about the Openchrome-users mailing list