Home | History | Annotate | Download | only in libpng

Lines Matching full:nparams

2156    png_byte type, nparams;
2214 png_debug(3, "Reading pCAL X0, X1, type, nparams, and units");
2218 nparams = buf[10];
2225 if ((type == PNG_EQUATION_LINEAR && nparams != 2) ||
2226 (type == PNG_EQUATION_BASE_E && nparams != 3) ||
2227 (type == PNG_EQUATION_ARBITRARY && nparams != 3) ||
2228 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4))
2245 nparams * (sizeof (png_charp))));
2254 for (i = 0; i < nparams; i++)
2272 png_set_pCAL(png_ptr, info_ptr, (png_charp)buffer, X0, X1, type, nparams,