Lines Matching refs:fmtPtr
305 char* icPtr = NULL, *iaPtr = NULL, *fmtPtr = NULL; in TCProcessImKey() local
331 fmtPtr = strtok( NULL, "," ); in TCProcessImKey()
332 …TCAssertMsg( (fmtPtr != NULL), "ProcessImKey: problem reading output format for image %d in script… in TCProcessImKey()
373 TCStripBlanks( fmtPtr, 1,1 ); in TCProcessImKey()
389 if( (strcmp(fmtPtr, "I4")) == 0 ) in TCProcessImKey()
391 else if( (strcmp(fmtPtr, "I8")) == 0 ) in TCProcessImKey()
393 else if( (strcmp(fmtPtr, "IA4")) == 0 ) in TCProcessImKey()
395 else if( (strcmp(fmtPtr, "IA8")) == 0 ) in TCProcessImKey()
398 else if( (strcmp(fmtPtr, "RGB565")) == 0 ) in TCProcessImKey()
401 else if( (strcmp(fmtPtr, "RGB5A3")) == 0 ) in TCProcessImKey()
403 else if( (strcmp(fmtPtr, "RGBA8")) == 0 ) in TCProcessImKey()
406 else if( (strcmp(fmtPtr, "CI8")) == 0 ) in TCProcessImKey()
415 else if( (strcmp(fmtPtr, "CI4")) == 0 ) in TCProcessImKey()
417 else if( (strcmp(fmtPtr, "CI14_X2")) == 0 ) in TCProcessImKey()
422 else if( (strcmp(fmtPtr, "CMPR")) == 0 ) in TCProcessImKey()
426 …TCErrorMsg( "ProcessImKey: unknown output format '%s' for image %d in script file \n", fmtPtr, ind… in TCProcessImKey()
489 char* psPtr, *fmtPtr; in TCProcessPlKey() local
509 fmtPtr = strtok( NULL, "" ); in TCProcessPlKey()
510 …TCAssertMsg( (fmtPtr != NULL), "ProcessPlKey: problem reading output format for palette %d in scri… in TCProcessPlKey()
515 TCStripBlanks( fmtPtr, 1,1 ); in TCProcessPlKey()
524 if( (strcmp(fmtPtr, "RGB565")) == 0 ) in TCProcessPlKey()
528 else if( (strcmp(fmtPtr, "RGB5A3")) == 0 ) in TCProcessPlKey()
532 else if( (strcmp(fmtPtr, "IA8")) == 0 ) in TCProcessPlKey()
534 …cessPlKey: tc does not support output format '%s'. (palette %d in script file)\n", fmtPtr, index ); in TCProcessPlKey()
538 …TCErrorMsg( "ProcessPlKey: unknown output format '%s' for palette %d in script file\n", fmtPtr, in… in TCProcessPlKey()