/* Function to translate the EFI_GRAPHICS_PIXEL_FORMAT into a string. */
CHAR16* ConvertPixelFormat(IN CONST EFI_GRAPHICS_PIXEL_FORMAT Fmt)
/* Function to translate the EFI_GRAPHICS_PIXEL_FORMAT into a string. */
CHAR16* ConvertPixelFormat(IN CONST EFI_GRAPHICS_PIXEL_FORMAT Fmt)
{
  CHAR16  *RetVal;
  RetVal = NULL;
  switch (Fmt) {
    case PixelRedGreenBlueReserved8BitPerColor: StrnCatGrow (&RetVal, NULL, L"PixelRedGreenBlueReserved8BitPerColor", 0);
      break;
    case PixelBlueGreenRedReserved8BitPerColor: StrnCatGrow (&RetVal, NULL, L"PixelBlueGreenRedReserved8BitPerColor", 0);
      break;
    case PixelBitMask:                          StrnCatGrow (&RetVal, NULL, L"PixelBitMask", 0);
      break;
    case PixelBltOnly:                          StrnCatGrow (&RetVal, NULL, L"PixelBltOnly", 0);
      break;
    case PixelFormatMax:                        StrnCatGrow (&RetVal, NULL, L"PixelFormatMax", 0);
      break;
    default: ASSERT (FALSE);
  }
  return (RetVal);
}