[MPlayer-cvslog] r24275 - trunk/stream/tvi_vbi.c

voroshil subversion at mplayerhq.hu
Tue Aug 28 20:06:12 CEST 2007


Author: voroshil
Date: Tue Aug 28 20:06:11 2007
New Revision: 24275

Log:
Conversion tables for Serbian/Croatian, Ukrainian and Greek charsets.



Modified:
   trunk/stream/tvi_vbi.c

Modified: trunk/stream/tvi_vbi.c
==============================================================================
--- trunk/stream/tvi_vbi.c	(original)
+++ trunk/stream/tvi_vbi.c	Tue Aug 28 20:06:11 2007
@@ -201,7 +201,10 @@ static const unsigned char corrHamm48[25
 
 enum {
   LAT_UNI=0,
+  CYRILLIC1
   RUS_UNI,
+  CYRILLIC3,
+  GREEK,
   LANGS
 };
 
@@ -224,7 +227,22 @@ static unsigned int lang_chars[LANGS][0x
   0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f
  },
  {
-  //Russian
+  //Cyrillic-1 (Serbian/Croatian)
+  0x20,0x21,0x22,0x23,0x24,0x25,0x044b,0x27,
+  0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+  0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+  0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+  0x0427,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
+  0x0425,0x0418,0x0408,0x041a,0x041b,0x041c,0x041d,0x041e,
+  0x041f,0x040c,0x0420,0x0421,0x0422,0x0423,0x0412,0x0403,
+  0x0409,0x040a,0x0417,0x040b,0x0416,0x0402,0x0428,0x040f,
+  0x0447,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
+  0x0445,0x0438,0x0428,0x043a,0x043b,0x043c,0x043d,0x043e,
+  0x043f,0x042c,0x0440,0x0441,0x0442,0x0443,0x0432,0x0423,
+  0x0429,0x042a,0x0437,0x042b,0x0436,0x0422,0x0448,0x042f
+ },
+ {
+  //Cyrillic-2 (Russian/Bulgarian)
   0x20,0x21,0x22,0x23,0x24,0x25,0x044b,0x27,
   0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
   0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
@@ -237,6 +255,36 @@ static unsigned int lang_chars[LANGS][0x
   0x0445,0x0438,0x0439,0x043a,0x043b,0x043c,0x043d,0x043e,
   0x043f,0x044f,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
   0x044c,0x044a,0x0437,0x0448,0x044d,0x0449,0x0447,0x044b
+ },
+ {
+  //Cyrillic-3 (Ukrainian)
+  0x20,0x21,0x22,0x23,0x24,0x25,0xef,0x27,
+  0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+  0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+  0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+  0x042e,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
+  0x0425,0x0418,0x0419,0x041a,0x041b,0x041c,0x041d,0x041e,
+  0x041f,0x042f,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
+  0x042c,0x49,0x0417,0x0428,0x042d,0x0429,0x0427,0xcf,
+  0x044e,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
+  0x0445,0x0438,0x0439,0x043a,0x043b,0x043c,0x043d,0x043e,
+  0x043f,0x044f,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
+  0x044c,0x69,0x0437,0x0448,0x044d,0x0449,0x0447,0xFF
+ },
+ {
+  //Greek
+  0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,
+  0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,
+  0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,
+  0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,
+  0x0390,0x0391,0x0392,0x0393,0x0394,0x0395,0x0396,0x0397,
+  0x0398,0x0399,0x039a,0x039b,0x039c,0x039d,0x039e,0x039f,
+  0x03a0,0x03a1,0x03a2,0x03a3,0x03a4,0x03a5,0x03a6,0x03a7,
+  0x03a8,0x03a9,0x03aa,0x03ab,0x03ac,0x03ad,0x03ae,0x03af,
+  0x03b0,0x03b1,0x03b2,0x03b3,0x03b4,0x03b5,0x03b6,0x03b7,
+  0x03b8,0x03b9,0x03ba,0x03bb,0x03bc,0x03bd,0x03be,0x03bf,
+  0x03c0,0x03c1,0x03c2,0x03c3,0x03c4,0x03c5,0x03c6,0x03c7,
+  0x03c8,0x03c9,0x03ca,0x03cb,0x03cc,0x03cd,0x03ce,0x03cf
  }
 };
 



More information about the MPlayer-cvslog mailing list