Lines Matching refs:pf
48 unsigned int *pf = NULL;
53 !(pf = (unsigned int *) malloc(nElements * sizeof(unsigned int)))) {
56 *ppf = pf;
65 *pf++ = (_XcmsGetElement (format, pChar, pCount)
73 *pf++ = (_XcmsGetElement (format, pChar, pCount)
81 *pf++ = (_XcmsGetElement (format, pChar, pCount)
96 if (pf) {
97 free(pf);
112 unsigned int *pf = NULL;
119 !(pf = (unsigned int *) malloc(nElements * sizeof(unsigned int)))) {
122 *ppf = pf;
130 *pf++ = ((XcmsFloat) _XcmsGetElement(format, pChar, pCount) / (XcmsFloat)255.0) *
138 *pf++ = ((XcmsFloat) _XcmsGetElement(format, pChar, pCount) / (XcmsFloat)65535.0) *
146 *pf++ = ((XcmsFloat) _XcmsGetElement (format, pChar, pCount) / (XcmsFloat)4294967295.0)
161 if (pf) {
162 free(pf);
177 unsigned int *pf)
196 f = pf[i];
325 unsigned int *pf;
452 if (!QueryTableType0(maxcolor, format, &pChar, &nitems, &nelem, &ph, &pf)) {
457 *ph == 0 && *pf == 0 &&
458 *(ph+1) == maxcolor && *(pf+1) == maxcolor) {
462 *gamma = exponentOfPowerFunc(maxcolor, maxcolor, (int)nelem, ph, pf);
467 if (!QueryTableType1(maxcolor, format, &pChar, &nitems, &nelem, &ph, &pf)) {
471 *gamma = exponentOfPowerFunc((1<<visual->bits_per_rgb)-1, maxcolor, (int)nelem, ph, pf);
486 if (pf) {
487 free(pf);