亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lcdslin.c

?? uc-gui.rar
?? C
?? 第 1 頁 / 共 3 頁
字號:
        Write with transparency*/  WriteTBit0:    if (pixels&(1<<7)) SETPIXEL(x+0, y, Index1);    if (!--xsize)      return;  WriteTBit1:    if (pixels&(1<<6)) SETPIXEL(x+1, y, Index1);    if (!--xsize)      return;  WriteTBit2:    if (pixels&(1<<5)) SETPIXEL(x+2, y, Index1);    if (!--xsize)      return;  WriteTBit3:    if (pixels&(1<<4)) SETPIXEL(x+3, y, Index1);    if (!--xsize)      return;  WriteTBit4:    if (pixels&(1<<3)) SETPIXEL(x+4, y, Index1);    if (!--xsize)      return;  WriteTBit5:    if (pixels&(1<<2)) SETPIXEL(x+5, y, Index1);    if (!--xsize)      return;  WriteTBit6:    if (pixels&(1<<1)) SETPIXEL(x+6, y, Index1);    if (!--xsize)      return;  WriteTBit7:    if (pixels&(1<<0)) SETPIXEL(x+7, y, Index1);    if (!--xsize)      return;    x+=8;    pixels = *(++p);    goto WriteTBit0;/*        Write without transparency*/  WriteBit0:    SETPIXEL(x+0, y, (pixels&(1<<7)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit1:    SETPIXEL(x+1, y, (pixels&(1<<6)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit2:    SETPIXEL(x+2, y, (pixels&(1<<5)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit3:    SETPIXEL(x+3, y, (pixels&(1<<4)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit4:    SETPIXEL(x+4, y, (pixels&(1<<3)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit5:    SETPIXEL(x+5, y, (pixels&(1<<2)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit6:    SETPIXEL(x+6, y, (pixels&(1<<1)) ? Index1 : Index0);    if (!--xsize)      return;  WriteBit7:    SETPIXEL(x+7, y, (pixels&(1<<0)) ? Index1 : Index0);    if (!--xsize)      return;    x+=8;    pixels = *(++p);    goto WriteBit0;/*        Write XOR mode*/  WriteXBit0:    if (pixels&(1<<7))      XORPIXEL(x+0, y);    if (!--xsize)      return;  WriteXBit1:    if (pixels&(1<<6))      XORPIXEL(x+1, y);    if (!--xsize)      return;  WriteXBit2:    if (pixels&(1<<5))      XORPIXEL(x+2, y);    if (!--xsize)      return;  WriteXBit3:    if (pixels&(1<<4))      XORPIXEL(x+3, y);    if (!--xsize)      return;  WriteXBit4:    if (pixels&(1<<3))      XORPIXEL(x+4, y);    if (!--xsize)      return;  WriteXBit5:    if (pixels&(1<<2))      XORPIXEL(x+5, y);    if (!--xsize)      return;  WriteXBit6:    if (pixels&(1<<1))      XORPIXEL(x+6, y);    if (!--xsize)      return;  WriteXBit7:    if (pixels&(1<<0))      XORPIXEL(x+7, y);    if (!--xsize)      return;    x+=8;    pixels = *(++p);    goto WriteXBit0;}#endif/*        *********************************************************        *                                                       *        *  Draw Bitmap 2 BPP                                    *        *                                                       *        **********************************************************/#if (LCD_MAX_LOG_COLORS > 2)static void  DrawBitLine2BPP(int x, int y, U8 const*p, int Diff, int xsize, const LCD_PIXELINDEX*pTrans) {  PIXELCOLOR pixels;/*        Jump to right entry point*/  pixels = *p;  if (GUI_Context.DrawMode & LCD_DRAWMODE_TRANS) switch (Diff&3) {  case 0:    goto WriteTBit0;  case 1:    goto WriteTBit1;  case 2:    goto WriteTBit2;  default:    goto WriteTBit3;  } else switch (Diff&3) {  case 0:    goto WriteBit0;  case 1:    goto WriteBit1;  case 2:    goto WriteBit2;  default:    goto WriteBit3;  }/*        Write without transparency*/WriteBit0:  SETPIXEL(x+0, y, *(pTrans+(pixels>>6)));  if (!--xsize)    return;WriteBit1:  SETPIXEL(x+1, y, *(pTrans+(3&(pixels>>4))));  if (!--xsize)    return;WriteBit2:  SETPIXEL(x+2, y, *(pTrans+(3&(pixels>>2))));  if (!--xsize)    return;WriteBit3:  SETPIXEL(x+3, y, *(pTrans+(3&(pixels))));  if (!--xsize)    return;  pixels = *(++p);  x+=4;  goto WriteBit0;/*        Write with transparency*/WriteTBit0:  if (pixels&(3<<6))    SETPIXEL(x+0, y, *(pTrans+(pixels>>6)));  if (!--xsize)    return;WriteTBit1:  if (pixels&(3<<4))    SETPIXEL(x+1, y, *(pTrans+(3&(pixels>>4))));  if (!--xsize)    return;WriteTBit2:  if (pixels&(3<<2))    SETPIXEL(x+2, y, *(pTrans+(3&(pixels>>2))));  if (!--xsize)    return;WriteTBit3:  if (pixels&(3<<0))    SETPIXEL(x+3, y, *(pTrans+(3&(pixels))));  if (!--xsize)    return;  pixels = *(++p);  x+=4;  goto WriteTBit0;}#endif/*        *********************************************************        *                                                       *        *  Draw Bitmap 4 BPP                                    *        *                                                       *        **********************************************************/#if (LCD_MAX_LOG_COLORS > 4)static void  DrawBitLine4BPP(int x, int y, U8 const*p, int Diff, int xsize, const LCD_PIXELINDEX*pTrans) {  PIXELCOLOR pixels;/*        Jump to right entry point*/  pixels = *p;  if (GUI_Context.DrawMode & LCD_DRAWMODE_TRANS) {    if ((Diff&1) ==0)      goto WriteTBit0;    goto WriteTBit1;  } else {    if ((Diff&1) ==0)      goto WriteBit0;    goto WriteBit1;  }/*        Write without transparency*/WriteBit0:  SETPIXEL(x+0, y, *(pTrans+(pixels>>4)));  if (!--xsize)    return;WriteBit1:  SETPIXEL(x+1, y, *(pTrans+(pixels&0xf)));  if (!--xsize)    return;  x+=2;  pixels = *(++p);  goto WriteBit0;/*        Write with transparency*/WriteTBit0:  if (pixels>>4)    SETPIXEL(x+0, y, *(pTrans+(pixels>>4)));  if (!--xsize)    return;WriteTBit1:  if (pixels&0xf)    SETPIXEL(x+1, y, *(pTrans+(pixels&0xf)));  if (!--xsize)    return;  x+=2;  pixels = *(++p);  goto WriteTBit0;}#endif/*        *********************************************************        *                                                       *        *  Draw Bitmap 8 BPP  (256 colors)                      *        *                                                       *        *      Default (no optimization)                        *        *                                                       *        **********************************************************/#if (LCD_MAX_LOG_COLORS > 16)static void  DrawBitLine8BPP(int x, int y, U8 const*p, int xsize, const LCD_PIXELINDEX*pTrans) {  LCD_PIXELINDEX pixel;/*          Do x-Clipping*/  if ((GUI_Context.DrawMode & LCD_DRAWMODE_TRANS)==0) {    while (xsize > 0) {      pixel = *p;      SETPIXEL(x+0, y, *(pTrans+pixel));      xsize--;      x++;      p++;    }  } else {   /* Handle transparent bitmap */    while (xsize > 0) {      pixel = *p;      if (pixel)        SETPIXEL(x+0, y, *(pTrans+pixel));      xsize--;      x++;      p++;    }  }}#endif/*        *********************************************************        *                                                       *        *         Universal draw Bitmap routine                 *        *                                                       *        **********************************************************/void LCD_L0_DrawBitmap   (int x0, int y0,                       int xsize, int ysize,                       int BitsPerPixel,                        int BytesPerLine,                       const U8* pData, int Diff,                       const LCD_PIXELINDEX* pTrans){  int i;  if (!pTrans)    pTrans = LCD_ConversionTable;  /*     Use DrawBitLineXBPP  */  for (i=0; i<ysize; i++) {    switch (BitsPerPixel) {    case 1:      DrawBitLine1BPP(x0, i+y0, pData, Diff, xsize, pTrans);      break;    #if (LCD_MAX_LOG_COLORS > 2)      case 2:        DrawBitLine2BPP(x0, i+y0, pData, Diff, xsize, pTrans);        break;    #endif    #if (LCD_MAX_LOG_COLORS > 4)      case 4:        DrawBitLine4BPP(x0, i+y0, pData, Diff, xsize, pTrans);        break;    #endif    #if (LCD_MAX_LOG_COLORS > 16)      case 8:        DrawBitLine8BPP(x0, i+y0, pData, xsize, pTrans);        break;    #endif    }    pData += BytesPerLine;  }}/**********************************************************       LCD_L0_SetOrg**********************************************************Purpose:        Sets the original position of the virtual display.                Has no function at this point with the PC-driver.*/int OrgX, OrgY;void LCD_L0_SetOrg(int x, int y) {  OrgX = x;  OrgY = y;}/*        *********************************************************        *                                                       *        *           Support for verification                    *        *                                                       *        *********************************************************The following routines are implemented, but have no functionilityat this point. The reason is that these functions are supposedto supervise the hardware, which for obvious reasons can not bedone in a simulation.*/#if LCD_SUPPORT_VERIFYint  LCD_GetErrStat(void) {  return 0;}void LCD_ClrErrStat(void) {}int  LCD_GetErrCnt (void) {  return 0;}#endif  /*        *********************************************************        *                                                       *        *               Copy rectangle                          *        *                                                       *        *********************************************************This function is used for scrolling. If scrolling is not required(as is sometimes the case) this routine can be eliminated viaconfiguration switch.*/#if  LCD_SUPPORT_COPYRECTstatic void Copy_Line (int y,int x0,int x1,int dx,int dy) {  if (dy >=0) {    int x;    for (x=x0; x<=x1; x++) {      _SetPixel(x+dx, y+dy, _GetPixel(x,y));    }  } else {    int x;    for (x=x1; x>=x0; x--) {      _SetPixel(x+dx, y+dy, _GetPixel(x,y));    }  }}void LCD_CopyRect     (int x0, int y0, int x1, int y1, int dx, int dy) {  if (dy >=0) {    int y;    for (y=y0; y<=y1; y++) {      Copy_Line (y,x0,x1,dx,dy);    }  } else {    int y;    for (y=y1; y>=y0; y--) {      Copy_Line (y,x0,x1,dx,dy);    }  }}#endif/*        *********************************************************        *                                                       *        *                   LCD_SetPaletteEntry                 *        *                                                       *        **********************************************************/void LCD_L0_SetLUTEntry(U8 Pos, LCD_COLOR color) {  Pos=Pos;  color=color;}/*        *********************************************************        *                                                       *        *       LCD_On                                          *        *       LCD_Off                                         *        *                                                       *        **********************************************************/void LCD_Off          (void) {#ifdef LCD_OFF  LCD_OFF();#endif}void LCD_On           (void) {#ifdef LCD_ON  LCD_ON();#endif}unsigned int LCD_L0_GetPixelIndex(int x, int y) {  return GETPIXEL(x,y);}/*        *********************************************************        *                                                       *        *       LCD_Init : Init the display                     *        *                                                       *        **********************************************************/int  LCD_L0_Init(void) {  /* Controller independent */  #if LCD_WATCHDOG_TRIGGERCNT    WatchdogTriggerCnt =0;  #endif  /* Controller initialisation */  LCD_FirstInit();  LCD_L0_ReInit();  LCD_Adr=0xffff;  /* Init successfull */  return 0;}#elif defined(NC30) || defined(NC308)void LCDSLin(void) { } /* avoid empty object files */#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区三区乱码在线 | 亚洲国产精品久久一线不卡| 欧美一区永久视频免费观看| 成人免费视频app| 日韩二区三区在线观看| 国产精品第四页| 久久综合色之久久综合| 欧美在线视频全部完| 国产精品系列在线播放| 婷婷久久综合九色综合绿巨人| 欧美激情一区二区三区全黄| 欧美一区二区视频免费观看| 99热精品一区二区| 国产成人在线观看| 免费精品视频在线| 丝袜亚洲另类欧美| 一区二区三区在线看| 久久久99久久| 欧美成人三级电影在线| 欧美日韩国产综合久久 | 9色porny自拍视频一区二区| 麻豆精品一二三| 亚洲第一狼人社区| 亚洲色图.com| 国产精品国产三级国产专播品爱网| 精品国产一区二区三区四区四| 欧美日韩中字一区| 99精品视频在线观看免费| 国产福利91精品一区| 理论电影国产精品| 日韩va亚洲va欧美va久久| 亚洲不卡一区二区三区| 一区二区三区蜜桃网| 亚洲日本va午夜在线电影| 国产精品久久久久国产精品日日 | 欧美激情一区二区在线| 久久蜜臀中文字幕| 精品处破学生在线二十三| 欧美一级免费大片| 日韩网站在线看片你懂的| 91精品国产色综合久久不卡蜜臀| 欧美日韩大陆在线| 在线成人av影院| 欧美精品1区2区3区| 欧美日韩国产小视频| 欧美午夜免费电影| 欧美日韩国产综合视频在线观看| 欧美三级中文字| 欧美精品粉嫩高潮一区二区| 欧美日韩一区中文字幕| 制服丝袜中文字幕一区| 欧美理论片在线| 欧美日韩卡一卡二| 欧美日韩精品久久久| 欧美日韩精品一二三区| 日韩你懂的在线观看| 精品黑人一区二区三区久久| 久久噜噜亚洲综合| 国产精品网站在线观看| 亚洲欧美一区二区三区极速播放 | 久久丁香综合五月国产三级网站| 久久国产日韩欧美精品| 国产精品一区二区在线观看网站 | 亚洲综合在线视频| 视频一区中文字幕| 精品一区二区在线看| 国产高清精品在线| 91极品视觉盛宴| 欧美一级午夜免费电影| 国产人成一区二区三区影院| 国产精品福利在线播放| 香蕉成人伊视频在线观看| 美腿丝袜在线亚洲一区| 国产69精品久久久久毛片| 日本福利一区二区| 日韩一区二区三区电影在线观看| 久久嫩草精品久久久精品| 亚洲图片另类小说| 奇米精品一区二区三区四区 | 日本精品一区二区三区高清 | 最新日韩av在线| 亚洲r级在线视频| 国模少妇一区二区三区| 99精品桃花视频在线观看| 91精品国产综合久久婷婷香蕉| 精品久久人人做人人爰| 亚洲精品欧美在线| 精品一区二区三区欧美| 91免费视频网址| 日韩天堂在线观看| 亚洲人午夜精品天堂一二香蕉| 天堂在线亚洲视频| 99久久er热在这里只有精品66| 欧美久久一区二区| 亚洲同性gay激情无套| 久久99精品国产麻豆婷婷洗澡| 97精品电影院| 久久亚洲一区二区三区四区| 亚洲综合色成人| 国产美女在线观看一区| 欧美午夜精品久久久| 国产精品久久久久婷婷二区次| 免费成人美女在线观看.| 色拍拍在线精品视频8848| 久久婷婷国产综合精品青草| 亚洲综合激情网| 成人sese在线| 久久精品视频免费观看| 免费高清在线一区| 欧美手机在线视频| 中文字幕一区二区在线播放| 久久99精品久久久| 欧美肥妇free| 亚洲一线二线三线久久久| 成人网页在线观看| 精品日韩欧美在线| 日日嗨av一区二区三区四区| 色999日韩国产欧美一区二区| 欧美国产欧美综合| 狠狠色2019综合网| 日韩精品最新网址| 日日夜夜精品视频天天综合网| 99在线视频精品| 久久综合久久久久88| 秋霞影院一区二区| 欧美日韩在线直播| 亚洲一区二区三区视频在线| 91欧美一区二区| 中文字幕视频一区二区三区久| 国产精品99久久久久久久女警| 精品国产乱码久久久久久老虎| 日韩精品一级中文字幕精品视频免费观看 | 欧美三级中文字幕| 亚洲高清一区二区三区| 在线视频国内自拍亚洲视频| 日韩美女精品在线| 不卡一卡二卡三乱码免费网站| 久久久久久久网| 国产福利不卡视频| 国产精品水嫩水嫩| 春色校园综合激情亚洲| 亚洲欧洲日韩一区二区三区| 成年人国产精品| 亚洲美女视频在线观看| 日本韩国精品在线| 亚洲一区二区五区| 欧美一区二区三区在线| 久久精品免费观看| 337p粉嫩大胆噜噜噜噜噜91av | 欧美日本精品一区二区三区| 亚洲国产中文字幕在线视频综合| 欧美午夜精品一区| 日产欧产美韩系列久久99| 日韩女优视频免费观看| 国产一区二区三区免费| 欧美国产日韩亚洲一区| 91免费观看视频| 亚洲图片欧美视频| 欧美日韩视频第一区| 美女www一区二区| 久久天天做天天爱综合色| 国产乱码精品一区二区三区五月婷| 欧美国产禁国产网站cc| 色素色在线综合| 丝袜亚洲另类欧美综合| 久久蜜臀精品av| 91精品办公室少妇高潮对白| 日本系列欧美系列| 中文av字幕一区| 欧美日韩中文一区| 老汉av免费一区二区三区| 国产三级精品视频| 色88888久久久久久影院野外| 日韩高清欧美激情| 欧美经典一区二区| 欧美日韩国产影片| 激情伊人五月天久久综合| 国产精品你懂的在线| 欧美日韩免费在线视频| 国产精品一区二区在线观看不卡 | 久久精品亚洲精品国产欧美| 91片黄在线观看| 紧缚捆绑精品一区二区| 亚洲同性同志一二三专区| 日韩视频在线你懂得| 波多野结衣中文字幕一区二区三区| 亚洲韩国精品一区| 久久久国产一区二区三区四区小说 | 精品视频在线免费| 国产成都精品91一区二区三| 一区二区三区国产豹纹内裤在线 | 一区二区三区在线不卡| 日韩免费视频一区二区| 91蜜桃传媒精品久久久一区二区| 奇米在线7777在线精品| 一区二区三区四区国产精品| 精品999久久久| 欧美日韩专区在线| 99久久99久久久精品齐齐| 激情综合色播五月|