Home | History | Annotate | Download | only in MagickCore

Lines Matching full:levels

114     *levels;
127 " <levels width=\"1\" height=\"1\" divisor=\"2\">"
129 " </levels>"
133 " <levels width=\"2\" height=\"2\" divisor=\"3\">"
136 " </levels>"
832 if (map->levels != (ssize_t *) NULL)
833 map->levels=(ssize_t *) RelinquishMagickMemory(map->levels);
950 *levels,
984 levels=GetXMLTreeChild(threshold,"levels");
985 if (levels == (XMLTreeInfo *) NULL)
988 "XmlMissingElement", "<levels>, map \"%s\"", map_id);
997 map->levels=(ssize_t *) NULL;
1004 attribute=GetXMLTreeAttribute(levels,"width");
1008 "XmlMissingAttribute", "<levels width>, map \"%s\"",map_id);
1017 "XmlInvalidAttribute", "<levels width>, map \"%s\"",map_id);
1022 attribute=GetXMLTreeAttribute(levels,"height");
1026 "XmlMissingAttribute", "<levels height>, map \"%s\"",map_id);
1035 "XmlInvalidAttribute", "<levels height>, map \"%s\"",map_id);
1040 attribute=GetXMLTreeAttribute(levels,"divisor");
1044 "XmlMissingAttribute", "<levels divisor>, map \"%s\"",map_id);
1053 "XmlInvalidAttribute", "<levels divisor>, map \"%s\"",map_id);
1058 content=GetXMLTreeContent(levels);
1062 "XmlMissingContent", "<levels>, map \"%s\"",map_id);
1067 map->levels=(ssize_t *) AcquireQuantumMemory((size_t) map->width,map->height*
1068 sizeof(*map->levels));
1069 if (map->levels == (ssize_t *) NULL)
1073 map->levels[i]=(ssize_t) strtol(content,&p,10);
1082 if ((map->levels[i] < 0) || (map->levels[i] > map->divisor))
1086 (double) map->levels[i],map_id);
1267 % levels, which can be different for different channels, according to the
1281 % of color levels tho dither between.
1287 % channels, while a single number is the number of levels applied to each
1295 % color level, to basically double the number of color levels with
1316 levels[CompositePixelChannel];
1363 levels[i]=2.0;
1371 levels[i]=StringToDouble(token,(char **) NULL);
1374 if (fabs(levels[i]) >= 1)
1375 levels[i]-=1.0;
1425 if (fabs(levels[n++]) < MagickEpsilon)
1427 threshold=(ssize_t) (QuantumScale*q[i]*(levels[n]*(map->divisor-1)+1));
1431 map->levels[(x % map->width)+map->width*(y % map->height)]))*
1432 QuantumRange/levels[n]);