/external/libvncserver/libvncserver/ |
H A D | zrlepalettehelper.c | 25 #define ZRLE_HASH(pix) (((pix) ^ ((pix) >> 17)) & 4095) 35 void zrlePaletteHelperInsert(zrlePaletteHelper *helper, zrle_U32 pix) argument 38 int i = ZRLE_HASH(pix); 40 while (helper->index[i] != 255 && helper->key[i] != pix) 45 helper->key[i] = pix; 46 helper->palette[helper->size] = pix; 51 int zrlePaletteHelperLookup(zrlePaletteHelper *helper, zrle_U32 pix) argument 53 int i = ZRLE_HASH(pix); [all...] |
H A D | zrlepalettehelper.h | 42 zrle_U32 pix); 44 zrle_U32 pix);
|
H A D | zrleencodetemplate.c | 149 PIXEL_T pix = *ptr; local 150 if (*++ptr != pix) { 153 while (*++ptr == pix) ; 156 zrlePaletteHelperInsert(ph, pix); 223 PIXEL_T pix; local 227 pix = *ptr++; 228 while (*ptr == pix && ptr < end) 232 int index = zrlePaletteHelperLookup(ph, pix); 239 int index = zrlePaletteHelperLookup(ph, pix); 242 zrleOutStreamWRITE_PIXEL(os, pix); 273 PIXEL_T pix = *ptr++; local [all...] |
H A D | hextile.c | 81 #define PUT_PIXEL8(pix) (cl->updateBuf[cl->ublen++] = (pix)) 83 #define PUT_PIXEL16(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ 84 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1]) 86 #define PUT_PIXEL32(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ 87 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1], \ 88 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[2], \ 89 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[ [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
H A D | ValPixConverter.java | 36 float pix = (float)(raw * scale);
39 pix = (lengthPix - pix);
41 return pix;
56 * @param pix
64 public static double pixToVal(float pix, double min, double max, float lengthPix, boolean flip) {
argument 65 if(pix < ZERO) {
72 float pMult = pix;
74 pMult = lengthPix - pix;
|
/external/libvncserver/libvncclient/ |
H A D | rre.c | 37 CARDBPP pix; local 45 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) 48 FillRectangle(client, rx, ry, rw, rh, pix); 51 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) 62 FillRectangle(client, rx+subrect.x, ry+subrect.y, subrect.w, subrect.h, pix);
|
H A D | corre.c | 37 CARDBPP pix; local 46 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) 49 FillRectangle(client, rx, ry, rw, rh, pix); 57 pix = *(CARDBPP *)ptr; 64 FillRectangle(client, rx+x, ry+y, w, h, pix);
|
H A D | tight.c | 363 uint8_t pix[3]; local 370 pix[c] = client->tightPrevRow[c] + client->buffer[y*client->rectWidth*3+c]; 371 thisRow[c] = pix[c]; 373 dst[y*client->rectWidth] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2]); 378 est[c] = (int)client->tightPrevRow[x*3+c] + (int)pix[c] - 385 pix[c] = (uint8_t)est[c] + client->buffer[(y*client->rectWidth+x)*3+c]; 386 thisRow[x*3+c] = pix[c]; 388 dst[y*client->rectWidth+x] = RGB24_TO_PIXEL32(pix[ 404 uint16_t pix[3]; local [all...] |
/external/freetype/src/base/ |
H A D | ftlcdfil.c | 53 /* `fir' and `pix' must be at least 32 bit wide, since the sum of */ 58 FT_UInt fir[4]; /* below, `pix' is used as the 5th element */ 76 FT_UInt val, pix; local 80 pix = fir[0] + weights[0] * val; 86 pix >>= 8; 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); 88 line[xx - 2] = (FT_Byte)pix; 92 FT_UInt pix; local 95 pix 140 FT_UInt val, pix; local 157 FT_UInt pix; local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
H A D | ftlcdfil.c | 53 /* `fir' and `pix' must be at least 32 bit wide, since the sum of */ 58 FT_UInt fir[4]; /* below, `pix' is used as the 5th element */ 76 FT_UInt val, pix; local 80 pix = fir[0] + weights[0] * val; 86 pix >>= 8; 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); 88 line[xx - 2] = (FT_Byte)pix; 92 FT_UInt pix; local 95 pix 140 FT_UInt val, pix; local 157 FT_UInt pix; local [all...] |
/external/mesa3d/src/glx/apple/ |
H A D | apple_cgl.h | 47 CGLPixelFormatObj * pix, GLint * npix); 48 CGLError(*destroy_pixel_format) (CGLPixelFormatObj pix); 53 CGLError(*create_context) (CGLPixelFormatObj pix, CGLContextObj share, 55 CGLError(*destroy_context) (CGLContextObj pix);
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_FMT.c | 209 dprintf("\tformat = {.type=0x%X, .fmt.pix = { " 220 format.fmt.pix.width, 221 format.fmt.pix.height, 222 format.fmt.pix.pixelformat, 223 format.fmt.pix.field, 224 format.fmt.pix.bytesperline, 225 format.fmt.pix.sizeimage, 226 format.fmt.pix.colorspace, format.fmt.pix.priv); 227 if (sizeof(format.fmt.pix) < [all...] |
/external/opencv/otherlibs/highgui/ |
H A D | grfmt_jpeg2000.cpp | 287 int pix = pix_row[x]; local 288 dst[x*ncmpts] = CV_CAST_8U(pix); 293 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local 294 dst[x*ncmpts] = CV_CAST_8U(pix); 300 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 301 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_8U(pix); 306 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 307 pix = CV_CAST_8U(pix); 309 dst[x*ncmpts] = (uchar)pix; 349 int pix = pix_row[x]; local 355 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local 362 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local 368 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local [all...] |
/external/eigen/demos/mandelbrot/ |
H A D | mandelbrot.cpp | 50 int pix = y * img_width; local 59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize) 98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter; 99 buffer[4*(pix+i)+1] = 0; 100 buffer[4*(pix+i)+2] = 0; 105 for(int x = alignedWidth; x < img_width; x++, pix++) 106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0;
|
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_cpal.c | 85 GLubyte *pix = image; local 95 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 96 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); 99 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 106 pix += get_palette_entry(info, palette, ind[i], pix);
|
/external/webrtc/webrtc/modules/video_capture/linux/ |
H A D | device_info_linux.cc | 258 video_fmt.fmt.pix.sizeimage = 0; 279 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; 280 video_fmt.fmt.pix.width = size[i][0]; 281 video_fmt.fmt.pix.height = size[i][1]; 285 if ((video_fmt.fmt.pix.width == size[i][0]) 286 && (video_fmt.fmt.pix.height == size[i][1])) 289 cap.width = video_fmt.fmt.pix.width; 290 cap.height = video_fmt.fmt.pix.height;
|
H A D | video_capture_linux.cc | 208 video_fmt.fmt.pix.sizeimage = 0; 209 video_fmt.fmt.pix.width = capability.width; 210 video_fmt.fmt.pix.height = capability.height; 211 video_fmt.fmt.pix.pixelformat = fmts[fmtsIdx]; 213 if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV) 215 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUV420) 217 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY) 219 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_MJPEG || 220 video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_JPEG) 232 _currentWidth = video_fmt.fmt.pix [all...] |
/external/opencv/cxcore/src/ |
H A D | cxmean.cpp | 53 s0 += src[x], pix++; \ 55 s0 += src[x+1], pix++; \ 60 s0 += src[x], pix++ 69 pix++; \ 80 pix++; \ 92 pix++; \ 100 s0 += src[x*(cn)], pix++; \ 102 s0+=src[(x+1)*(cn)], pix++; \ 107 s0 += src[x*(cn)], pix++; 113 int pix [all...] |
H A D | cxmeansdv.cpp | 140 t0 = src[x*(cn)]; pix++; \ 147 t0 = src[(x+1)*(cn)]; pix++; \ 154 t0 = src[(x+2)*(cn)]; pix++; \ 161 t0 = src[(x+3)*(cn)]; pix++; \ 171 worktype t0 = src[x*(cn)]; pix++; \ 190 pix++; \ 208 pix++; \ 227 pix++; \ 245 int pix; \ 310 scale = pix [all...] |
/external/ImageMagick/coders/ |
H A D | scr.c | 99 int pix; 178 pix = (((8*octetnr)-(256*zoneline))); 220 q=QueueAuthenticPixels(image,pix,piy,1,1,exception); 241 pix++; 97 int pix; local
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
H A D | native_ximage.c | 295 get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix) argument 301 depth = x11_drawable_get_depth(xdpy->xscr, (Drawable) pix); 323 EGLNativePixmapType pix, 331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); 347 xsurf = ximage_display_create_surface(ndpy, (Drawable) pix, nconf); 439 EGLNativePixmapType pix, 444 *format = get_pixmap_format(&xdpy->base, pix); 451 EGLNativePixmapType pix, 457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); 477 xdraw.drawable = (Drawable) pix; 322 ximage_display_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument 438 ximage_display_get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix, enum pipe_format *format) argument 450 ximage_display_copy_to_pixmap(struct native_display *ndpy, EGLNativePixmapType pix, struct pipe_resource *src) argument [all...] |
/external/webrtc/webrtc/examples/peerconnection/client/linux/ |
H A D | main_wnd.cc | 500 uint8_t* pix = image_.get(); local 502 while (pix < end) { 503 pix[3] = pix[0]; // Save B to A. 504 pix[0] = pix[2]; // Set Red. 505 pix[2] = pix[3]; // Set Blue. 506 pix[3] = 0xFF; // Fixed Alpha. 507 pix [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | native.h | 219 EGLNativePixmapType pix, 228 EGLNativePixmapType pix, 244 EGLNativePixmapType pix,
|
H A D | native_helper.h | 111 EGLNativePixmapType pix,
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
H A D | NeuQuant.java | 238 int pix, lim; 244 pix = 0; 276 b = (p[pix + 0] & 0xff) << netbiasshift; 277 g = (p[pix + 1] & 0xff) << netbiasshift; 278 r = (p[pix + 2] & 0xff) << netbiasshift; 285 pix += step; 286 if (pix >= lim) 287 pix -= lengthcount;
|