Lines Matching refs:sbit
3425 png_byte sbit; member
3431 png_byte sbit = ((sbit_modification*)me)->sbit; in sbit_modify() local
3432 if (pm->bit_depth > sbit) in sbit_modify()
3463 (pm->buffer+8)[--cb] = sbit; in sbit_modify()
3478 sbit_modification_init(sbit_modification *me, png_modifier *pm, png_byte sbit) in sbit_modification_init() argument
3484 me->sbit = sbit; in sbit_modification_init()
9217 png_byte sbit; member
9235 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test, in gamma_display_init() argument
9249 dp->sbit = sbit; in gamma_display_init()
9398 png_byte sbit; member
9434 if (dp->sbit > 0 && dp->sbit < in_depth) in init_validate_info()
9436 vi->sbit = dp->sbit; in init_validate_info()
9437 vi->isbit_shift = in_depth - dp->sbit; in init_validate_info()
9442 vi->sbit = (png_byte)in_depth; in init_validate_info()
9446 vi->sbit_max = (1U << vi->sbit)-1; in init_validate_info()
9852 if (pass == 0 && vi->use_input_precision && vi->dp->sbit) in gamma_component_validate()
9932 if (pass == 0 && alpha < 0 && vi->scale16 && vi->sbit > 8 && in gamma_component_validate()
9933 vi->sbit + vi->isbit_shift == 16) in gamma_component_validate()
10026 pos = safecatn(msg, sizeof msg, pos, vi->sbit); in gamma_component_validate()
10437 if (d.sbit > 0) in gamma_test()
10438 sbit_modification_init(&sbit_mod, d.pm, d.sbit); in gamma_test()
10613 const double screen_gamma, const png_byte sbit, in gamma_transform_test() argument
10619 if (sbit != bit_depth && sbit != 0) in gamma_transform_test()
10622 pos = safecatn(name, sizeof name, pos, sbit); in gamma_transform_test()
10637 file_gamma, screen_gamma, sbit, 0, name, use_input_precision, in gamma_transform_test()
10667 png_byte sbit; in perform_gamma_sbit_tests() local
10673 for (sbit=pm->sbitlow; sbit<(1<<READ_BDHI); ++sbit) in perform_gamma_sbit_tests()
10681 ((colour_type == 3 && sbit < 8) || in perform_gamma_sbit_tests()
10682 (colour_type != 3 && sbit < bit_depth))) in perform_gamma_sbit_tests()
10694 sbit, pm->use_input_precision_sbit, 0 /*scale16*/); in perform_gamma_sbit_tests()