Lines Matching refs:nparams
1677 png_byte type, nparams;
1737 png_debug(3, "Reading pCAL X0, X1, type, nparams, and units");
1741 nparams = buf[10];
1747 if ((type == PNG_EQUATION_LINEAR && nparams != 2) ||
1748 (type == PNG_EQUATION_BASE_E && nparams != 3) ||
1749 (type == PNG_EQUATION_ARBITRARY && nparams != 3) ||
1750 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4))
1767 (png_uint_32)(nparams * png_sizeof(png_charp))) ;
1777 for (i = 0; i < (int)nparams; i++)
1796 png_set_pCAL(png_ptr, info_ptr, png_ptr->chunkdata, X0, X1, type, nparams,