|
fukasawa |
e60969 |
/* contrib/libtests/pngstest-errors.h
|
|
fukasawa |
e60969 |
*
|
|
fukasawa |
e60969 |
* BUILT USING: libpng version 1.6.19beta03 - September 25, 2015
|
|
fukasawa |
e60969 |
*
|
|
fukasawa |
e60969 |
* This code is released under the libpng license.
|
|
fukasawa |
e60969 |
* For conditions of distribution and use, see the disclaimer
|
|
fukasawa |
e60969 |
* and license in png.h
|
|
fukasawa |
e60969 |
*
|
|
fukasawa |
e60969 |
* THIS IS A MACHINE GENERATED FILE: do not edit it directly!
|
|
fukasawa |
e60969 |
* Instead run:
|
|
fukasawa |
e60969 |
*
|
|
fukasawa |
e60969 |
* pngstest --accumulate
|
|
fukasawa |
e60969 |
*
|
|
fukasawa |
e60969 |
* on as many PNG files as possible; at least PNGSuite and
|
|
fukasawa |
e60969 |
* contrib/libtests/testpngs.
|
|
fukasawa |
e60969 |
*/
|
|
fukasawa |
e60969 |
static png_uint_16 gpc_error[16/*in*/][16/*out*/][4/*a*/] =
|
|
fukasawa |
e60969 |
{
|
|
fukasawa |
e60969 |
{ /* input: sRGB-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 372, 0 }, { 0, 0, 372, 0 }, { 0, 0, 372, 0 }, { 0, 0, 372, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 19, 0, 0 }, { 0, 0, 0, 0 }, { 0, 20, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 897, 788, 0 }, { 0, 897, 788, 0 }, { 0, 897, 788, 0 }, { 0, 897, 788, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 19, 0 }, { 0, 0, 19, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 893, 0 }, { 0, 0, 893, 0 }, { 0, 0, 811, 0 }, { 0, 0, 811, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 16, 17, 0 }, { 0, 17, 17, 0 }, { 0, 19, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 850, 875, 0 }, { 0, 850, 875, 0 }, { 0, 897, 788, 0 }, { 0, 897, 788, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 9, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 74, 9, 0 }, { 0, 20, 9, 0 }, { 0, 74, 9, 0 }, { 0, 20, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 1, 0, 0 }, { 0, 0, 0, 0 }, { 0, 1, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 9, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 4, 0 }, { 0, 0, 4, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 126, 143, 0 }, { 0, 11, 7, 0 }, { 0, 74, 9, 0 }, { 0, 17, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 4, 4, 0 }, { 0, 5, 4, 0 }, { 0, 0, 0, 0 }, { 0, 1, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 13, 0 }, { 0, 0, 13, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 673, 0 }, { 0, 0, 673, 0 }, { 0, 0, 674, 0 }, { 0, 0, 674, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 1, 0 }, { 0, 0, 1, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 460, 0 }, { 0, 0, 460, 0 }, { 0, 0, 263, 0 }, { 0, 0, 263, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 6, 8, 0 }, { 0, 7, 8, 0 }, { 0, 75, 9, 0 }, { 0, 9, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 585, 427, 0 }, { 0, 585, 427, 0 }, { 0, 717, 514, 0 }, { 0, 717, 514, 0 },
|
|
fukasawa |
e60969 |
{ 0, 1, 1, 0 }, { 0, 1, 1, 0 }, { 0, 1, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 13323, 460, 0 }, { 0, 427, 460, 0 }, { 0, 16480, 263, 0 }, { 0, 243, 263, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 282, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 253, 282, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 265, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 243, 265, 0 }
|
|
fukasawa |
e60969 |
}
|
|
fukasawa |
e60969 |
};
|
|
fukasawa |
e60969 |
static png_uint_16 gpc_error_via_linear[16][4/*out*/][4] =
|
|
fukasawa |
e60969 |
{
|
|
fukasawa |
e60969 |
{ /* input: sRGB-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 7, 0 }, { 0, 0, 7, 0 }, { 0, 0, 7, 0 }, { 0, 0, 7, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 15, 15, 0 }, { 0, 186, 15, 0 }, { 0, 15, 15, 0 }, { 0, 186, 15, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 20, 0 }, { 0, 0, 20, 0 }, { 0, 0, 15, 0 }, { 0, 0, 15, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 16, 17, 0 }, { 0, 187, 17, 0 }, { 0, 15, 15, 0 }, { 0, 186, 15, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 1, 0 }, { 0, 0, 1, 0 }, { 0, 0, 1, 0 }, { 0, 0, 1, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 1, 1, 0 }, { 0, 1, 1, 0 }, { 0, 1, 1, 0 }, { 0, 1, 1, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 1, 0 }, { 0, 0, 1, 0 }, { 0, 0, 1, 0 }, { 0, 0, 1, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 1, 1, 0 }, { 0, 9, 1, 0 }, { 0, 1, 1, 0 }, { 0, 1, 1, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 13, 0 }, { 0, 0, 13, 0 }, { 0, 0, 14, 0 }, { 0, 0, 14, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-sRGB-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 4, 8, 0 }, { 0, 9, 8, 0 }, { 0, 9, 5, 0 }, { 0, 32, 5, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: color-mapped-linear-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 }
|
|
fukasawa |
e60969 |
}
|
|
fukasawa |
e60969 |
};
|
|
fukasawa |
e60969 |
static png_uint_16 gpc_error_to_colormap[8/*i*/][8/*o*/][4] =
|
|
fukasawa |
e60969 |
{
|
|
fukasawa |
e60969 |
{ /* input: sRGB-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 9, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 }, { 0, 0, 9, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 560, 0 }, { 0, 0, 560, 0 }, { 0, 0, 560, 0 }, { 0, 0, 560, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 19, 9, 0 }, { 0, 255, 9, 25 }, { 0, 88, 9, 0 }, { 0, 255, 9, 25 },
|
|
fukasawa |
e60969 |
{ 0, 1012, 928, 0 }, { 0, 16026, 928, 6425 }, { 0, 1012, 928, 0 }, { 0, 16026, 928, 6425 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 19, 0 }, { 0, 0, 19, 0 }, { 0, 0, 25, 0 }, { 0, 0, 25, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 962, 0 }, { 0, 0, 962, 0 }, { 0, 0, 13677, 0 }, { 0, 0, 13677, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: sRGB-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 63, 77, 0 }, { 0, 255, 19, 25 }, { 0, 225, 25, 0 }, { 0, 255, 25, 67 },
|
|
fukasawa |
e60969 |
{ 0, 17534, 18491, 0 }, { 0, 15736, 2824, 6425 }, { 0, 14019, 13677, 0 }, { 0, 50115, 13677, 17219 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-gray */
|
|
fukasawa |
e60969 |
{ 0, 0, 73, 0 }, { 0, 0, 73, 0 }, { 0, 0, 73, 0 }, { 0, 0, 73, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 18817, 0 }, { 0, 0, 18817, 0 }, { 0, 0, 18817, 0 }, { 0, 0, 18817, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-gray+alpha */
|
|
fukasawa |
e60969 |
{ 0, 74, 74, 0 }, { 0, 255, 74, 25 }, { 0, 99, 74, 0 }, { 0, 255, 74, 25 },
|
|
fukasawa |
e60969 |
{ 0, 18919, 18907, 0 }, { 0, 24549, 18907, 6553 }, { 0, 18919, 18907, 0 }, { 0, 24549, 18907, 6553 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-rgb */
|
|
fukasawa |
e60969 |
{ 0, 0, 73, 0 }, { 0, 0, 73, 0 }, { 0, 0, 98, 0 }, { 0, 0, 98, 0 },
|
|
fukasawa |
e60969 |
{ 0, 0, 18664, 0 }, { 0, 0, 18664, 0 }, { 0, 0, 24998, 0 }, { 0, 0, 24998, 0 }
|
|
fukasawa |
e60969 |
}, { /* input: linear-rgb+alpha */
|
|
fukasawa |
e60969 |
{ 0, 181, 196, 0 }, { 0, 255, 61, 25 }, { 206, 187, 98, 0 }, { 0, 255, 98, 67 },
|
|
fukasawa |
e60969 |
{ 0, 18141, 18137, 0 }, { 0, 17494, 17504, 6553 }, { 0, 24979, 24992, 0 }, { 0, 49172, 24992, 17347 }
|
|
fukasawa |
e60969 |
}
|
|
fukasawa |
e60969 |
};
|
|
fukasawa |
e60969 |
/* END MACHINE GENERATED */
|