Home
last modified time | relevance | path

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

/external/libpng/contrib/libtests/
Dpngvalid.c7882 unsigned int sbit_max; member
7926 vi->sbit_max = (1U << vi->sbit)-1; in init_validate_info()
8074 PNG_CONST unsigned int sbit_max = vi->sbit_max; in gamma_component_validate() local
8084 i = isbit; i /= sbit_max; in gamma_component_validate()
8348 double tmp = (isbit - SBIT_ERROR)/sbit_max; in gamma_component_validate()
8367 tmp = (isbit + SBIT_ERROR)/sbit_max; in gamma_component_validate()
8510 pos = safecatn(msg, sizeof msg, pos, vi->sbit_max); in gamma_component_validate()
8776 alpha /= vi.sbit_max; in gamma_image_validate()