Lines Matching refs:high
674 void GFX_ConvertRGB2DBFmt(GFX_Buffer_Format Fmt, MS_U32 *colorinfo, MS_U16* low, MS_U16* high) in GFX_ConvertRGB2DBFmt() argument
681 if ((NULL == colorinfo) || (NULL == low) || (NULL == high)){ in GFX_ConvertRGB2DBFmt()
702 *high = ((color->r & 0xf8) + (color->r >> 5)) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2DBFmt()
713 … *high = ((color->g & 0xf8) + (color->g >> 5)) | (((color->r & 0xf8) + (color->r >> 5))<<8); in GFX_ConvertRGB2DBFmt()
719 *high = ((color->r & 0xf8) + (color->r >> 5)) | (0xff << 8); in GFX_ConvertRGB2DBFmt()
723 *high = ((color->r & 0xf8) + (color->r >> 5)); in GFX_ConvertRGB2DBFmt()
728 … *high = ((color->g & 0xf0) + (color->g >> 4)) | (((color->r & 0xf0) + (color->r >> 4))<<8); in GFX_ConvertRGB2DBFmt()
732 … *high = ((color->r & 0xf0) + (color->r >> 4)) | (((color->a & 0xf0) + (color->a >> 4))<<8); in GFX_ConvertRGB2DBFmt()
736 *high =(color->b & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2DBFmt()
740 *high =(color->r & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2DBFmt()
744 *high = (color->b & 0xff)|((color->b & 0xff) << 8); in GFX_ConvertRGB2DBFmt()
754 *high= (0x1f & blinkData->background) | // Bg: 4..0 in GFX_ConvertRGB2DBFmt()
765 …*high = ((blinkData->background & 0x7)|((blinkData->foreground & 0x7) << 3)|((blinkData->ctrl_flag… in GFX_ConvertRGB2DBFmt()
771 *high =(color->r & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2DBFmt()
776 *high = *low; in GFX_ConvertRGB2DBFmt()
782 *high =(color->r & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2DBFmt()
797 void GFX_ConvertRGB2PCFmt(GFX_Buffer_Format Fmt, MS_U32 *colorinfo, MS_U16* low, MS_U16* high) in GFX_ConvertRGB2PCFmt() argument
804 if ((NULL == colorinfo) || (NULL == low) || (NULL == high)){ in GFX_ConvertRGB2PCFmt()
825 *high = ((color->r & 0xf8) + (color->r >> 5)) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2PCFmt()
836 … *high = ((color->g & 0xf8) + (color->g >> 5)) | (((color->r & 0xf8) + (color->r >> 5))<<8); in GFX_ConvertRGB2PCFmt()
842 *high = ((color->r & 0xf8) + (color->r >> 5)) | (0xff << 8); in GFX_ConvertRGB2PCFmt()
846 *high = ((color->r & 0xf8) + (color->r >> 5)); in GFX_ConvertRGB2PCFmt()
851 … *high = ((color->g & 0xf0) + (color->g >> 4)) | (((color->r & 0xf0) + (color->r >> 4))<<8); in GFX_ConvertRGB2PCFmt()
855 … *high = ((color->r & 0xf0) + (color->r >> 4)) | (((color->a & 0xf0) + (color->a >> 4))<<8); in GFX_ConvertRGB2PCFmt()
859 *high =(color->b & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2PCFmt()
863 *high =(color->r & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2PCFmt()
867 *high = (color->b & 0xff)|((color->b & 0xff) << 8); in GFX_ConvertRGB2PCFmt()
876 *high= ((0x1f & blinkData->ctrl_flag)<<3) | BIT15; //1AB in GFX_ConvertRGB2PCFmt()
883 …*high = ((blinkData->background & 0x7)|((blinkData->foreground & 0x7) << 3)|((blinkData->ctrl_flag… in GFX_ConvertRGB2PCFmt()
889 *high =(color->r & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2PCFmt()
894 *high = ((blinkData->Bits3.Ba & 0x3)<<6)|(((blinkData->Bits3.Fa & 0x3)<<6)<<8); in GFX_ConvertRGB2PCFmt()
900 *high =(color->r & 0xff) | ((color->a & 0xff) << 8); in GFX_ConvertRGB2PCFmt()