Home
last modified time | relevance | path

Searched refs:test_pixel (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/libtests/
Dpngvalid.c6617 image_pixel test_pixel; in transform_info_imp() local
6619 memset(&test_pixel, 0, sizeof test_pixel); in transform_info_imp()
6620 test_pixel.colour_type = dp->this.colour_type; /* input */ in transform_info_imp()
6621 test_pixel.bit_depth = dp->this.bit_depth; in transform_info_imp()
6622 if (test_pixel.colour_type == PNG_COLOR_TYPE_PALETTE) in transform_info_imp()
6623 test_pixel.sample_depth = 8; in transform_info_imp()
6625 test_pixel.sample_depth = test_pixel.bit_depth; in transform_info_imp()
6629 test_pixel.have_tRNS = dp->this.is_transparent != 0; in transform_info_imp()
6630 test_pixel.red_sBIT = test_pixel.green_sBIT = test_pixel.blue_sBIT = in transform_info_imp()
6631 test_pixel.alpha_sBIT = test_pixel.sample_depth; in transform_info_imp()
[all …]
/external/libpng/
DCHANGES3706 Fixed FP division by zero in pngvalid.c; the 'test_pixel' code left