Home
last modified time | relevance | path

Searched refs:blueShift (Results 1 – 25 of 44) sorted by relevance

12

/external/libvncserver/libvncserver/
Dtableinit24.c59 (((b * (1 + out->blueMax)) >> shift) << out->blueShift)); in rfbInitColourMapSingleTable24()
91 inBlue = (i >> in->blueShift) & in->blueMax; in rfbInitTrueColourSingleTable24()
99 (outBlue << out->blueShift)); in rfbInitTrueColourSingleTable24()
135 out->blueShift, (out->bigEndian != in->bigEndian)); in rfbInitTrueColourRGBTables24()
Dtableinittctemplate.c75 inBlue = (i >> in->blueShift) & in->blueMax; in rfbInitTrueColourSingleTableOUT()
83 (outBlue << out->blueShift)); in rfbInitTrueColourSingleTableOUT()
118 out->blueShift, (out->bigEndian != in->bigEndian)); in rfbInitTrueColourRGBTablesOUT()
Dtabletrans24template.c112 blueTable[(inValue >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTables24to24()
197 blueTable[(inValue >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTables24toOUT()
264 blueTable[(*ip >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTablesINto24()
Dscale.c194 unsigned int blueShift = screen->serverFormat.blueShift; in rfbScaledScreenUpdateRect() local
227 blue += ((pixel_value >> blueShift) & blueMax); in rfbScaledScreenUpdateRect()
236 …(red & redMax) << redShift) | ((green & greenMax) << greenShift) | ((blue & blueMax) << blueShift); in rfbScaledScreenUpdateRect()
Dtranslate.c57 (x.blueShift == y.blueShift))))
472 pf->redShift, pf->greenShift, pf->blueShift); in PrintPixelFormat()
Dcursor.c400 ((format->blueMax * cursor->backBlue) / 0xffff) << format->blueShift; in rfbMakeXCursorFromRichCursor()
405 …b = (255 * (((format->blueMax << format->blueShift) & (*u)) >> format->blueShift)) / format->bl… in rfbMakeXCursorFromRichCursor()
460 cursor->backGreen<<format->greenShift|cursor->backBlue<<format->blueShift; in rfbMakeRichCursorFromXCursor()
462 cursor->foreGreen<<format->greenShift|cursor->foreBlue<<format->blueShift; in rfbMakeRichCursorFromXCursor()
581 bshift = s->serverFormat.blueShift; in rfbShowCursor()
Dzrle.c160 (cl->format.blueMax << cl->format.blueShift) < (1<<24)); in rfbSendRectEncodingZRLE()
164 cl->format.blueShift > 7); in rfbSendRectEncodingZRLE()
Dtableinitcmtemplate.c73 (((b * (1 + out->blueMax)) >> shift) << out->blueShift)); in rfbInitColourMapSingleTableOUT()
Dtabletranstemplate.c106 blueTable[(*ip >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTablesINtoOUT()
Dtight.c1249 << cl->screen->serverFormat.blueShift; \
1440 b_shift = fmt->blueShift; in Pack24()
1444 b_shift = 24 - fmt->blueShift; in Pack24()
1610 inBlue = (int) (pix >> cl->screen->serverFormat.blueShift in SendJpegRect()
1632 && cl->screen->serverFormat.blueShift == 0) in SendJpegRect()
1705 *dst++ = (uint8_t)(pix >> cl->screen->serverFormat.blueShift); in PrepareRowForImg24()
1729 (pix >> cl->screen->serverFormat.blueShift & cl->screen->serverFormat.blueMax); \
Dmain.c786 format->blueShift = 6; in rfbInitServerFormat()
794 format->blueShift = bitsPerSample * 2; in rfbInitServerFormat()
799 format->blueShift = 0; in rfbInitServerFormat()
803 format->blueShift = bitsPerSample; in rfbInitServerFormat()
/external/libvncserver/examples/
Dzippy.c92 rfbDrawPixel(s,i,j,f.blueMax<<f.blueShift); in draw_primary_colours_generic()
102 rfbDrawPixel(s,x1,y4,f.blueMax<<f.blueShift); in draw_primary_colours_generic_fast()
120 rfbFillRect(s,x1,y4,x2,y2,f.blueMax<<f.blueShift); in draw_primary_colours_generic_ultrafast()
/external/libvncserver/libvncclient/
Dvncviewer.c176 client->format.blueShift = 6; in rfbGetClient()
184 client->format.blueShift = bitsPerSample * 2; in rfbGetClient()
189 client->format.blueShift = 0; in rfbGetClient()
193 client->format.blueShift = bitsPerSample; in rfbGetClient()
Dtight.c55 ((CARD##bpp)(b) & client->format.blueMax) << client->format.blueShift)
63 << client->format.blueShift)
68 ((uint32_t)(b) & 0xFF) << client->format.blueShift)
422 shift[2] = client->format.blueShift; in FilterGradientBPP()
Dcursor.c37 << client->format.blueShift)
/external/freetype/src/cff/
Dcf2blues.c102 &blues->blueShift, in cf2_blues_init()
503 blues->blueShift ) in cf2_blues_capture()
537 blues->blueShift ) in cf2_blues_capture()
Dcf2blues.h157 CF2_Fixed blueShift; member
Dcf2ft.h90 CF2_Fixed* blueShift,
Dcf2ft.c507 CF2_Fixed* blueShift, in cf2_getBlueMetrics() argument
515 *blueShift = cf2_intToFixed( in cf2_getBlueMetrics()
/external/pdfium/third_party/freetype/src/cff/
Dcf2blues.c102 &blues->blueShift, in cf2_blues_init()
503 blues->blueShift ) in cf2_blues_capture()
537 blues->blueShift ) in cf2_blues_capture()
Dcf2blues.h157 CF2_Fixed blueShift; member
Dcf2ft.h78 CF2_Fixed* blueShift,
Dcf2ft.c465 CF2_Fixed* blueShift, in cf2_getBlueMetrics() argument
473 *blueShift = cf2_intToFixed( in cf2_getBlueMetrics()
/external/libvncserver/client_examples/
Dppmtest.c56 fputc((v>>pf->blueShift)*256/(pf->blueMax+1),f); in SaveFramebufferAsPPM()
DSDLvncviewer.c56 client->format.blueShift=sdl->format->Bshift; in resize()
59 client->format.blueMax=sdl->format->Bmask>>client->format.blueShift; in resize()
223 #define BLUESHIFT cl->format.blueShift in resizeRectangleToReal()

12