view libmpdemux/qtpalette.h @ 32507:97738e6f82dc

Use IMGFMT to compare instead of PIX_FMT to avoid issues with the "JPEG" formats like PIX_FMT_YUVJ422P.
author reimar
date Sat, 06 Nov 2010 21:49:49 +0000
parents 0f1b5b68af32
children
line wrap: on
line source

/*
 * default palettes for QuickTime files
 * Automatically generated from a utility derived from XAnim:
 * http://xanim.va.pubnix.com/home.html
 *
 * This file is part of MPlayer.
 *
 * MPlayer is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * MPlayer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#ifndef MPLAYER_QTPALETTE_H
#define MPLAYER_QTPALETTE_H

static const unsigned char qt_default_palette_4[4 * 4] = {
  0x5E, 0x65, 0x93, 0x00,
  0xFF, 0xFF, 0xFF, 0x00,
  0xAB, 0xD0, 0xDF, 0x00,
  0x00, 0x00, 0x00, 0x00
};

static const unsigned char qt_default_palette_16[16 * 4] = {
  0xFF, 0xFB, 0xFF, 0x00,
  0xBB, 0xD9, 0xEF, 0x00,
  0xB1, 0xC9, 0xE8, 0x00,
  0x5E, 0x65, 0x93, 0x00,
  0xE8, 0xDE, 0xFC, 0x00,
  0x91, 0x88, 0x9D, 0x00,
  0xFF, 0xFF, 0xFF, 0x00,
  0xFF, 0xFF, 0xFF, 0x00,
  0xFF, 0xFF, 0xFF, 0x00,
  0x37, 0x48, 0x47, 0x00,
  0x55, 0x5E, 0x7A, 0x00,
  0xAB, 0xD0, 0xDF, 0x00,
  0xF9, 0xFB, 0xFF, 0x00,
  0xC5, 0xCA, 0xE8, 0x00,
  0x77, 0x7C, 0x8A, 0x00,
  0x00, 0x00, 0x00, 0x00
};

static const unsigned char qt_default_palette_256[256 * 4] = {
  /*   0, 0x00 */  0xFF, 0xFF, 0xFF, 0x00,
  /*   1, 0x01 */  0xCC, 0xFF, 0xFF, 0x00,
  /*   2, 0x02 */  0x99, 0xFF, 0xFF, 0x00,
  /*   3, 0x03 */  0x66, 0xFF, 0xFF, 0x00,
  /*   4, 0x04 */  0x33, 0xFF, 0xFF, 0x00,
  /*   5, 0x05 */  0x00, 0xFF, 0xFF, 0x00,
  /*   6, 0x06 */  0xFF, 0xCC, 0xFF, 0x00,
  /*   7, 0x07 */  0xCC, 0xCC, 0xFF, 0x00,
  /*   8, 0x08 */  0x99, 0xCC, 0xFF, 0x00,
  /*   9, 0x09 */  0x66, 0xCC, 0xFF, 0x00,
  /*  10, 0x0A */  0x33, 0xCC, 0xFF, 0x00,
  /*  11, 0x0B */  0x00, 0xCC, 0xFF, 0x00,
  /*  12, 0x0C */  0xFF, 0x99, 0xFF, 0x00,
  /*  13, 0x0D */  0xCC, 0x99, 0xFF, 0x00,
  /*  14, 0x0E */  0x99, 0x99, 0xFF, 0x00,
  /*  15, 0x0F */  0x66, 0x99, 0xFF, 0x00,
  /*  16, 0x10 */  0x33, 0x99, 0xFF, 0x00,
  /*  17, 0x11 */  0x00, 0x99, 0xFF, 0x00,
  /*  18, 0x12 */  0xFF, 0x66, 0xFF, 0x00,
  /*  19, 0x13 */  0xCC, 0x66, 0xFF, 0x00,
  /*  20, 0x14 */  0x99, 0x66, 0xFF, 0x00,
  /*  21, 0x15 */  0x66, 0x66, 0xFF, 0x00,
  /*  22, 0x16 */  0x33, 0x66, 0xFF, 0x00,
  /*  23, 0x17 */  0x00, 0x66, 0xFF, 0x00,
  /*  24, 0x18 */  0xFF, 0x33, 0xFF, 0x00,
  /*  25, 0x19 */  0xCC, 0x33, 0xFF, 0x00,
  /*  26, 0x1A */  0x99, 0x33, 0xFF, 0x00,
  /*  27, 0x1B */  0x66, 0x33, 0xFF, 0x00,
  /*  28, 0x1C */  0x33, 0x33, 0xFF, 0x00,
  /*  29, 0x1D */  0x00, 0x33, 0xFF, 0x00,
  /*  30, 0x1E */  0xFF, 0x00, 0xFF, 0x00,
  /*  31, 0x1F */  0xCC, 0x00, 0xFF, 0x00,
  /*  32, 0x20 */  0x99, 0x00, 0xFF, 0x00,
  /*  33, 0x21 */  0x66, 0x00, 0xFF, 0x00,
  /*  34, 0x22 */  0x33, 0x00, 0xFF, 0x00,
  /*  35, 0x23 */  0x00, 0x00, 0xFF, 0x00,
  /*  36, 0x24 */  0xFF, 0xFF, 0xCC, 0x00,
  /*  37, 0x25 */  0xCC, 0xFF, 0xCC, 0x00,
  /*  38, 0x26 */  0x99, 0xFF, 0xCC, 0x00,
  /*  39, 0x27 */  0x66, 0xFF, 0xCC, 0x00,
  /*  40, 0x28 */  0x33, 0xFF, 0xCC, 0x00,
  /*  41, 0x29 */  0x00, 0xFF, 0xCC, 0x00,
  /*  42, 0x2A */  0xFF, 0xCC, 0xCC, 0x00,
  /*  43, 0x2B */  0xCC, 0xCC, 0xCC, 0x00,
  /*  44, 0x2C */  0x99, 0xCC, 0xCC, 0x00,
  /*  45, 0x2D */  0x66, 0xCC, 0xCC, 0x00,
  /*  46, 0x2E */  0x33, 0xCC, 0xCC, 0x00,
  /*  47, 0x2F */  0x00, 0xCC, 0xCC, 0x00,
  /*  48, 0x30 */  0xFF, 0x99, 0xCC, 0x00,
  /*  49, 0x31 */  0xCC, 0x99, 0xCC, 0x00,
  /*  50, 0x32 */  0x99, 0x99, 0xCC, 0x00,
  /*  51, 0x33 */  0x66, 0x99, 0xCC, 0x00,
  /*  52, 0x34 */  0x33, 0x99, 0xCC, 0x00,
  /*  53, 0x35 */  0x00, 0x99, 0xCC, 0x00,
  /*  54, 0x36 */  0xFF, 0x66, 0xCC, 0x00,
  /*  55, 0x37 */  0xCC, 0x66, 0xCC, 0x00,
  /*  56, 0x38 */  0x99, 0x66, 0xCC, 0x00,
  /*  57, 0x39 */  0x66, 0x66, 0xCC, 0x00,
  /*  58, 0x3A */  0x33, 0x66, 0xCC, 0x00,
  /*  59, 0x3B */  0x00, 0x66, 0xCC, 0x00,
  /*  60, 0x3C */  0xFF, 0x33, 0xCC, 0x00,
  /*  61, 0x3D */  0xCC, 0x33, 0xCC, 0x00,
  /*  62, 0x3E */  0x99, 0x33, 0xCC, 0x00,
  /*  63, 0x3F */  0x66, 0x33, 0xCC, 0x00,
  /*  64, 0x40 */  0x33, 0x33, 0xCC, 0x00,
  /*  65, 0x41 */  0x00, 0x33, 0xCC, 0x00,
  /*  66, 0x42 */  0xFF, 0x00, 0xCC, 0x00,
  /*  67, 0x43 */  0xCC, 0x00, 0xCC, 0x00,
  /*  68, 0x44 */  0x99, 0x00, 0xCC, 0x00,
  /*  69, 0x45 */  0x66, 0x00, 0xCC, 0x00,
  /*  70, 0x46 */  0x33, 0x00, 0xCC, 0x00,
  /*  71, 0x47 */  0x00, 0x00, 0xCC, 0x00,
  /*  72, 0x48 */  0xFF, 0xFF, 0x99, 0x00,
  /*  73, 0x49 */  0xCC, 0xFF, 0x99, 0x00,
  /*  74, 0x4A */  0x99, 0xFF, 0x99, 0x00,
  /*  75, 0x4B */  0x66, 0xFF, 0x99, 0x00,
  /*  76, 0x4C */  0x33, 0xFF, 0x99, 0x00,
  /*  77, 0x4D */  0x00, 0xFF, 0x99, 0x00,
  /*  78, 0x4E */  0xFF, 0xCC, 0x99, 0x00,
  /*  79, 0x4F */  0xCC, 0xCC, 0x99, 0x00,
  /*  80, 0x50 */  0x99, 0xCC, 0x99, 0x00,
  /*  81, 0x51 */  0x66, 0xCC, 0x99, 0x00,
  /*  82, 0x52 */  0x33, 0xCC, 0x99, 0x00,
  /*  83, 0x53 */  0x00, 0xCC, 0x99, 0x00,
  /*  84, 0x54 */  0xFF, 0x99, 0x99, 0x00,
  /*  85, 0x55 */  0xCC, 0x99, 0x99, 0x00,
  /*  86, 0x56 */  0x99, 0x99, 0x99, 0x00,
  /*  87, 0x57 */  0x66, 0x99, 0x99, 0x00,
  /*  88, 0x58 */  0x33, 0x99, 0x99, 0x00,
  /*  89, 0x59 */  0x00, 0x99, 0x99, 0x00,
  /*  90, 0x5A */  0xFF, 0x66, 0x99, 0x00,
  /*  91, 0x5B */  0xCC, 0x66, 0x99, 0x00,
  /*  92, 0x5C */  0x99, 0x66, 0x99, 0x00,
  /*  93, 0x5D */  0x66, 0x66, 0x99, 0x00,
  /*  94, 0x5E */  0x33, 0x66, 0x99, 0x00,
  /*  95, 0x5F */  0x00, 0x66, 0x99, 0x00,
  /*  96, 0x60 */  0xFF, 0x33, 0x99, 0x00,
  /*  97, 0x61 */  0xCC, 0x33, 0x99, 0x00,
  /*  98, 0x62 */  0x99, 0x33, 0x99, 0x00,
  /*  99, 0x63 */  0x66, 0x33, 0x99, 0x00,
  /* 100, 0x64 */  0x33, 0x33, 0x99, 0x00,
  /* 101, 0x65 */  0x00, 0x33, 0x99, 0x00,
  /* 102, 0x66 */  0xFF, 0x00, 0x99, 0x00,
  /* 103, 0x67 */  0xCC, 0x00, 0x99, 0x00,
  /* 104, 0x68 */  0x99, 0x00, 0x99, 0x00,
  /* 105, 0x69 */  0x66, 0x00, 0x99, 0x00,
  /* 106, 0x6A */  0x33, 0x00, 0x99, 0x00,
  /* 107, 0x6B */  0x00, 0x00, 0x99, 0x00,
  /* 108, 0x6C */  0xFF, 0xFF, 0x66, 0x00,
  /* 109, 0x6D */  0xCC, 0xFF, 0x66, 0x00,
  /* 110, 0x6E */  0x99, 0xFF, 0x66, 0x00,
  /* 111, 0x6F */  0x66, 0xFF, 0x66, 0x00,
  /* 112, 0x70 */  0x33, 0xFF, 0x66, 0x00,
  /* 113, 0x71 */  0x00, 0xFF, 0x66, 0x00,
  /* 114, 0x72 */  0xFF, 0xCC, 0x66, 0x00,
  /* 115, 0x73 */  0xCC, 0xCC, 0x66, 0x00,
  /* 116, 0x74 */  0x99, 0xCC, 0x66, 0x00,
  /* 117, 0x75 */  0x66, 0xCC, 0x66, 0x00,
  /* 118, 0x76 */  0x33, 0xCC, 0x66, 0x00,
  /* 119, 0x77 */  0x00, 0xCC, 0x66, 0x00,
  /* 120, 0x78 */  0xFF, 0x99, 0x66, 0x00,
  /* 121, 0x79 */  0xCC, 0x99, 0x66, 0x00,
  /* 122, 0x7A */  0x99, 0x99, 0x66, 0x00,
  /* 123, 0x7B */  0x66, 0x99, 0x66, 0x00,
  /* 124, 0x7C */  0x33, 0x99, 0x66, 0x00,
  /* 125, 0x7D */  0x00, 0x99, 0x66, 0x00,
  /* 126, 0x7E */  0xFF, 0x66, 0x66, 0x00,
  /* 127, 0x7F */  0xCC, 0x66, 0x66, 0x00,
  /* 128, 0x80 */  0x99, 0x66, 0x66, 0x00,
  /* 129, 0x81 */  0x66, 0x66, 0x66, 0x00,
  /* 130, 0x82 */  0x33, 0x66, 0x66, 0x00,
  /* 131, 0x83 */  0x00, 0x66, 0x66, 0x00,
  /* 132, 0x84 */  0xFF, 0x33, 0x66, 0x00,
  /* 133, 0x85 */  0xCC, 0x33, 0x66, 0x00,
  /* 134, 0x86 */  0x99, 0x33, 0x66, 0x00,
  /* 135, 0x87 */  0x66, 0x33, 0x66, 0x00,
  /* 136, 0x88 */  0x33, 0x33, 0x66, 0x00,
  /* 137, 0x89 */  0x00, 0x33, 0x66, 0x00,
  /* 138, 0x8A */  0xFF, 0x00, 0x66, 0x00,
  /* 139, 0x8B */  0xCC, 0x00, 0x66, 0x00,
  /* 140, 0x8C */  0x99, 0x00, 0x66, 0x00,
  /* 141, 0x8D */  0x66, 0x00, 0x66, 0x00,
  /* 142, 0x8E */  0x33, 0x00, 0x66, 0x00,
  /* 143, 0x8F */  0x00, 0x00, 0x66, 0x00,
  /* 144, 0x90 */  0xFF, 0xFF, 0x33, 0x00,
  /* 145, 0x91 */  0xCC, 0xFF, 0x33, 0x00,
  /* 146, 0x92 */  0x99, 0xFF, 0x33, 0x00,
  /* 147, 0x93 */  0x66, 0xFF, 0x33, 0x00,
  /* 148, 0x94 */  0x33, 0xFF, 0x33, 0x00,
  /* 149, 0x95 */  0x00, 0xFF, 0x33, 0x00,
  /* 150, 0x96 */  0xFF, 0xCC, 0x33, 0x00,
  /* 151, 0x97 */  0xCC, 0xCC, 0x33, 0x00,
  /* 152, 0x98 */  0x99, 0xCC, 0x33, 0x00,
  /* 153, 0x99 */  0x66, 0xCC, 0x33, 0x00,
  /* 154, 0x9A */  0x33, 0xCC, 0x33, 0x00,
  /* 155, 0x9B */  0x00, 0xCC, 0x33, 0x00,
  /* 156, 0x9C */  0xFF, 0x99, 0x33, 0x00,
  /* 157, 0x9D */  0xCC, 0x99, 0x33, 0x00,
  /* 158, 0x9E */  0x99, 0x99, 0x33, 0x00,
  /* 159, 0x9F */  0x66, 0x99, 0x33, 0x00,
  /* 160, 0xA0 */  0x33, 0x99, 0x33, 0x00,
  /* 161, 0xA1 */  0x00, 0x99, 0x33, 0x00,
  /* 162, 0xA2 */  0xFF, 0x66, 0x33, 0x00,
  /* 163, 0xA3 */  0xCC, 0x66, 0x33, 0x00,
  /* 164, 0xA4 */  0x99, 0x66, 0x33, 0x00,
  /* 165, 0xA5 */  0x66, 0x66, 0x33, 0x00,
  /* 166, 0xA6 */  0x33, 0x66, 0x33, 0x00,
  /* 167, 0xA7 */  0x00, 0x66, 0x33, 0x00,
  /* 168, 0xA8 */  0xFF, 0x33, 0x33, 0x00,
  /* 169, 0xA9 */  0xCC, 0x33, 0x33, 0x00,
  /* 170, 0xAA */  0x99, 0x33, 0x33, 0x00,
  /* 171, 0xAB */  0x66, 0x33, 0x33, 0x00,
  /* 172, 0xAC */  0x33, 0x33, 0x33, 0x00,
  /* 173, 0xAD */  0x00, 0x33, 0x33, 0x00,
  /* 174, 0xAE */  0xFF, 0x00, 0x33, 0x00,
  /* 175, 0xAF */  0xCC, 0x00, 0x33, 0x00,
  /* 176, 0xB0 */  0x99, 0x00, 0x33, 0x00,
  /* 177, 0xB1 */  0x66, 0x00, 0x33, 0x00,
  /* 178, 0xB2 */  0x33, 0x00, 0x33, 0x00,
  /* 179, 0xB3 */  0x00, 0x00, 0x33, 0x00,
  /* 180, 0xB4 */  0xFF, 0xFF, 0x00, 0x00,
  /* 181, 0xB5 */  0xCC, 0xFF, 0x00, 0x00,
  /* 182, 0xB6 */  0x99, 0xFF, 0x00, 0x00,
  /* 183, 0xB7 */  0x66, 0xFF, 0x00, 0x00,
  /* 184, 0xB8 */  0x33, 0xFF, 0x00, 0x00,
  /* 185, 0xB9 */  0x00, 0xFF, 0x00, 0x00,
  /* 186, 0xBA */  0xFF, 0xCC, 0x00, 0x00,
  /* 187, 0xBB */  0xCC, 0xCC, 0x00, 0x00,
  /* 188, 0xBC */  0x99, 0xCC, 0x00, 0x00,
  /* 189, 0xBD */  0x66, 0xCC, 0x00, 0x00,
  /* 190, 0xBE */  0x33, 0xCC, 0x00, 0x00,
  /* 191, 0xBF */  0x00, 0xCC, 0x00, 0x00,
  /* 192, 0xC0 */  0xFF, 0x99, 0x00, 0x00,
  /* 193, 0xC1 */  0xCC, 0x99, 0x00, 0x00,
  /* 194, 0xC2 */  0x99, 0x99, 0x00, 0x00,
  /* 195, 0xC3 */  0x66, 0x99, 0x00, 0x00,
  /* 196, 0xC4 */  0x33, 0x99, 0x00, 0x00,
  /* 197, 0xC5 */  0x00, 0x99, 0x00, 0x00,
  /* 198, 0xC6 */  0xFF, 0x66, 0x00, 0x00,
  /* 199, 0xC7 */  0xCC, 0x66, 0x00, 0x00,
  /* 200, 0xC8 */  0x99, 0x66, 0x00, 0x00,
  /* 201, 0xC9 */  0x66, 0x66, 0x00, 0x00,
  /* 202, 0xCA */  0x33, 0x66, 0x00, 0x00,
  /* 203, 0xCB */  0x00, 0x66, 0x00, 0x00,
  /* 204, 0xCC */  0xFF, 0x33, 0x00, 0x00,
  /* 205, 0xCD */  0xCC, 0x33, 0x00, 0x00,
  /* 206, 0xCE */  0x99, 0x33, 0x00, 0x00,
  /* 207, 0xCF */  0x66, 0x33, 0x00, 0x00,
  /* 208, 0xD0 */  0x33, 0x33, 0x00, 0x00,
  /* 209, 0xD1 */  0x00, 0x33, 0x00, 0x00,
  /* 210, 0xD2 */  0xFF, 0x00, 0x00, 0x00,
  /* 211, 0xD3 */  0xCC, 0x00, 0x00, 0x00,
  /* 212, 0xD4 */  0x99, 0x00, 0x00, 0x00,
  /* 213, 0xD5 */  0x66, 0x00, 0x00, 0x00,
  /* 214, 0xD6 */  0x33, 0x00, 0x00, 0x00,
  /* 215, 0xD7 */  0x00, 0x00, 0xEE, 0x00,
  /* 216, 0xD8 */  0x00, 0x00, 0xDD, 0x00,
  /* 217, 0xD9 */  0x00, 0x00, 0xBB, 0x00,
  /* 218, 0xDA */  0x00, 0x00, 0xAA, 0x00,
  /* 219, 0xDB */  0x00, 0x00, 0x88, 0x00,
  /* 220, 0xDC */  0x00, 0x00, 0x77, 0x00,
  /* 221, 0xDD */  0x00, 0x00, 0x55, 0x00,
  /* 222, 0xDE */  0x00, 0x00, 0x44, 0x00,
  /* 223, 0xDF */  0x00, 0x00, 0x22, 0x00,
  /* 224, 0xE0 */  0x00, 0x00, 0x11, 0x00,
  /* 225, 0xE1 */  0x00, 0xEE, 0x00, 0x00,
  /* 226, 0xE2 */  0x00, 0xDD, 0x00, 0x00,
  /* 227, 0xE3 */  0x00, 0xBB, 0x00, 0x00,
  /* 228, 0xE4 */  0x00, 0xAA, 0x00, 0x00,
  /* 229, 0xE5 */  0x00, 0x88, 0x00, 0x00,
  /* 230, 0xE6 */  0x00, 0x77, 0x00, 0x00,
  /* 231, 0xE7 */  0x00, 0x55, 0x00, 0x00,
  /* 232, 0xE8 */  0x00, 0x44, 0x00, 0x00,
  /* 233, 0xE9 */  0x00, 0x22, 0x00, 0x00,
  /* 234, 0xEA */  0x00, 0x11, 0x00, 0x00,
  /* 235, 0xEB */  0xEE, 0x00, 0x00, 0x00,
  /* 236, 0xEC */  0xDD, 0x00, 0x00, 0x00,
  /* 237, 0xED */  0xBB, 0x00, 0x00, 0x00,
  /* 238, 0xEE */  0xAA, 0x00, 0x00, 0x00,
  /* 239, 0xEF */  0x88, 0x00, 0x00, 0x00,
  /* 240, 0xF0 */  0x77, 0x00, 0x00, 0x00,
  /* 241, 0xF1 */  0x55, 0x00, 0x00, 0x00,
  /* 242, 0xF2 */  0x44, 0x00, 0x00, 0x00,
  /* 243, 0xF3 */  0x22, 0x00, 0x00, 0x00,
  /* 244, 0xF4 */  0x11, 0x00, 0x00, 0x00,
  /* 245, 0xF5 */  0xEE, 0xEE, 0xEE, 0x00,
  /* 246, 0xF6 */  0xDD, 0xDD, 0xDD, 0x00,
  /* 247, 0xF7 */  0xBB, 0xBB, 0xBB, 0x00,
  /* 248, 0xF8 */  0xAA, 0xAA, 0xAA, 0x00,
  /* 249, 0xF9 */  0x88, 0x88, 0x88, 0x00,
  /* 250, 0xFA */  0x77, 0x77, 0x77, 0x00,
  /* 251, 0xFB */  0x55, 0x55, 0x55, 0x00,
  /* 252, 0xFC */  0x44, 0x44, 0x44, 0x00,
  /* 253, 0xFD */  0x22, 0x22, 0x22, 0x00,
  /* 254, 0xFE */  0x11, 0x11, 0x11, 0x00,
  /* 255, 0xFF */  0x00, 0x00, 0x00, 0x00
};

static const unsigned char qt_default_grayscale_palette_16[16 * 4] = {
  0xFF, 0xFF, 0xFF, 0xFF,
  0xEE, 0xEE, 0xEE, 0xEE,
  0xDD, 0xDD, 0xDD, 0xDD,
  0xCC, 0xCC, 0xCC, 0xCC,
  0xBB, 0xBB, 0xBB, 0xBB,
  0xAA, 0xAA, 0xAA, 0xAA,
  0x99, 0x99, 0x99, 0x99,
  0x88, 0x88, 0x88, 0x88,
  0x77, 0x77, 0x77, 0x77,
  0x66, 0x66, 0x66, 0x66,
  0x55, 0x55, 0x55, 0x55,
  0x44, 0x44, 0x44, 0x44,
  0x33, 0x33, 0x33, 0x33,
  0x22, 0x22, 0x22, 0x22,
  0x11, 0x11, 0x11, 0x11,
  0x00, 0x00, 0x00, 0x00
};

static const unsigned char qt_default_grayscale_palette_256[256 * 4] = {
  /*   0, 0x00 */  0xFF, 0xFF, 0xFF, 0xFF,
  /*   1, 0x01 */  0xFE, 0xFE, 0xFE, 0xFE,
  /*   2, 0x02 */  0xFD, 0xFD, 0xFD, 0xFD,
  /*   3, 0x03 */  0xFC, 0xFC, 0xFC, 0xFC,
  /*   4, 0x04 */  0xFB, 0xFB, 0xFB, 0xFB,
  /*   5, 0x05 */  0xFA, 0xFA, 0xFA, 0xFA,
  /*   6, 0x06 */  0xF9, 0xF9, 0xF9, 0xF9,
  /*   7, 0x07 */  0xF8, 0xF8, 0xF8, 0xF8,
  /*   8, 0x08 */  0xF7, 0xF7, 0xF7, 0xF7,
  /*   9, 0x09 */  0xF6, 0xF6, 0xF6, 0xF6,
  /*  10, 0x0A */  0xF5, 0xF5, 0xF5, 0xF5,
  /*  11, 0x0B */  0xF4, 0xF4, 0xF4, 0xF4,
  /*  12, 0x0C */  0xF3, 0xF3, 0xF3, 0xF3,
  /*  13, 0x0D */  0xF2, 0xF2, 0xF2, 0xF2,
  /*  14, 0x0E */  0xF1, 0xF1, 0xF1, 0xF1,
  /*  15, 0x0F */  0xF0, 0xF0, 0xF0, 0xF0,
  /*  16, 0x10 */  0xEF, 0xEF, 0xEF, 0xEF,
  /*  17, 0x11 */  0xEE, 0xEE, 0xEE, 0xEE,
  /*  18, 0x12 */  0xED, 0xED, 0xED, 0xED,
  /*  19, 0x13 */  0xEC, 0xEC, 0xEC, 0xEC,
  /*  20, 0x14 */  0xEB, 0xEB, 0xEB, 0xEB,
  /*  21, 0x15 */  0xEA, 0xEA, 0xEA, 0xEA,
  /*  22, 0x16 */  0xE9, 0xE9, 0xE9, 0xE9,
  /*  23, 0x17 */  0xE8, 0xE8, 0xE8, 0xE8,
  /*  24, 0x18 */  0xE7, 0xE7, 0xE7, 0xE7,
  /*  25, 0x19 */  0xE6, 0xE6, 0xE6, 0xE6,
  /*  26, 0x1A */  0xE5, 0xE5, 0xE5, 0xE5,
  /*  27, 0x1B */  0xE4, 0xE4, 0xE4, 0xE4,
  /*  28, 0x1C */  0xE3, 0xE3, 0xE3, 0xE3,
  /*  29, 0x1D */  0xE2, 0xE2, 0xE2, 0xE2,
  /*  30, 0x1E */  0xE1, 0xE1, 0xE1, 0xE1,
  /*  31, 0x1F */  0xE0, 0xE0, 0xE0, 0xE0,
  /*  32, 0x20 */  0xDF, 0xDF, 0xDF, 0xDF,
  /*  33, 0x21 */  0xDE, 0xDE, 0xDE, 0xDE,
  /*  34, 0x22 */  0xDD, 0xDD, 0xDD, 0xDD,
  /*  35, 0x23 */  0xDC, 0xDC, 0xDC, 0xDC,
  /*  36, 0x24 */  0xDB, 0xDB, 0xDB, 0xDB,
  /*  37, 0x25 */  0xDA, 0xDA, 0xDA, 0xDA,
  /*  38, 0x26 */  0xD9, 0xD9, 0xD9, 0xD9,
  /*  39, 0x27 */  0xD8, 0xD8, 0xD8, 0xD8,
  /*  40, 0x28 */  0xD7, 0xD7, 0xD7, 0xD7,
  /*  41, 0x29 */  0xD6, 0xD6, 0xD6, 0xD6,
  /*  42, 0x2A */  0xD5, 0xD5, 0xD5, 0xD5,
  /*  43, 0x2B */  0xD4, 0xD4, 0xD4, 0xD4,
  /*  44, 0x2C */  0xD3, 0xD3, 0xD3, 0xD3,
  /*  45, 0x2D */  0xD2, 0xD2, 0xD2, 0xD2,
  /*  46, 0x2E */  0xD1, 0xD1, 0xD1, 0xD1,
  /*  47, 0x2F */  0xD0, 0xD0, 0xD0, 0xD0,
  /*  48, 0x30 */  0xCF, 0xCF, 0xCF, 0xCF,
  /*  49, 0x31 */  0xCE, 0xCE, 0xCE, 0xCE,
  /*  50, 0x32 */  0xCD, 0xCD, 0xCD, 0xCD,
  /*  51, 0x33 */  0xCC, 0xCC, 0xCC, 0xCC,
  /*  52, 0x34 */  0xCB, 0xCB, 0xCB, 0xCB,
  /*  53, 0x35 */  0xCA, 0xCA, 0xCA, 0xCA,
  /*  54, 0x36 */  0xC9, 0xC9, 0xC9, 0xC9,
  /*  55, 0x37 */  0xC8, 0xC8, 0xC8, 0xC8,
  /*  56, 0x38 */  0xC7, 0xC7, 0xC7, 0xC7,
  /*  57, 0x39 */  0xC6, 0xC6, 0xC6, 0xC6,
  /*  58, 0x3A */  0xC5, 0xC5, 0xC5, 0xC5,
  /*  59, 0x3B */  0xC4, 0xC4, 0xC4, 0xC4,
  /*  60, 0x3C */  0xC3, 0xC3, 0xC3, 0xC3,
  /*  61, 0x3D */  0xC2, 0xC2, 0xC2, 0xC2,
  /*  62, 0x3E */  0xC1, 0xC1, 0xC1, 0xC1,
  /*  63, 0x3F */  0xC0, 0xC0, 0xC0, 0xC0,
  /*  64, 0x40 */  0xBF, 0xBF, 0xBF, 0xBF,
  /*  65, 0x41 */  0xBE, 0xBE, 0xBE, 0xBE,
  /*  66, 0x42 */  0xBD, 0xBD, 0xBD, 0xBD,
  /*  67, 0x43 */  0xBC, 0xBC, 0xBC, 0xBC,
  /*  68, 0x44 */  0xBB, 0xBB, 0xBB, 0xBB,
  /*  69, 0x45 */  0xBA, 0xBA, 0xBA, 0xBA,
  /*  70, 0x46 */  0xB9, 0xB9, 0xB9, 0xB9,
  /*  71, 0x47 */  0xB8, 0xB8, 0xB8, 0xB8,
  /*  72, 0x48 */  0xB7, 0xB7, 0xB7, 0xB7,
  /*  73, 0x49 */  0xB6, 0xB6, 0xB6, 0xB6,
  /*  74, 0x4A */  0xB5, 0xB5, 0xB5, 0xB5,
  /*  75, 0x4B */  0xB4, 0xB4, 0xB4, 0xB4,
  /*  76, 0x4C */  0xB3, 0xB3, 0xB3, 0xB3,
  /*  77, 0x4D */  0xB2, 0xB2, 0xB2, 0xB2,
  /*  78, 0x4E */  0xB1, 0xB1, 0xB1, 0xB1,
  /*  79, 0x4F */  0xB0, 0xB0, 0xB0, 0xB0,
  /*  80, 0x50 */  0xAF, 0xAF, 0xAF, 0xAF,
  /*  81, 0x51 */  0xAE, 0xAE, 0xAE, 0xAE,
  /*  82, 0x52 */  0xAD, 0xAD, 0xAD, 0xAD,
  /*  83, 0x53 */  0xAC, 0xAC, 0xAC, 0xAC,
  /*  84, 0x54 */  0xAB, 0xAB, 0xAB, 0xAB,
  /*  85, 0x55 */  0xAA, 0xAA, 0xAA, 0xAA,
  /*  86, 0x56 */  0xA9, 0xA9, 0xA9, 0xA9,
  /*  87, 0x57 */  0xA8, 0xA8, 0xA8, 0xA8,
  /*  88, 0x58 */  0xA7, 0xA7, 0xA7, 0xA7,
  /*  89, 0x59 */  0xA6, 0xA6, 0xA6, 0xA6,
  /*  90, 0x5A */  0xA5, 0xA5, 0xA5, 0xA5,
  /*  91, 0x5B */  0xA4, 0xA4, 0xA4, 0xA4,
  /*  92, 0x5C */  0xA3, 0xA3, 0xA3, 0xA3,
  /*  93, 0x5D */  0xA2, 0xA2, 0xA2, 0xA2,
  /*  94, 0x5E */  0xA1, 0xA1, 0xA1, 0xA1,
  /*  95, 0x5F */  0xA0, 0xA0, 0xA0, 0xA0,
  /*  96, 0x60 */  0x9F, 0x9F, 0x9F, 0x9F,
  /*  97, 0x61 */  0x9E, 0x9E, 0x9E, 0x9E,
  /*  98, 0x62 */  0x9D, 0x9D, 0x9D, 0x9D,
  /*  99, 0x63 */  0x9C, 0x9C, 0x9C, 0x9C,
  /* 100, 0x64 */  0x9B, 0x9B, 0x9B, 0x9B,
  /* 101, 0x65 */  0x9A, 0x9A, 0x9A, 0x9A,
  /* 102, 0x66 */  0x99, 0x99, 0x99, 0x99,
  /* 103, 0x67 */  0x98, 0x98, 0x98, 0x98,
  /* 104, 0x68 */  0x97, 0x97, 0x97, 0x97,
  /* 105, 0x69 */  0x96, 0x96, 0x96, 0x96,
  /* 106, 0x6A */  0x95, 0x95, 0x95, 0x95,
  /* 107, 0x6B */  0x94, 0x94, 0x94, 0x94,
  /* 108, 0x6C */  0x93, 0x93, 0x93, 0x93,
  /* 109, 0x6D */  0x92, 0x92, 0x92, 0x92,
  /* 110, 0x6E */  0x91, 0x91, 0x91, 0x91,
  /* 111, 0x6F */  0x90, 0x90, 0x90, 0x90,
  /* 112, 0x70 */  0x8F, 0x8F, 0x8F, 0x8F,
  /* 113, 0x71 */  0x8E, 0x8E, 0x8E, 0x8E,
  /* 114, 0x72 */  0x8D, 0x8D, 0x8D, 0x8D,
  /* 115, 0x73 */  0x8C, 0x8C, 0x8C, 0x8C,
  /* 116, 0x74 */  0x8B, 0x8B, 0x8B, 0x8B,
  /* 117, 0x75 */  0x8A, 0x8A, 0x8A, 0x8A,
  /* 118, 0x76 */  0x89, 0x89, 0x89, 0x89,
  /* 119, 0x77 */  0x88, 0x88, 0x88, 0x88,
  /* 120, 0x78 */  0x87, 0x87, 0x87, 0x87,
  /* 121, 0x79 */  0x86, 0x86, 0x86, 0x86,
  /* 122, 0x7A */  0x85, 0x85, 0x85, 0x85,
  /* 123, 0x7B */  0x84, 0x84, 0x84, 0x84,
  /* 124, 0x7C */  0x83, 0x83, 0x83, 0x83,
  /* 125, 0x7D */  0x82, 0x82, 0x82, 0x82,
  /* 126, 0x7E */  0x81, 0x81, 0x81, 0x81,
  /* 127, 0x7F */  0x80, 0x80, 0x80, 0x80,
  /* 128, 0x80 */  0x7F, 0x7F, 0x7F, 0x7F,
  /* 129, 0x81 */  0x7E, 0x7E, 0x7E, 0x7E,
  /* 130, 0x82 */  0x7D, 0x7D, 0x7D, 0x7D,
  /* 131, 0x83 */  0x7C, 0x7C, 0x7C, 0x7C,
  /* 132, 0x84 */  0x7B, 0x7B, 0x7B, 0x7B,
  /* 133, 0x85 */  0x7A, 0x7A, 0x7A, 0x7A,
  /* 134, 0x86 */  0x79, 0x79, 0x79, 0x79,
  /* 135, 0x87 */  0x78, 0x78, 0x78, 0x78,
  /* 136, 0x88 */  0x77, 0x77, 0x77, 0x77,
  /* 137, 0x89 */  0x76, 0x76, 0x76, 0x76,
  /* 138, 0x8A */  0x75, 0x75, 0x75, 0x75,
  /* 139, 0x8B */  0x74, 0x74, 0x74, 0x74,
  /* 140, 0x8C */  0x73, 0x73, 0x73, 0x73,
  /* 141, 0x8D */  0x72, 0x72, 0x72, 0x72,
  /* 142, 0x8E */  0x71, 0x71, 0x71, 0x71,
  /* 143, 0x8F */  0x70, 0x70, 0x70, 0x70,
  /* 144, 0x90 */  0x6F, 0x6F, 0x6F, 0x6F,
  /* 145, 0x91 */  0x6E, 0x6E, 0x6E, 0x6E,
  /* 146, 0x92 */  0x6D, 0x6D, 0x6D, 0x6D,
  /* 147, 0x93 */  0x6C, 0x6C, 0x6C, 0x6C,
  /* 148, 0x94 */  0x6B, 0x6B, 0x6B, 0x6B,
  /* 149, 0x95 */  0x6A, 0x6A, 0x6A, 0x6A,
  /* 150, 0x96 */  0x69, 0x69, 0x69, 0x69,
  /* 151, 0x97 */  0x68, 0x68, 0x68, 0x68,
  /* 152, 0x98 */  0x67, 0x67, 0x67, 0x67,
  /* 153, 0x99 */  0x66, 0x66, 0x66, 0x66,
  /* 154, 0x9A */  0x65, 0x65, 0x65, 0x65,
  /* 155, 0x9B */  0x64, 0x64, 0x64, 0x64,
  /* 156, 0x9C */  0x63, 0x63, 0x63, 0x63,
  /* 157, 0x9D */  0x62, 0x62, 0x62, 0x62,
  /* 158, 0x9E */  0x61, 0x61, 0x61, 0x61,
  /* 159, 0x9F */  0x60, 0x60, 0x60, 0x60,
  /* 160, 0xA0 */  0x5F, 0x5F, 0x5F, 0x5F,
  /* 161, 0xA1 */  0x5E, 0x5E, 0x5E, 0x5E,
  /* 162, 0xA2 */  0x5D, 0x5D, 0x5D, 0x5D,
  /* 163, 0xA3 */  0x5C, 0x5C, 0x5C, 0x5C,
  /* 164, 0xA4 */  0x5B, 0x5B, 0x5B, 0x5B,
  /* 165, 0xA5 */  0x5A, 0x5A, 0x5A, 0x5A,
  /* 166, 0xA6 */  0x59, 0x59, 0x59, 0x59,
  /* 167, 0xA7 */  0x58, 0x58, 0x58, 0x58,
  /* 168, 0xA8 */  0x57, 0x57, 0x57, 0x57,
  /* 169, 0xA9 */  0x56, 0x56, 0x56, 0x56,
  /* 170, 0xAA */  0x55, 0x55, 0x55, 0x55,
  /* 171, 0xAB */  0x54, 0x54, 0x54, 0x54,
  /* 172, 0xAC */  0x53, 0x53, 0x53, 0x53,
  /* 173, 0xAD */  0x52, 0x52, 0x52, 0x52,
  /* 174, 0xAE */  0x51, 0x51, 0x51, 0x51,
  /* 175, 0xAF */  0x50, 0x50, 0x50, 0x50,
  /* 176, 0xB0 */  0x4F, 0x4F, 0x4F, 0x4F,
  /* 177, 0xB1 */  0x4E, 0x4E, 0x4E, 0x4E,
  /* 178, 0xB2 */  0x4D, 0x4D, 0x4D, 0x4D,
  /* 179, 0xB3 */  0x4C, 0x4C, 0x4C, 0x4C,
  /* 180, 0xB4 */  0x4B, 0x4B, 0x4B, 0x4B,
  /* 181, 0xB5 */  0x4A, 0x4A, 0x4A, 0x4A,
  /* 182, 0xB6 */  0x49, 0x49, 0x49, 0x49,
  /* 183, 0xB7 */  0x48, 0x48, 0x48, 0x48,
  /* 184, 0xB8 */  0x47, 0x47, 0x47, 0x47,
  /* 185, 0xB9 */  0x46, 0x46, 0x46, 0x46,
  /* 186, 0xBA */  0x45, 0x45, 0x45, 0x45,
  /* 187, 0xBB */  0x44, 0x44, 0x44, 0x44,
  /* 188, 0xBC */  0x43, 0x43, 0x43, 0x43,
  /* 189, 0xBD */  0x42, 0x42, 0x42, 0x42,
  /* 190, 0xBE */  0x41, 0x41, 0x41, 0x41,
  /* 191, 0xBF */  0x40, 0x40, 0x40, 0x40,
  /* 192, 0xC0 */  0x3F, 0x3F, 0x3F, 0x3F,
  /* 193, 0xC1 */  0x3E, 0x3E, 0x3E, 0x3E,
  /* 194, 0xC2 */  0x3D, 0x3D, 0x3D, 0x3D,
  /* 195, 0xC3 */  0x3C, 0x3C, 0x3C, 0x3C,
  /* 196, 0xC4 */  0x3B, 0x3B, 0x3B, 0x3B,
  /* 197, 0xC5 */  0x3A, 0x3A, 0x3A, 0x3A,
  /* 198, 0xC6 */  0x39, 0x39, 0x39, 0x39,
  /* 199, 0xC7 */  0x38, 0x38, 0x38, 0x38,
  /* 200, 0xC8 */  0x37, 0x37, 0x37, 0x37,
  /* 201, 0xC9 */  0x36, 0x36, 0x36, 0x36,
  /* 202, 0xCA */  0x35, 0x35, 0x35, 0x35,
  /* 203, 0xCB */  0x34, 0x34, 0x34, 0x34,
  /* 204, 0xCC */  0x33, 0x33, 0x33, 0x33,
  /* 205, 0xCD */  0x32, 0x32, 0x32, 0x32,
  /* 206, 0xCE */  0x31, 0x31, 0x31, 0x31,
  /* 207, 0xCF */  0x30, 0x30, 0x30, 0x30,
  /* 208, 0xD0 */  0x2F, 0x2F, 0x2F, 0x2F,
  /* 209, 0xD1 */  0x2E, 0x2E, 0x2E, 0x2E,
  /* 210, 0xD2 */  0x2D, 0x2D, 0x2D, 0x2D,
  /* 211, 0xD3 */  0x2C, 0x2C, 0x2C, 0x2C,
  /* 212, 0xD4 */  0x2B, 0x2B, 0x2B, 0x2B,
  /* 213, 0xD5 */  0x2A, 0x2A, 0x2A, 0x2A,
  /* 214, 0xD6 */  0x29, 0x29, 0x29, 0x29,
  /* 215, 0xD7 */  0x28, 0x28, 0x28, 0x28,
  /* 216, 0xD8 */  0x27, 0x27, 0x27, 0x27,
  /* 217, 0xD9 */  0x26, 0x26, 0x26, 0x26,
  /* 218, 0xDA */  0x25, 0x25, 0x25, 0x25,
  /* 219, 0xDB */  0x24, 0x24, 0x24, 0x24,
  /* 220, 0xDC */  0x23, 0x23, 0x23, 0x23,
  /* 221, 0xDD */  0x22, 0x22, 0x22, 0x22,
  /* 222, 0xDE */  0x21, 0x21, 0x21, 0x21,
  /* 223, 0xDF */  0x20, 0x20, 0x20, 0x20,
  /* 224, 0xE0 */  0x1F, 0x1F, 0x1F, 0x1F,
  /* 225, 0xE1 */  0x1E, 0x1E, 0x1E, 0x1E,
  /* 226, 0xE2 */  0x1D, 0x1D, 0x1D, 0x1D,
  /* 227, 0xE3 */  0x1C, 0x1C, 0x1C, 0x1C,
  /* 228, 0xE4 */  0x1B, 0x1B, 0x1B, 0x1B,
  /* 229, 0xE5 */  0x1A, 0x1A, 0x1A, 0x1A,
  /* 230, 0xE6 */  0x19, 0x19, 0x19, 0x19,
  /* 231, 0xE7 */  0x18, 0x18, 0x18, 0x18,
  /* 232, 0xE8 */  0x17, 0x17, 0x17, 0x17,
  /* 233, 0xE9 */  0x16, 0x16, 0x16, 0x16,
  /* 234, 0xEA */  0x15, 0x15, 0x15, 0x15,
  /* 235, 0xEB */  0x14, 0x14, 0x14, 0x14,
  /* 236, 0xEC */  0x13, 0x13, 0x13, 0x13,
  /* 237, 0xED */  0x12, 0x12, 0x12, 0x12,
  /* 238, 0xEE */  0x11, 0x11, 0x11, 0x11,
  /* 239, 0xEF */  0x10, 0x10, 0x10, 0x10,
  /* 240, 0xF0 */  0x0F, 0x0F, 0x0F, 0x0F,
  /* 241, 0xF1 */  0x0E, 0x0E, 0x0E, 0x0E,
  /* 242, 0xF2 */  0x0D, 0x0D, 0x0D, 0x0D,
  /* 243, 0xF3 */  0x0C, 0x0C, 0x0C, 0x0C,
  /* 244, 0xF4 */  0x0B, 0x0B, 0x0B, 0x0B,
  /* 245, 0xF5 */  0x0A, 0x0A, 0x0A, 0x0A,
  /* 246, 0xF6 */  0x09, 0x09, 0x09, 0x09,
  /* 247, 0xF7 */  0x08, 0x08, 0x08, 0x08,
  /* 248, 0xF8 */  0x07, 0x07, 0x07, 0x07,
  /* 249, 0xF9 */  0x06, 0x06, 0x06, 0x06,
  /* 250, 0xFA */  0x05, 0x05, 0x05, 0x05,
  /* 251, 0xFB */  0x04, 0x04, 0x04, 0x04,
  /* 252, 0xFC */  0x03, 0x03, 0x03, 0x03,
  /* 253, 0xFD */  0x02, 0x02, 0x02, 0x02,
  /* 254, 0xFE */  0x01, 0x01, 0x01, 0x01,
  /* 255, 0xFF */  0x00, 0x00, 0x00, 0x00
};

#endif /* MPLAYER_QTPALETTE_H */