• Home
  • Raw
  • Download

Lines Matching refs:nparams

175    int                  nparams;  member
936 insert->insert(png_ptr, info_ptr, insert->nparams, insert->parameters); in write_png()
1144 check_param_count(int nparams, int expect) in check_param_count() argument
1146 if (nparams != expect) in check_param_count()
1154 insert_iCCP(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iCCP() argument
1161 check_param_count(nparams, 2); in insert_iCCP()
1299 insert_tEXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_tEXt() argument
1304 check_param_count(nparams, 2); in insert_tEXt()
1310 insert_zTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_zTXt() argument
1315 check_param_count(nparams, 2); in insert_zTXt()
1322 insert_iTXt(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_iTXt() argument
1327 check_param_count(nparams, 4); in insert_iTXt()
1336 insert_hIST(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_hIST() argument
1346 for (i=0; i<nparams; ++i) in insert_hIST()
1378 insert_sBIT(png_structp png_ptr, png_infop info_ptr, int nparams, in insert_sBIT() argument
1388 if (nparams != c) in insert_sBIT()
1406 sBIT.alpha = bval(png_ptr, params[nparams-1], maxval); in insert_sBIT()
1416 insert_sPLT(png_structp png_ptr, png_infop info_ptr, int nparams, png_charpp params)
1424 int nparams) in find_parameters() argument
1430 for (i=0; *param && i<nparams; ++i) in find_parameters()
1451 bad_parameter_count(png_const_charp what, int nparams) in bad_parameter_count() argument
1453 fprintf(stderr, "--insert %s: bad parameter count %d\n", what, nparams); in bad_parameter_count()
1460 int nparams, png_charpp list) in make_insert() argument
1466 nparams * sizeof (png_charp)); in make_insert()
1471 what, nparams); in make_insert()
1477 cip->nparams = nparams; in make_insert()
1478 for (i=0; i<nparams; ++i) in make_insert()
1489 int i, nparams; in find_insert() local
1510 nparams = find_parameters(what, param, parameter_list, 1024); in find_insert()
1517 if (nparams == 2) in find_insert()
1518 return make_insert(what, insert_iCCP, nparams, parameter_list); in find_insert()
1522 if (nparams == 2) in find_insert()
1523 return make_insert(what, insert_tEXt, nparams, parameter_list); in find_insert()
1527 if (nparams == 2) in find_insert()
1528 return make_insert(what, insert_zTXt, nparams, parameter_list); in find_insert()
1532 if (nparams == 4) in find_insert()
1533 return make_insert(what, insert_iTXt, nparams, parameter_list); in find_insert()
1537 if (nparams <= 256) in find_insert()
1538 return make_insert(what, insert_hIST, nparams, parameter_list); in find_insert()
1542 if (nparams <= 4) in find_insert()
1543 return make_insert(what, insert_sBIT, nparams, parameter_list); in find_insert()
1548 return make_insert(what, insert_sPLT, nparams, parameter_list); in find_insert()
1557 bad_parameter_count(what, nparams); in find_insert()