Searched refs:sBIT (Results 1 - 3 of 3) sorted by relevance

/external/libpng/tests/
H A Dpngunknown-sAPI2 exec ./pngunknown bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save "${srcdir}/pngtest.png"
/external/libpng/contrib/libtests/
H A Dpngimage.c50 * significant in a PNG with the sBIT chunk.
160 T(SHIFT, sBIT, X, X, ALL, RW_SHIFT),
161 /* reduces component values to the original range based on the sBIT chunk,
1021 png_color_8p sBIT; local
1023 if (png_get_sBIT(dp->read_pp, dp->read_ip, &sBIT) != PNG_INFO_sBIT)
1025 "active shift transform but no sBIT in file");
1030 sig_bits[0] = sBIT->gray;
1035 sig_bits[0] = sBIT->gray;
1036 sig_bits[1] = sBIT->alpha;
1041 sig_bits[0] = sBIT
[all...]
H A Dpngvalid.c2932 "unexpected colour type in sBIT modification");
2945 /* Remove the sBIT chunk */
2984 * Files are stored with no gAMA or sBIT chunks, with a PLTE only when needed
3960 /* Now we know the bit depth we can easily generate an invalid sBIT entry */
3974 { sBIT0_error_fn, "sBIT(0): failed to detect error", 1 },
3975 { sBIT_error_fn, "sBIT(too big): failed to detect error", 1 },
4245 png_byte red_sBIT; /* Input data sBIT values. */
4506 /* Record (but don't check at present) the input sBIT according to the colour
4510 png_color_8p sBIT = 0; local
4512 if (png_get_sBIT(pp, pi, &sBIT)
[all...]

Completed in 351 milliseconds