Plan 9 from Bell Labs’s /usr/web/sources/extra/i/ycbcr.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


static uchar closestycbcr[16*16*16] = {
	    8,   55,   55,   38,   21,   21,    4,    4,
	    4,    0,   79,   79,   80,  114,  142,  159,
	    8,   55,   38,   38,   21,    4,    4,    4,
	    4,    0,   79,   79,   80,  114,  142,  159,
	   55,   55,   38,   21,   21,    4,    4,    4,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   55,   38,   38,   21,    4,    4,    4,    4,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   55,   38,   21,   21,    4,    4,    4,    0,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   38,   38,   21,    4,    4,    4,    4,    0,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   38,   21,   21,    4,    4,    4,    0,    0,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   38,   21,    4,    4,    4,    4,    0,    0,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   21,   21,    4,    4,    4,    4,    0,    0,
	    0,    0,   79,   79,   80,  114,  142,  159,
	   21,    4,    4,    4,    4,    0,    0,    0,
	    0,   17,   79,   79,   80,  114,  142,  159,
	    5,    5,    5,    5,    5,    1,    1,    1,
	    1,    1,   64,   64,   64,  143,  143,  144,
	   22,    5,    5,    5,   18,   18,   18,   18,
	   18,   18,   64,   64,   81,   98,  143,  144,
	    6,    6,    6,   52,   52,   52,   52,   52,
	   52,   52,   65,   65,   98,  115,  115,  128,
	    6,    6,    6,    2,    2,    2,    2,    2,
	    2,    2,   65,   65,   82,  115,  128,  145,
	   23,   23,   36,   36,   36,   36,   36,   36,
	   36,   36,   82,   99,   99,  116,  145,  162,
	    7,    7,    3,    3,    3,    3,    3,    3,
	    3,    3,   66,   66,  116,  116,  129,  129,
	   25,    8,    8,   55,   38,   38,   21,    4,
	    4,   67,   67,   80,   97,  142,  159,  160,
	   25,    8,   55,   55,   38,   21,   21,    4,
	    4,   67,   79,   80,   97,  142,  159,  160,
	    8,    8,   55,   38,   38,   21,    4,    4,
	    4,   67,   79,   80,   97,  142,  159,  160,
	    8,   55,   55,   38,   21,   21,    4,    4,
	    4,   79,   79,   80,   97,  142,  159,  160,
	    8,   55,   38,   38,   21,    4,    4,    4,
	    4,   79,   79,   80,   97,  142,  159,  160,
	   55,   55,   38,   21,   21,    4,    4,    4,
	    0,   79,   79,   80,   97,  142,  159,  160,
	   55,   38,   38,   21,    4,    4,    4,    4,
	    0,   79,   79,   80,   97,  142,  159,  160,
	   55,   38,   21,   21,    4,    4,    4,    0,
	    0,   79,   79,   80,   97,  142,  159,  160,
	   38,   38,   21,    4,    4,    4,    4,   17,
	   17,   17,   79,   80,   97,  142,  159,  160,
	    5,    5,    5,    5,    5,    5,    1,    1,
	   17,   34,   64,   64,  143,  143,  143,  144,
	   22,   22,    5,    5,    5,    5,    1,    1,
	    1,   64,   64,   81,   81,  143,  144,  161,
	   39,   22,   22,   22,    5,   35,   35,   35,
	   35,   35,   81,   81,   98,  115,  144,  178,
	    6,    6,    6,    6,    6,    2,    2,    2,
	    2,   65,   65,   65,  115,  128,  128,  145,
	   23,   23,   23,   23,   19,   19,   19,   19,
	   19,   65,   82,   82,   99,  128,  145,  162,
	   57,    7,    7,    7,   53,   53,   53,   53,
	   53,   66,   66,  116,  116,  129,  129,  179,
	   24,    7,    7,    7,   20,   20,   20,   20,
	   20,   66,   66,   83,  116,  129,  146,  146,
	   42,   25,   25,    8,   55,   38,   38,   21,
	    4,   67,   67,   67,  114,  142,  160,  177,
	   42,   25,    8,    8,   55,   38,   21,   21,
	    4,   67,   67,   97,  114,  142,  160,  177,
	   25,   25,    8,   55,   55,   38,   21,    4,
	    4,   67,   67,   97,  114,  142,  160,  177,
	   25,    8,    8,   55,   38,   38,   21,    4,
	    4,   67,   67,   97,  114,  142,  160,  177,
	   25,    8,   55,   55,   38,   21,   21,    4,
	    4,   67,   80,   97,  114,  142,  160,  177,
	    8,    8,   55,   38,   38,   21,    4,    4,
	    4,   67,   80,   97,  114,  142,  160,  177,
	    8,   55,   55,   38,   21,   21,    4,    4,
	    4,   79,   80,   97,  114,  142,  160,  177,
	    8,   55,   38,   38,   21,    4,    4,    4,
	   17,   79,   80,   97,  114,  142,  160,  177,
	   55,   55,   38,   21,   21,    4,    4,   34,
	   34,   34,   80,   97,  114,  142,  160,  177,
	    9,    9,   22,    5,    5,    5,    5,    5,
	   34,   64,   64,   81,  143,  143,  144,  206,
	   39,   39,   22,   22,   22,    5,    5,   18,
	   18,   64,   81,   98,   98,  144,  161,  178,
	   56,   39,   39,    6,    6,    6,    6,   52,
	   52,   65,   65,   98,  115,  128,  178,  178,
	   23,   23,   23,    6,    6,    6,   19,   19,
	   19,   65,   82,   82,  128,  145,  145,  207,
	   40,   40,   40,   40,   23,   36,   36,   36,
	   36,   82,   99,  116,  116,  145,  162,  179,
	   57,    7,    7,    7,    7,    3,    3,    3,
	    3,   66,   66,  116,  129,  129,  179,  192,
	   41,   41,   24,   24,   24,   37,   37,   37,
	   37,   83,  100,  100,  146,  146,  163,  192,
	   59,   42,   25,   25,    8,   55,   55,   38,
	   67,   67,   84,  130,  130,  159,  177,  205,
	   42,   42,   25,    8,    8,   55,   38,   38,
	   67,   67,   84,  130,  130,  159,  177,  205,
	   42,   25,   25,    8,   55,   55,   38,   21,
	   67,   67,   67,  130,  130,  159,  177,  205,
	   42,   25,    8,    8,   55,   38,   38,   21,
	   67,   67,   67,  130,  142,  159,  177,  205,
	   25,   25,    8,   55,   55,   38,   21,   21,
	   67,   67,   67,  114,  142,  159,  177,  205,
	   25,   25,    8,   55,   38,   38,   21,    4,
	   67,   67,   67,  114,  142,  159,  177,  205,
	   25,    8,    8,   55,   38,   21,   21,    4,
	   67,   67,   80,  114,  142,  159,  177,  205,
	   25,    8,   55,   55,   38,   21,    4,    4,
	   34,   67,   80,  114,  142,  159,  177,  205,
	    9,    9,    9,    9,    5,    5,    5,   51,
	   51,   51,   64,  143,  143,  144,  206,  206,
	    9,    9,    9,   22,   22,   22,    5,    5,
	   51,   64,   81,  143,  143,  144,  161,  206,
	   56,   56,   39,   39,   39,   22,   22,    6,
	   69,   81,   98,   98,  115,  161,  178,  178,
	   10,   56,   56,    6,    6,    6,    6,    6,
	   65,   65,   65,  115,  128,  145,  207,  207,
	   10,   40,   40,   40,   23,   23,   23,   19,
	   82,   82,   99,   99,  145,  145,  162,  208,
	   57,   57,   57,   57,    7,    7,    7,   53,
	   66,   66,  116,  116,  129,  162,  179,  192,
	   11,   24,   24,   24,   24,    7,    7,   20,
	   66,   83,   83,  129,  146,  146,  192,  192,
	   58,   58,   41,   41,   41,   41,   37,   37,
	  100,  100,  117,  117,  163,  163,  180,  209,
	   12,   59,   42,   42,   25,    8,    8,   71,
	   71,   84,  101,  130,  147,  193,  193,  222,
	   59,   59,   42,   25,   25,    8,   55,   71,
	   84,   84,  101,  130,  147,  193,  205,  222,
	   59,   42,   42,   25,    8,    8,   55,   71,
	   84,   84,   84,  130,  130,  193,  205,  222,
	   59,   42,   25,   25,    8,   55,   55,   38,
	   84,   84,  130,  130,  130,  160,  205,  222,
	   42,   42,   25,    8,    8,   55,   38,   67,
	   67,   84,  130,  130,  130,  160,  205,  222,
	   42,   25,   25,    8,   55,   55,   38,   67,
	   67,   84,  130,  130,  159,  160,  205,  222,
	   42,   25,    8,    8,   55,   38,   38,   67,
	   67,   67,  130,  130,  159,  160,  205,  222,
	   25,    9,    9,    9,   55,   38,   21,   51,
	   51,   68,  131,  131,  159,  160,  206,  222,
	   26,    9,    9,    9,    9,   22,    5,   68,
	   68,   68,  131,  143,  144,  161,  206,  223,
	   26,   26,    9,   39,   39,   22,   22,   68,
	   68,   68,   98,  143,  144,  161,  178,  223,
	   10,   56,   56,   56,   39,   39,    6,   69,
	   69,   69,  115,  115,  128,  178,  207,  207,
	   10,   10,   10,   40,   23,   23,   23,   69,
	   69,   82,  128,  128,  145,  162,  207,  208,
	   11,   11,   57,   57,   40,   40,   40,   70,
	   70,   99,  116,  129,  162,  162,  179,  225,
	   11,   11,   57,   57,    7,    7,    7,   70,
	   70,   66,  116,  129,  146,  179,  192,  209,
	   28,   41,   41,   41,   41,   41,   24,   87,
	  100,  100,  100,  146,  163,  163,  209,  209,
	   58,   58,   58,   58,   58,   58,   58,   54,
	  117,  117,  117,  163,  180,  180,  180,  226,
	   29,   12,   59,   59,   42,   25,   71,   71,
	   71,  101,  118,  147,  164,  193,  193,  210,
	   12,   12,   59,   42,   42,   25,   71,   71,
	   71,  101,  101,  147,  164,  193,  193,  210,
	   12,   59,   59,   42,   25,   25,   71,   71,
	  101,  101,  130,  147,  164,  193,  193,  239,
	   12,   59,   42,   42,   25,    8,   71,   71,
	  101,  101,  130,  147,  147,  193,  193,  239,
	   59,   59,   42,   25,   25,    8,   71,   71,
	   84,  101,  130,  147,  147,  193,  222,  239,
	   59,   42,   42,   25,    8,    8,   55,   71,
	   84,  101,  130,  130,  147,  193,  222,  239,
	   59,   42,   25,   25,    8,   55,   55,   84,
	   84,   84,  130,  130,  147,  177,  222,  239,
	   13,   26,    9,    9,    9,    9,   72,   68,
	   68,  131,  131,  131,  148,  206,  206,  223,
	   43,   26,   26,    9,    9,    9,   22,   68,
	   85,   85,  131,  131,  161,  178,  223,  224,
	   43,   43,   56,   56,   56,   39,   39,   69,
	   85,   85,  132,  132,  178,  178,  207,  224,
	   27,   10,   10,   10,   56,   56,   69,   69,
	   69,  132,  132,  132,  145,  207,  207,  208,
	   27,   27,   27,   10,   40,   40,   40,   86,
	   86,  103,  132,  145,  162,  179,  208,  225,
	   11,   11,   11,   57,   57,   57,   70,   70,
	   70,  133,  133,  129,  179,  179,  192,  242,
	   28,   28,   11,   11,   41,   24,   24,   87,
	   87,   87,  129,  146,  163,  192,  209,  209,
	   45,   45,   58,   58,   58,   58,   41,  104,
	  104,  117,  163,  163,  180,  180,  226,  226,
	   62,   58,   58,   58,   58,   58,   58,  121,
	  117,  117,  117,  180,  180,  180,  243,  243,
	   46,   29,   12,   12,   59,   42,   88,   88,
	   88,  118,  134,  164,  181,  193,  210,  227,
	   29,   29,   12,   59,   59,   42,   88,   88,
	   88,  118,  118,  164,  181,  193,  210,  227,
	   29,   12,   12,   59,   42,   42,   71,   71,
	  118,  118,  118,  164,  181,  193,  210,  227,
	   29,   12,   59,   59,   42,   25,   71,   71,
	  101,  118,  147,  164,  181,  193,  210,  227,
	   12,   12,   59,   42,   42,   25,   71,   71,
	  101,  118,  147,  164,  193,  193,  210,  240,
	   12,   59,   59,   42,   25,   25,   71,   71,
	  101,  101,  147,  164,  193,  193,  210,  240,
	   13,   13,   42,   26,    9,    9,   72,   72,
	  101,  101,  131,  148,  194,  194,  194,  240,
	   13,   43,   43,   26,   26,    9,   72,   72,
	   85,  131,  131,  148,  194,  194,  223,  241,
	   60,   60,   43,   26,   26,   56,   72,   85,
	  102,  102,  148,  165,  194,  194,  224,  241,
	   14,   27,   10,   10,   10,   56,   73,  102,
	  102,  132,  132,  132,  195,  207,  208,  225,
	   44,   27,   27,   27,   10,   10,   73,   86,
	  103,  132,  132,  149,  195,  208,  225,  225,
	   44,   44,   44,   11,   11,   57,  103,  103,
	  120,  133,  133,  166,  179,  179,  225,  242,
	   28,   28,   11,   11,   11,   57,   70,   87,
	   87,  133,  133,  150,  192,  192,  209,  226,
	   45,   45,   28,   28,   58,   41,  104,  104,
	  104,  150,  150,  163,  180,  209,  226,  226,
	   62,   62,   45,   58,   58,   58,  121,  121,
	  121,  121,  180,  180,  180,  180,  243,  243,
	   62,   62,   58,   58,   58,   58,  121,  121,
	  121,  121,  180,  180,  180,  180,  243,  243,
	   63,   46,   29,   29,   12,   75,  105,  105,
	  105,  134,  151,  197,  181,  227,  244,  244,
	   46,   46,   29,   12,   12,   75,  105,  105,
	  134,  134,  134,  181,  181,  227,  244,  244,
	   46,   29,   29,   12,   59,   75,   88,   88,
	  134,  134,  134,  181,  181,  210,  227,  244,
	   46,   29,   12,   12,   59,   88,   88,   88,
	  118,  134,  134,  181,  181,  210,  227,  244,
	   29,   29,   12,   59,   59,   88,   88,   88,
	  118,  134,  164,  181,  181,  210,  227,  244,
	   29,   12,   12,   59,   42,   88,   88,   88,
	  118,  118,  164,  181,  193,  210,  227,  244,
	   13,   13,   13,   13,   26,   72,   72,   72,
	  135,  135,  148,  165,  194,  211,  228,  228,
	   30,   60,   60,   43,   43,   72,   72,   72,
	  102,  135,  165,  165,  194,  211,  228,  241,
	   14,   60,   60,   60,   43,   73,   73,  102,
	  119,  119,  165,  182,  195,  195,  228,  241,
	   14,   14,   27,   27,   27,   73,   73,   73,
	  119,  132,  149,  195,  195,  212,  225,  242,
	   61,   44,   44,   44,   27,   90,   90,  120,
	  120,  149,  166,  166,  212,  212,  242,  242,
	   61,   61,   61,   11,   11,   74,   74,  120,
	  120,  133,  133,  196,  196,  196,  242,  242,
	   45,   45,   28,   28,   28,   74,   74,  104,
	  104,  150,  150,  167,  196,  209,  226,  243,
	   62,   62,   45,   45,   45,   91,  121,  121,
	  121,  167,  167,  184,  180,  226,  243,  243,
	   62,   62,   62,   62,   58,  121,  121,  121,
	  121,  184,  184,  184,  180,  243,  243,  243,
	   62,   62,   62,   62,   58,  121,  121,  121,
	  121,  184,  184,  180,  180,  243,  243,  243,
	   63,   63,   46,   29,   75,   75,  122,  122,
	  151,  151,  151,  197,  197,  244,  244,  244,
	   63,   63,   46,   29,   75,   75,  122,  122,
	  151,  151,  151,  197,  197,  244,  244,  244,
	   63,   46,   46,   29,   75,   75,  122,  122,
	  151,  151,  151,  197,  197,  244,  244,  244,
	   63,   46,   29,   29,   75,   75,  105,  105,
	  134,  151,  151,  197,  197,  227,  244,  244,
	   46,   46,   29,   12,   75,   75,  105,  105,
	  134,  151,  197,  197,  210,  227,  244,  244,
	   30,   30,   13,   13,   76,   76,   89,  135,
	  135,  135,  198,  198,  211,  228,  245,  245,
	   30,   30,   13,   13,   76,   89,   89,   89,
	  135,  135,  165,  182,  211,  228,  245,  245,
	   47,   60,   60,   60,   60,  106,  106,  119,
	  119,  119,  182,  182,  228,  228,  245,  245,
	   14,   14,   14,   14,   77,   73,   73,  119,
	  136,  136,  182,  195,  195,  212,  229,  246,
	   31,   14,   14,   44,   44,   90,   90,   90,
	  136,  136,  166,  166,  212,  229,  246,  246,
	   15,   61,   61,   61,   44,   74,   74,  137,
	  137,  166,  183,  183,  196,  246,  246,  242,
	   15,   15,   15,   28,   91,   91,   74,  137,
	  137,  150,  183,  196,  213,  213,  230,  243,
	   62,   62,   62,   45,   45,   91,   91,  121,
	  167,  167,  184,  184,  213,  230,  243,  243,
	   62,   62,   62,   62,   62,  108,  121,  121,
	  184,  184,  184,  184,  230,  247,  243,  243,
	   62,   62,   62,   62,   62,  125,  121,  121,
	  184,  184,  184,  184,  247,  243,  243,  243,
	   62,   62,   62,   62,   62,  121,  121,  121,
	  184,  184,  184,  184,  247,  243,  243,  243,
	   63,   63,   63,   46,   92,   92,  122,  138,
	  138,  168,  168,  214,  214,  231,  244,  244,
	   63,   63,   63,   46,   92,   92,  122,  138,
	  138,  168,  168,  214,  214,  231,  244,  244,
	   63,   63,   46,   46,   92,   92,  122,  138,
	  151,  168,  197,  197,  214,  244,  244,  244,
	   63,   63,   46,   29,   75,   75,  122,  138,
	  151,  168,  197,  197,  214,  244,  244,  244,
	   63,   46,   46,   29,   75,   75,  122,  122,
	  151,  151,  197,  197,  214,  244,  244,  244,
	   47,   47,   30,   30,   76,   76,  106,  139,
	  152,  152,  198,  198,  215,  245,  245,  245,
	   48,   47,   30,   30,   76,  123,  123,  123,
	  152,  152,  198,  198,  228,  245,  245,  245,
	   48,   31,   14,   14,   77,  123,  123,  136,
	  136,  136,  199,  199,  245,  245,  245,  245,
	   32,   31,   31,   14,   77,   90,   90,  136,
	  136,  153,  199,  199,  229,  229,  246,  246,
	   32,   32,   61,   61,  107,  107,  107,  153,
	  153,  153,  183,  183,  229,  246,  246,  246,
	   16,   15,   15,   61,   78,   91,   91,  137,
	  137,  137,  183,  183,  213,  246,  246,  246,
	   16,   16,   16,   45,  108,  108,  108,  154,
	  154,  154,  184,  213,  230,  230,  247,  247,
	   33,   62,   62,   62,  125,  125,  125,  154,
	  171,  184,  184,  230,  230,  247,  247,  243,
	   62,   62,   62,   62,  125,  125,  125,  125,
	  184,  184,  184,  184,  247,  247,  247,  243,
	   62,   62,   62,   62,  125,  125,  125,  121,
	  184,  184,  184,  184,  247,  247,  243,  243,
	   62,   62,   62,   62,  125,  125,  125,  121,
	  184,  184,  184,  184,  247,  247,  243,  243,
	   63,   63,   63,  126,  109,  109,  138,  155,
	  155,  185,  185,  231,  231,  248,  248,  244,
	   63,   63,   63,  109,  109,  109,  138,  138,
	  138,  185,  185,  231,  231,  248,  248,  244,
	   63,   63,   63,  109,  109,  109,  138,  138,
	  168,  185,  185,  231,  231,  248,  244,  244,
	   63,   63,   63,  109,  109,   92,  138,  138,
	  168,  185,  214,  214,  231,  248,  244,  244,
	   48,   48,   47,   93,   93,   93,  139,  139,
	  139,  169,  198,  215,  215,  232,  245,  245,
	   48,   48,   47,   93,   93,   93,  139,  139,
	  169,  169,  215,  215,  232,  245,  245,  245,
	   48,   48,   48,   93,   93,  123,  123,  140,
	  169,  169,  215,  215,  232,  245,  245,  245,
	   32,   32,   31,   77,   77,   77,  140,  140,
	  153,  199,  199,  216,  216,  246,  246,  246,
	   49,   32,   32,   94,   94,  107,  107,  153,
	  153,  170,  216,  216,  246,  246,  246,  246,
	   49,   49,   15,   78,   78,  124,  124,  137,
	  170,  200,  200,  200,  246,  246,  246,  246,
	   16,   16,   16,   78,   78,  124,  124,  154,
	  154,  200,  200,  217,  230,  230,  247,  247,
	   33,   33,   16,   95,  125,  125,  125,  171,
	  171,  171,  217,  230,  247,  247,  247,  247,
	   50,   33,   62,  125,  125,  125,  125,  171,
	  188,  184,  184,  247,  247,  247,  247,  247,
	   50,   62,   62,  125,  125,  125,  125,  188,
	  188,  184,  184,  247,  247,  247,  247,  247,
	   50,   62,   62,  125,  125,  125,  125,  188,
	  184,  184,  184,  247,  247,  247,  247,  247,
	   50,   62,   62,  125,  125,  125,  125,  188,
	  184,  184,  184,  247,  247,  247,  247,  243,
	   63,   63,   63,  126,  126,  126,  155,  172,
	  172,  201,  201,  248,  248,  248,  248,  248,
	   63,   63,   63,  126,  126,  126,  155,  155,
	  172,  201,  201,  248,  248,  248,  248,  248,
	   63,   63,   63,  126,  126,  126,  155,  155,
	  185,  201,  201,  248,  248,  248,  248,  248,
	   63,   63,   63,  126,  126,  126,  155,  155,
	  185,  202,  202,  248,  248,  248,  248,  244,
	   48,   48,   48,  110,  110,  110,  139,  156,
	  202,  202,  232,  232,  249,  249,  249,  245,
	   48,   48,   48,  110,  110,  110,  156,  156,
	  186,  186,  232,  232,  249,  249,  245,  245,
	   48,   48,   48,   94,   94,  140,  140,  140,
	  186,  186,  216,  216,  249,  249,  245,  245,
	   49,   49,  111,  111,   94,  140,  140,  140,
	  170,  216,  216,  233,  233,  246,  246,  246,
	   49,   49,  111,  111,  111,  124,  141,  170,
	  170,  187,  233,  233,  250,  246,  246,  246,
	   49,   16,   95,   95,   95,  141,  141,  141,
	  187,  200,  217,  217,  217,  246,  246,  246,
	   33,   33,   95,   95,   95,  141,  141,  171,
	  171,  217,  217,  234,  247,  247,  247,  247,
	   50,   50,   96,   96,  125,  125,  188,  188,
	  188,  188,  234,  234,  247,  247,  247,  247,
	   50,   50,   50,  125,  125,  125,  188,  188,
	  188,  188,  234,  247,  247,  247,  247,  247,
	   50,   50,   50,  125,  125,  125,  188,  188,
	  188,  188,  247,  247,  247,  247,  247,  247,
	   50,   50,   62,  125,  125,  125,  188,  188,
	  188,  188,  247,  247,  247,  247,  247,  247,
	   50,   50,   62,  125,  125,  125,  188,  188,
	  188,  184,  247,  247,  247,  247,  247,  247,
	   63,   63,  126,  126,  126,  126,  189,  189,
	  189,  218,  218,  248,  248,  248,  248,  248,
	   63,   63,  126,  126,  126,  126,  172,  172,
	  201,  218,  218,  248,  248,  248,  248,  248,
	   63,   63,  126,  126,  126,  172,  172,  172,
	  201,  218,  218,  248,  248,  248,  248,  248,
	   48,   48,  127,  127,  127,  156,  173,  173,
	  202,  202,  219,  249,  249,  249,  249,  249,
	   48,   48,  127,  127,  127,  173,  173,  173,
	  202,  202,  249,  249,  249,  249,  249,  249,
	   48,   48,  127,  127,  127,  173,  173,  173,
	  186,  203,  249,  249,  249,  249,  249,  249,
	   49,   49,  111,  111,  111,  157,  157,  157,
	  203,  203,  233,  233,  250,  250,  250,  246,
	   49,   49,  112,  112,  112,  157,  157,  157,
	  187,  203,  233,  250,  250,  250,  250,  246,
	   49,   49,  112,  112,  112,  141,  141,  187,
	  187,  204,  250,  250,  250,  250,  246,  246,
	   50,   33,   96,   96,   96,  158,  158,  158,
	  204,  217,  234,  234,  234,  251,  247,  247,
	   50,   50,   96,   96,   96,  158,  158,  188,
	  188,  234,  234,  251,  251,  247,  247,  247,
	   50,   50,  113,  113,  113,  175,  188,  188,
	  188,  234,  251,  251,  251,  247,  247,  247,
	   50,   50,  113,  113,  113,  125,  188,  188,
	  188,  251,  251,  251,  247,  247,  247,  247,
	   50,   50,  113,  113,  125,  125,  188,  188,
	  188,  251,  251,  251,  247,  247,  247,  247,
	   50,   50,  113,  113,  125,  125,  188,  188,
	  188,  251,  251,  247,  247,  247,  247,  247,
	   50,   50,  113,  125,  125,  125,  188,  188,
	  188,  251,  251,  247,  247,  247,  247,  247,
	   63,  126,  126,  126,  126,  189,  189,  189,
	  235,  235,  235,  252,  248,  248,  248,  248,
	   63,  126,  126,  126,  126,  189,  189,  189,
	  218,  235,  235,  235,  248,  248,  248,  248,
	   63,  126,  126,  126,  126,  189,  189,  189,
	  219,  219,  235,  248,  248,  248,  248,  248,
	   48,  127,  127,  127,  127,  190,  190,  190,
	  219,  219,  236,  249,  249,  249,  249,  249,
	   48,  127,  127,  127,  127,  190,  190,  190,
	  219,  219,  236,  249,  249,  249,  249,  249,
	   48,  127,  127,  127,  127,  174,  174,  203,
	  203,  220,  220,  249,  249,  249,  249,  249,
	   49,  112,  112,  112,  112,  174,  174,  174,
	  220,  220,  250,  250,  250,  250,  250,  250,
	   49,  112,  112,  112,  112,  174,  191,  191,
	  204,  204,  250,  250,  250,  250,  250,  250,
	   49,  112,  112,  112,  158,  158,  158,  204,
	  204,  204,  250,  250,  250,  250,  250,  250,
	   50,  113,  113,  113,  113,  175,  175,  175,
	  221,  234,  251,  251,  251,  251,  251,  247,
	   50,  113,  113,  113,  113,  175,  175,  188,
	  188,  251,  251,  251,  251,  251,  251,  247,
	   50,  113,  113,  113,  113,  176,  176,  188,
	  188,  251,  251,  251,  251,  251,  247,  247,
	   50,  113,  113,  113,  113,  176,  188,  188,
	  188,  251,  251,  251,  251,  251,  247,  247,
	   50,  113,  113,  113,  113,  176,  188,  188,
	  188,  251,  251,  251,  251,  247,  247,  247,
	   50,  113,  113,  113,  113,  188,  188,  188,
	  188,  251,  251,  251,  251,  247,  247,  247,
	   50,  113,  113,  113,  113,  188,  188,  188,
	  188,  251,  251,  251,  247,  247,  247,  247,
	  126,  126,  126,  126,  189,  189,  189,  189,
	  235,  252,  252,  252,  252,  248,  248,  248,
	  126,  126,  126,  126,  189,  189,  189,  189,
	  235,  252,  252,  252,  252,  248,  248,  248,
	  127,  127,  127,  127,  190,  190,  190,  190,
	  236,  236,  253,  253,  249,  249,  249,  249,
	  127,  127,  127,  127,  190,  190,  190,  190,
	  236,  236,  253,  253,  249,  249,  249,  249,
	  127,  127,  127,  127,  190,  190,  190,  190,
	  236,  236,  253,  249,  249,  249,  249,  249,
	  112,  112,  112,  112,  191,  191,  191,  220,
	  220,  237,  237,  250,  250,  250,  250,  250,
	  112,  112,  112,  112,  191,  191,  191,  191,
	  237,  237,  237,  250,  250,  250,  250,  250,
	  112,  112,  112,  112,  191,  191,  191,  221,
	  221,  221,  250,  250,  250,  250,  250,  250,
	  113,  113,  113,  113,  175,  175,  175,  221,
	  221,  221,  251,  251,  251,  251,  251,  251,
	  113,  113,  113,  113,  176,  176,  176,  221,
	  238,  238,  251,  251,  251,  251,  251,  251,
	  113,  113,  113,  113,  176,  176,  176,  176,
	  238,  251,  251,  251,  251,  251,  251,  251,
	  113,  113,  113,  113,  176,  176,  176,  176,
	  251,  251,  251,  251,  251,  251,  251,  247,
	  113,  113,  113,  113,  176,  176,  176,  176,
	  251,  251,  251,  251,  251,  251,  251,  247,
	  113,  113,  113,  113,  176,  176,  176,  188,
	  251,  251,  251,  251,  251,  251,  251,  247,
	  113,  113,  113,  113,  176,  176,  176,  188,
	  251,  251,  251,  251,  251,  251,  247,  247,
	  113,  113,  113,  113,  176,  176,  188,  188,
	  251,  251,  251,  251,  251,  251,  247,  247,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  254,  254,  254,  254,  254,  254,  254,  254,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255,
	  255,  255,  255,  255,  255,  255,  255,  255
};

static int rgbvmap_y[256] = {
 0x00, 0x07, 0x0f, 0x17, 0x27, 0x2f, 0x37, 0x3f,
 0x4f, 0x57, 0x5f, 0x67, 0x77, 0x7f, 0x87, 0x8f,
 0x9a, 0x11, 0x09, 0x11, 0x19, 0x31, 0x3b, 0x3e,
 0x44, 0x59, 0x62, 0x6b, 0x6f, 0x81, 0x8a, 0x92,
 0x9d, 0xa6, 0x22, 0x0b, 0x13, 0x1b, 0x3b, 0x47,
 0x45, 0x49, 0x63, 0x6d, 0x77, 0x77, 0x8b, 0x94,
 0x9f, 0xa9, 0xb2, 0x33, 0x0d, 0x15, 0x1d, 0x45,
 0x53, 0x4b, 0x4e, 0x6d, 0x78, 0x83, 0x80, 0x95,
 0x1c, 0x23, 0x2b, 0x3c, 0x44, 0x4b, 0x53, 0x64,
 0x6b, 0x73, 0x7b, 0x8c, 0x93, 0x9b, 0xa3, 0x14,
 0x19, 0x23, 0x28, 0x2f, 0x4b, 0x55, 0x54, 0x59,
 0x70, 0x79, 0x81, 0x85, 0x97, 0x9f, 0xa8, 0xb0,
 0xbe, 0x1e, 0x2a, 0x2c, 0x32, 0x5a, 0x66, 0x5e,
 0x61, 0x7d, 0x86, 0x90, 0x8f, 0xa3, 0xac, 0xb5,
 0xc2, 0xcc, 0x23, 0x31, 0x31, 0x36, 0x69, 0x77,
 0x67, 0x68, 0x89, 0x94, 0x9e, 0x9a, 0xaf, 0xb8,
 0x38, 0x3f, 0x50, 0x58, 0x60, 0x67, 0x78, 0x80,
 0x88, 0x8f, 0xa0, 0xa8, 0xaf, 0xb7, 0x28, 0x30,
 0x36, 0x3f, 0x45, 0x5a, 0x63, 0x6b, 0x6f, 0x87,
 0x90, 0x99, 0x9b, 0xad, 0xb6, 0xbe, 0xc6, 0x2d,
 0x32, 0x3c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 0x5e, 0x58, 0x52,
 0x47, 0x41, 0x3c, 0x36, 0x2a, 0x25, 0x1f, 0x1a,
 0x11, 0x80, 0x79, 0x73, 0x6e, 0x5c, 0x55, 0x53,
 0x4f, 0x3f, 0x39, 0x33, 0x30, 0x23, 0x1d, 0x17,
 0x0f, 0x08, 0x80, 0x77, 0x72, 0x6c, 0x55, 0x4d,
 0x4e, 0x4b, 0x38, 0x31, 0x2a, 0x2a, 0x1c, 0x15,
 0x0e, 0x07, 0x00, 0x80, 0x76, 0x70, 0x6b, 0x4e,
 0x44, 0x49, 0x47, 0x31, 0x2a, 0x22, 0x24, 0x15,
 0x9c, 0x96, 0x91, 0x85, 0x80, 0x7a, 0x74, 0x69,
 0x63, 0x5e, 0x58, 0x4c, 0x47, 0x41, 0x3c, 0xa2,
 0xaa, 0xa3, 0x99, 0x92, 0x86, 0x80, 0x79, 0x73,
 0x65, 0x5f, 0x59, 0x54, 0x47, 0x42, 0x3c, 0x36,
 0x30, 0xb3, 0xaa, 0x9c, 0x94, 0x88, 0x80, 0x79,
 0x73, 0x63, 0x5c, 0x55, 0x51, 0x43, 0x3d, 0x37,
 0x31, 0x2b, 0xbb, 0xb1, 0x9f, 0x95, 0x89, 0x80,
 0x78, 0x72, 0x60, 0x58, 0x51, 0x4e, 0x3f, 0x38,
 0xb8, 0xb3, 0xa7, 0xa2, 0x9c, 0x96, 0x8b, 0x85,
 0x80, 0x7a, 0x6e, 0x69, 0x63, 0x5e, 0xc4, 0xbe,
 0xc6, 0xc0, 0xb7, 0xac, 0xa6, 0xa0, 0x98, 0x8c,
 0x86, 0x80, 0x79, 0x6c, 0x67, 0x61, 0x5b, 0xcc,
 0xd5, 0xce, 0xc7, 0xbb, 0xb1, 0xaa, 0xa3, 0x9a,
 0x8d, 0x86, 0x80, 0x79, 0x6b, 0x64, 0x5e, 0x58,
 0x55, 0xdd, 0xd5, 0xce, 0xc0, 0xb6, 0xaf, 0xa7,
 0x9c, 0x8f, 0x87, 0x80, 0x79, 0x6a, 0x63, 0x5c,
 0xd5, 0xc9, 0xc4, 0xbe, 0xb8, 0xad, 0xa7, 0xa2,
 0x9c, 0x90, 0x8b, 0x85, 0x80, 0xe6, 0xe0, 0xda,
 0xe2, 0xdc, 0xcf, 0xca, 0xc3, 0xbd, 0xb0, 0xab,
 0xa5, 0x9e, 0x91, 0x8c, 0x86, 0x80, 0xee, 0xe8,
 0xf0, 0xea, 0xe3, 0xd5, 0xcf, 0xc9, 0xc2, 0xb4,
 0xae, 0xa8, 0xa1, 0x93, 0x8c, 0x86, 0x80, 0xf7,
 0xff, 0xf8, 0xf1, 0xea, 0xdb, 0xd5, 0xce, 0xc7,
 0xb8, 0xb1, 0xaa, 0xa3, 0x94, 0x8d, 0x86, 0x80
};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].