Home | History | Annotate | Download | only in libpng

Lines Matching full:nparams

1922    png_byte type, nparams;
1987 png_debug(3, "Reading pCAL X0, X1, type, nparams, and units");
1991 nparams = buf[10];
1998 if ((type == PNG_EQUATION_LINEAR && nparams != 2) ||
1999 (type == PNG_EQUATION_BASE_E && nparams != 3) ||
2000 (type == PNG_EQUATION_ARBITRARY && nparams != 3) ||
2001 (type == PNG_EQUATION_HYPERBOLIC && nparams != 4))
2020 (png_size_t)(nparams * png_sizeof(png_charp)));
2031 for (i = 0; i < (int)nparams; i++)
2051 png_set_pCAL(png_ptr, info_ptr, png_ptr->chunkdata, X0, X1, type, nparams,