/external/libvncserver/examples/ |
camera.c | 48 #define BPP 4 90 buffer[(j*WIDTH+i)*BPP+0]=(i+j)*128/(WIDTH+HEIGHT); /* red */ 91 buffer[(j*WIDTH+i)*BPP+1]=i*128/WIDTH; /* green */ 92 buffer[(j*WIDTH+i)*BPP+2]=j*256/HEIGHT; /* blue */ 94 buffer[j*WIDTH*BPP+0]=0xff; 95 buffer[j*WIDTH*BPP+1]=0xff; 96 buffer[j*WIDTH*BPP+2]=0xff; 108 memset(&buffer[(WIDTH * BPP) * line], 0, (WIDTH * BPP)); 135 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,WIDTH,HEIGHT,8,3,BPP); [all...] |
/external/libvncserver/libvncclient/ |
corre.c | 24 * rfbproto.c, each time with a different definition of the macro BPP. For 25 * each value of BPP, this file defines a function which handles a CoRRE 26 * encoded rectangle with BPP bits per pixel. 29 #define HandleCoRREBPP CONCAT2E(HandleCoRRE,BPP) 30 #define CARDBPP CONCAT3E(uint,BPP,_t) 51 if (!ReadFromRFBServer(client, client->buffer, hdr.nSubrects * (4 + (BPP / 8)))) 58 ptr += BPP/8;
|
hextile.c | 24 * rfbproto.c, each time with a different definition of the macro BPP. For 25 * each value of BPP, this file defines a function which handles a hextile 26 * encoded rectangle with BPP bits per pixel. 29 #define HandleHextileBPP CONCAT2E(HandleHextile,BPP) 30 #define CARDBPP CONCAT3E(uint,BPP,_t) 55 if (!ReadFromRFBServer(client, client->buffer, w * h * (BPP / 8))) 83 if (!ReadFromRFBServer(client, client->buffer, nSubrects * (2 + (BPP / 8)))) 87 #if BPP==8 89 #elif BPP==16 91 #elif BPP==3 [all...] |
ultra.c | 25 * rfbproto.c, each time with a different definition of the macro BPP. For 26 * each value of BPP, this file defines a function which handles an zlib 27 * encoded rectangle with BPP bits per pixel. 30 #define HandleUltraZipBPP CONCAT2E(HandleUltraZip,BPP) 31 #define HandleUltraBPP CONCAT2E(HandleUltra,BPP) 32 #define CARDBPP CONCAT3E(uint,BPP,_t) 40 lzo_uint uncompressedBytes = (( rw * rh ) * ( BPP / 8 )); 50 rfbClientLog("ultra error: rectangle has 0 uncomressed bytes ((%dw * %dh) * (%d / 8))\n", rw, rh, BPP); 55 * decompressed data. In practice, with a fixed BPP, fixed frame 95 if ((rw * rh * (BPP / 8)) != uncompressedBytes [all...] |
zlib.c | 27 * rfbproto.c, each time with a different definition of the macro BPP. For 28 * each value of BPP, this file defines a function which handles an zlib 29 * encoded rectangle with BPP bits per pixel. 32 #define HandleZlibBPP CONCAT2E(HandleZlib,BPP) 33 #define CARDBPP CONCAT3E(uint,BPP,_t) 44 * decompressed data. In practice, with a fixed BPP, fixed frame 49 if ( client->raw_buffer_size < (( rw * rh ) * ( BPP / 8 ))) { 57 client->raw_buffer_size = (( rw * rh ) * ( BPP / 8 ));
|
rre.c | 24 * rfbproto.c, each time with a different definition of the macro BPP. For 25 * each value of BPP, this file defines a function which handles an RRE 26 * encoded rectangle with BPP bits per pixel. 29 #define HandleRREBPP CONCAT2E(HandleRRE,BPP) 30 #define CARDBPP CONCAT3E(uint,BPP,_t)
|
tight.c | 28 * macro BPP. For each value of BPP, this file defines a function 29 * which handles a tight-encoded rectangle with BPP bits per pixel. 35 #define CARDBPP CONCAT3E(uint,BPP,_t) 36 #define filterPtrBPP CONCAT2E(filterPtr,BPP) 38 #define HandleTightBPP CONCAT2E(HandleTight,BPP) 39 #define InitFilterCopyBPP CONCAT2E(InitFilterCopy,BPP) 40 #define InitFilterPaletteBPP CONCAT2E(InitFilterPalette,BPP) 41 #define InitFilterGradientBPP CONCAT2E(InitFilterGradient,BPP) 42 #define FilterCopyBPP CONCAT2E(FilterCopy,BPP) [all...] |
zrle.c | 26 * rfbproto.c, each time with a different definition of the macro BPP. For 27 * each value of BPP, this file defines a function which handles an zrle 28 * encoded rectangle with BPP bits per pixel. 32 #define REALBPP BPP 45 #define CARDBPP CONCAT3E(uint,BPP,_t) 63 #if REALBPP != BPP 72 #define PIXEL_T __RFB_CONCAT3E(uint,BPP,_t) 73 #if BPP!=8 226 #if REALBPP!=BPP && defined(UNCOMP) && UNCOMP!=0 242 #if BPP!= 301 bpp=(type>4?(type>16?8:4):(type>2?2:1)), local [all...] |
rfbproto.c | 142 #define FILL_RECT(BPP) \ 145 ((uint##BPP##_t*)client->frameBuffer)[j+i]=colour; 159 #define COPY_RECT(BPP) \ 161 int rs = w * BPP / 8, rs2 = client->width * BPP / 8; \ 162 for (j = ((x * (BPP / 8)) + (y * rs2)); j < (y + h) * rs2; j += rs2) { \ 181 #define COPY_RECT_FROM_RECT(BPP) \ 183 uint##BPP##_t* _buffer=((uint##BPP##_t*)client->frameBuffer)+(src_y-dest_y)*client->width+src_x-dest_x; \ 188 ((uint##BPP##_t*)client->frameBuffer)[j+i]=_buffer[j+i]; [all...] |
/external/libvncserver/libvncserver/ |
zrleencodetemplate.c | 24 * BPP should be 8, 16 or 32 depending on the bits per pixel. 61 #define PIXEL_T __RFB_CONCAT2E(zrle_U,BPP) 66 #elif BPP==15 69 #define ZRLE_ENCODE __RFB_CONCAT3E(zrleEncode,BPP,END_FIX) 70 #define ZRLE_ENCODE_TILE __RFB_CONCAT3E(zrleEncodeTile,BPP,END_FIX) 73 #define PIXEL_T __RFB_CONCAT2E(zrle_U,BPP) 74 #define zrleOutStreamWRITE_PIXEL __RFB_CONCAT2E(zrleOutStreamWriteOpaque,BPP) 75 #define ZRLE_ENCODE __RFB_CONCAT3E(zrleEncode,BPP,END_FIX) 76 #define ZRLE_ENCODE_TILE __RFB_CONCAT3E(zrleEncodeTile,BPP,END_FIX) 77 #define BPPOUT BPP [all...] |
tabletrans24template.c | 37 #if !defined(BPP) 42 #if BPP == 24 124 #define IN_T CONCAT3E(uint,BPP,_t) 125 #define OUT_T CONCAT3E(uint,BPP,_t) 127 CONCAT4E(rfbTranslateWithSingleTable,24,to,BPP) 129 CONCAT4E(rfbTranslateWithSingleTable,BPP,to,24) 131 CONCAT4E(rfbTranslateWithRGBTables,24,to,BPP) 133 CONCAT4E(rfbTranslateWithRGBTables,BPP,to,24)
|
zrle.c | 46 #define BPP 8 49 #undef BPP 50 #define BPP 15 57 #undef BPP 58 #define BPP 16 65 #undef BPP 66 #define BPP 32 89 #undef BPP
|
translate.c | 113 #define BPP2OFFSET(bpp) ((bpp)/8-1) 115 #define BPP 8 117 #undef BPP 118 #define BPP 16 120 #undef BPP 121 #define BPP 24 123 #undef BPP 124 #define BPP 32 126 #undef BPP [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
row_any.cc | 23 #define YANY(NAMEANY, I420TORGB_SIMD, I420TORGB_C, UV_SHIFT, BPP, MASK) \ 34 rgb_buf + n * BPP, width & MASK); \ 88 #define NV2NY(NAMEANY, NV12TORGB_SIMD, NV12TORGB_C, UV_SHIFT, BPP) \ 97 rgb_buf + n * BPP, width & 7); \ 122 #define RGBANY(NAMEANY, ARGBTORGB_SIMD, ARGBTORGB_C, MASK, SBPP, BPP) \ 128 ARGBTORGB_C(src + n * SBPP, dst + n * BPP, width & MASK); \ 187 #define BAYERANY(NAMEANY, ARGBTORGB_SIMD, ARGBTORGB_C, MASK, SBPP, BPP) \ 193 ARGBTORGB_C(src + n * SBPP, dst + n * BPP, selector, width & MASK); \ 216 #define YANY(NAMEANY, ARGBTOY_SIMD, SBPP, BPP, NUM) \ 220 dst_y + (width - NUM) * BPP, NUM); [all...] |
row_common.cc | 267 #define MAKEROWY(NAME, R, G, B, BPP) \ 272 src_argb0 += BPP; \ 281 uint8 ab = (src_rgb0[B] + src_rgb0[B + BPP] + \ 282 src_rgb1[B] + src_rgb1[B + BPP]) >> 2; \ 283 uint8 ag = (src_rgb0[G] + src_rgb0[G + BPP] + \ 284 src_rgb1[G] + src_rgb1[G + BPP]) >> 2; \ 285 uint8 ar = (src_rgb0[R] + src_rgb0[R + BPP] + \ 286 src_rgb1[R] + src_rgb1[R + BPP]) >> 2; \ 289 src_rgb0 += BPP * 2; \ 290 src_rgb1 += BPP * 2; [all...] |
/external/libvncserver/common/ |
zywrletemplate.c | 67 #define ZYWRLE_ANALYZE __RFB_CONCAT3E(zywrleAnalyze,BPP,END_FIX) 68 #define ZYWRLE_SYNTHESIZE __RFB_CONCAT3E(zywrleSynthesize,BPP,END_FIX) 70 #define ZYWRLE_RGBYUV __RFB_CONCAT3E(zywrleRGBYUV,BPP,END_FIX) 71 #define ZYWRLE_YUVRGB __RFB_CONCAT3E(zywrleYUVRGB,BPP,END_FIX) 72 #define ZYWRLE_YMASK __RFB_CONCAT2E(ZYWRLE_YMASK,BPP) 73 #define ZYWRLE_UVMASK __RFB_CONCAT2E(ZYWRLE_UVMASK,BPP) 74 #define ZYWRLE_LOAD_PIXEL __RFB_CONCAT2E(ZYWRLE_LOAD_PIXEL,BPP) 75 #define ZYWRLE_SAVE_PIXEL __RFB_CONCAT2E(ZYWRLE_SAVE_PIXEL,BPP)
|
/external/libyuv/files/source/ |
row_common.cc | [all...] |
/external/clang/lib/CodeGen/ |
TargetInfo.cpp | [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
AllocationTest.java | 415 final int BPP = 8; // bits per pixel 431 width * height * ImageFormat.getBitsPerPixel(YUV_420_888) / BPP; [all...] |
/external/libvncserver/x11vnc/ |
screen.c | 96 static void install_fake_fb(int w, int h, int bpp); 117 * Some handling of 8bpp PseudoColor colormaps. Called for initializing 312 * Kludge to make 8bpp TrueColor & DirectColor be like 779 fb->data = (char *) calloc(dpy_x*dpy_y*bpp/8, 1); 954 int Bpp = cl->format.bitsPerPixel / 8; 961 if (db < Bpp * dpy_x * dpy_y) { 965 if (db < 0.5 * Bpp * dpy_x * dpy_y) { 1092 static void install_fake_fb(int w, int h, int bpp) { 1101 fake_fb = (char *) calloc(w*h*bpp/8, 1); 1103 rfbLog("could not create fake fb: %dx%d %d\n", w, h, bpp); [all...] |
/prebuilts/gradle-plugin/com/android/tools/sdklib/22.2.0/ |
sdklib-22.2.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/22.4.0/ |
sdklib-22.4.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/22.4.2/ |
sdklib-22.4.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/22.5.0/ |
sdklib-22.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/22.5.1/ |
sdklib-22.5.1.jar | |