/external/freetype/src/base/ |
D | ftlcdfil.c | 76 FT_UInt val, pix; in _ft_lcd_filter_fir() local 80 pix = fir[0] + weights[0] * val; in _ft_lcd_filter_fir() 86 pix >>= 8; in _ft_lcd_filter_fir() 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 88 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 92 FT_UInt pix; in _ft_lcd_filter_fir() local 95 pix = fir[0] >> 8; in _ft_lcd_filter_fir() 96 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 97 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 99 pix = fir[1] >> 8; in _ft_lcd_filter_fir() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftlcdfil.c | 76 FT_UInt val, pix; in _ft_lcd_filter_fir() local 80 pix = fir[0] + weights[0] * val; in _ft_lcd_filter_fir() 86 pix >>= 8; in _ft_lcd_filter_fir() 87 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 88 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 92 FT_UInt pix; in _ft_lcd_filter_fir() local 95 pix = fir[0] >> 8; in _ft_lcd_filter_fir() 96 pix |= (FT_UInt)-(FT_Int)( pix >> 8 ); in _ft_lcd_filter_fir() 97 line[xx - 2] = (FT_Byte)pix; in _ft_lcd_filter_fir() 99 pix = fir[1] >> 8; in _ft_lcd_filter_fir() [all …]
|
/external/libvncserver/libvncserver/ |
D | zrlepalettehelper.c | 25 #define ZRLE_HASH(pix) (((pix) ^ ((pix) >> 17)) & 4095) argument 35 void zrlePaletteHelperInsert(zrlePaletteHelper *helper, zrle_U32 pix) in zrlePaletteHelperInsert() argument 38 int i = ZRLE_HASH(pix); in zrlePaletteHelperInsert() 40 while (helper->index[i] != 255 && helper->key[i] != pix) in zrlePaletteHelperInsert() 45 helper->key[i] = pix; in zrlePaletteHelperInsert() 46 helper->palette[helper->size] = pix; in zrlePaletteHelperInsert() 51 int zrlePaletteHelperLookup(zrlePaletteHelper *helper, zrle_U32 pix) in zrlePaletteHelperLookup() argument 53 int i = ZRLE_HASH(pix); in zrlePaletteHelperLookup() 57 while (helper->index[i] != 255 && helper->key[i] != pix) in zrlePaletteHelperLookup()
|
D | zrleencodetemplate.c | 149 PIXEL_T pix = *ptr; in ZRLE_ENCODE_TILE() local 150 if (*++ptr != pix) { in ZRLE_ENCODE_TILE() 153 while (*++ptr == pix) ; in ZRLE_ENCODE_TILE() 156 zrlePaletteHelperInsert(ph, pix); in ZRLE_ENCODE_TILE() 223 PIXEL_T pix; in ZRLE_ENCODE_TILE() local 227 pix = *ptr++; in ZRLE_ENCODE_TILE() 228 while (*ptr == pix && ptr < end) in ZRLE_ENCODE_TILE() 232 int index = zrlePaletteHelperLookup(ph, pix); in ZRLE_ENCODE_TILE() 239 int index = zrlePaletteHelperLookup(ph, pix); in ZRLE_ENCODE_TILE() 242 zrleOutStreamWRITE_PIXEL(os, pix); in ZRLE_ENCODE_TILE() [all …]
|
D | hextile.c | 81 #define PUT_PIXEL8(pix) (cl->updateBuf[cl->ublen++] = (pix)) argument 83 #define PUT_PIXEL16(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ argument 84 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1]) 86 #define PUT_PIXEL32(pix) (cl->updateBuf[cl->ublen++] = ((char*)&(pix))[0], \ argument 87 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[1], \ 88 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[2], \ 89 cl->updateBuf[cl->ublen++] = ((char*)&(pix))[3])
|
D | zrlepalettehelper.h | 42 zrle_U32 pix); 44 zrle_U32 pix);
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_FMT.c | 220 format.fmt.pix.width, in do_get_formats() 221 format.fmt.pix.height, in do_get_formats() 222 format.fmt.pix.pixelformat, in do_get_formats() 223 format.fmt.pix.field, in do_get_formats() 224 format.fmt.pix.bytesperline, in do_get_formats() 225 format.fmt.pix.sizeimage, in do_get_formats() 226 format.fmt.pix.colorspace, format.fmt.pix.priv); in do_get_formats() 227 if (sizeof(format.fmt.pix) < in do_get_formats() 231 for (j = sizeof(format.fmt.pix); in do_get_formats() 244 (format.fmt.pix.pixelformat)); in do_get_formats() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | ValPixConverter.java | 36 float pix = (float)(raw * scale); in valToPix() local 39 pix = (lengthPix - pix); in valToPix() 41 return pix; in valToPix() 64 … public static double pixToVal(float pix, double min, double max, float lengthPix, boolean flip) { in pixToVal() argument 65 if(pix < ZERO) { in pixToVal() 72 float pMult = pix; in pixToVal() 74 pMult = lengthPix - pix; in pixToVal()
|
/external/libvncserver/libvncclient/ |
D | rre.c | 37 CARDBPP pix; in HandleRREBPP() local 45 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) in HandleRREBPP() 48 FillRectangle(client, rx, ry, rw, rh, pix); in HandleRREBPP() 51 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) in HandleRREBPP() 62 FillRectangle(client, rx+subrect.x, ry+subrect.y, subrect.w, subrect.h, pix); in HandleRREBPP()
|
D | corre.c | 37 CARDBPP pix; in HandleCoRREBPP() local 46 if (!ReadFromRFBServer(client, (char *)&pix, sizeof(pix))) in HandleCoRREBPP() 49 FillRectangle(client, rx, ry, rw, rh, pix); in HandleCoRREBPP() 57 pix = *(CARDBPP *)ptr; in HandleCoRREBPP() 64 FillRectangle(client, rx+x, ry+y, w, h, pix); in HandleCoRREBPP()
|
D | tight.c | 363 uint8_t pix[3]; in FilterGradient24() local 370 pix[c] = client->tightPrevRow[c] + client->buffer[y*client->rectWidth*3+c]; in FilterGradient24() 371 thisRow[c] = pix[c]; in FilterGradient24() 373 dst[y*client->rectWidth] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2]); in FilterGradient24() 378 est[c] = (int)client->tightPrevRow[x*3+c] + (int)pix[c] - in FilterGradient24() 385 pix[c] = (uint8_t)est[c] + client->buffer[(y*client->rectWidth+x)*3+c]; in FilterGradient24() 386 thisRow[x*3+c] = pix[c]; in FilterGradient24() 388 dst[y*client->rectWidth+x] = RGB24_TO_PIXEL32(pix[0], pix[1], pix[2]); in FilterGradient24() 404 uint16_t pix[3]; in FilterGradientBPP() local 428 pix[c] = (uint16_t)(((src[y*client->rectWidth] >> shift[c]) + thatRow[c]) & max[c]); in FilterGradientBPP() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_cpal.c | 82 GLubyte *pix = image; in paletted_to_color() local 92 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color() 93 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); in paletted_to_color() 96 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color() 103 pix += get_palette_entry(info, palette, ind[i], pix); in paletted_to_color()
|
/external/eigen/demos/mandelbrot/ |
D | mandelbrot.cpp | 50 int pix = y * img_width; in render() local 59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize) in render() 98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter; in render() 99 buffer[4*(pix+i)+1] = 0; in render() 100 buffer[4*(pix+i)+2] = 0; in render() 105 for(int x = alignedWidth; x < img_width; x++, pix++) in render() 106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0; in render()
|
/external/webrtc/webrtc/modules/video_capture/linux/ |
D | device_info_linux.cc | 258 video_fmt.fmt.pix.sizeimage = 0; in FillCapabilities() 279 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; in FillCapabilities() 280 video_fmt.fmt.pix.width = size[i][0]; in FillCapabilities() 281 video_fmt.fmt.pix.height = size[i][1]; in FillCapabilities() 285 if ((video_fmt.fmt.pix.width == size[i][0]) in FillCapabilities() 286 && (video_fmt.fmt.pix.height == size[i][1])) in FillCapabilities() 289 cap.width = video_fmt.fmt.pix.width; in FillCapabilities() 290 cap.height = video_fmt.fmt.pix.height; in FillCapabilities()
|
D | video_capture_linux.cc | 208 video_fmt.fmt.pix.sizeimage = 0; in StartCapture() 209 video_fmt.fmt.pix.width = capability.width; in StartCapture() 210 video_fmt.fmt.pix.height = capability.height; in StartCapture() 211 video_fmt.fmt.pix.pixelformat = fmts[fmtsIdx]; in StartCapture() 213 if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV) in StartCapture() 215 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUV420) in StartCapture() 217 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY) in StartCapture() 219 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_MJPEG || in StartCapture() 220 video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_JPEG) in StartCapture() 232 _currentWidth = video_fmt.fmt.pix.width; in StartCapture() [all …]
|
/external/mesa3d/src/glx/apple/ |
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/llvm/test/CodeGen/X86/ |
D | 2008-02-25-InlineAsmBug.ll | 4 define void @h264_h_loop_filter_luma_mmx2(i8* %pix, i32 %stride, i32 %alpha, i32 %beta, i8* %tc0) n… 17 %tmp154 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum340 ; <i8*> [#uses=1] 20 %tmp181 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum339 ; <i8*> [#uses=1] 23 %tmp186 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum338 ; <i8*> [#uses=1] 26 %tmp191 = getelementptr i8, i8* %pix, i32 %pix_addr.0327.sum337 ; <i8*> [#uses=1]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2008-02-25-InlineAsmBug.ll | 4 define void @h264_h_loop_filter_luma_mmx2(i8* %pix, i32 %stride, i32 %alpha, i32 %beta, i8* %tc0) n… 17 %tmp154 = getelementptr i8* %pix, i32 %pix_addr.0327.sum340 ; <i8*> [#uses=1] 20 %tmp181 = getelementptr i8* %pix, i32 %pix_addr.0327.sum339 ; <i8*> [#uses=1] 23 %tmp186 = getelementptr i8* %pix, i32 %pix_addr.0327.sum338 ; <i8*> [#uses=1] 26 %tmp191 = getelementptr i8* %pix, i32 %pix_addr.0327.sum337 ; <i8*> [#uses=1]
|
/external/webrtc/webrtc/examples/peerconnection/client/linux/ |
D | main_wnd.cc | 500 uint8_t* pix = image_.get(); in RenderFrame() local 502 while (pix < end) { in RenderFrame() 503 pix[3] = pix[0]; // Save B to A. in RenderFrame() 504 pix[0] = pix[2]; // Set Red. in RenderFrame() 505 pix[2] = pix[3]; // Set Blue. in RenderFrame() 506 pix[3] = 0xFF; // Fixed Alpha. in RenderFrame() 507 pix += 4; in RenderFrame()
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
D | NeuQuant.java | 238 int pix, lim; in learn() local 244 pix = 0; in learn() 276 b = (p[pix + 0] & 0xff) << netbiasshift; in learn() 277 g = (p[pix + 1] & 0xff) << netbiasshift; in learn() 278 r = (p[pix + 2] & 0xff) << netbiasshift; in learn() 285 pix += step; in learn() 286 if (pix >= lim) in learn() 287 pix -= lengthcount; in learn()
|
/external/ImageMagick/coders/ |
D | scr.c | 97 int pix; in ReadSCRImage() local 176 pix = (((8*octetnr)-(256*zoneline))); in ReadSCRImage() 218 q=QueueAuthenticPixels(image,pix,piy,1,1,exception); in ReadSCRImage() 239 pix++; in ReadSCRImage()
|
D | sixel.c | 608 static void sixel_put_pixel(sixel_output_t *const context, int pix) in sixel_put_pixel() argument 610 if (pix < 0 || pix > '?') { in sixel_put_pixel() 611 pix = 0; in sixel_put_pixel() 614 pix += '?'; in sixel_put_pixel() 616 if (pix == context->save_pixel) { in sixel_put_pixel() 620 context->save_pixel = pix; in sixel_put_pixel() 688 int pix; in sixel_encode_impl() local 745 pix = pixels[y * width + x]; in sixel_encode_impl() 746 if (pix >= 0 && pix < (ssize_t) ncolors && pix != keycolor) { in sixel_encode_impl() 747 map[pix * width + x] |= (1 << i); in sixel_encode_impl()
|
/external/strace/tests-m32/ |
D | ioctl_v4l2.c | 69 f->fmt.pix.width = 0x657b8160; in init_v4l2_format() 70 f->fmt.pix.height = 0x951c0047; in init_v4l2_format() 71 f->fmt.pix.pixelformat = magic; in init_v4l2_format() 72 f->fmt.pix.field = V4L2_FIELD_NONE; in init_v4l2_format() 73 f->fmt.pix.bytesperline = 0xdf20d185; in init_v4l2_format() 74 f->fmt.pix.sizeimage = 0x0cf7be41; in init_v4l2_format() 75 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in init_v4l2_format() 184 f->fmt.pix.width, f->fmt.pix.height, in dprint_ioctl_v4l2() 186 f->fmt.pix.bytesperline, in dprint_ioctl_v4l2() 187 f->fmt.pix.sizeimage); in dprint_ioctl_v4l2()
|
/external/strace/tests/ |
D | ioctl_v4l2.c | 69 f->fmt.pix.width = 0x657b8160; in init_v4l2_format() 70 f->fmt.pix.height = 0x951c0047; in init_v4l2_format() 71 f->fmt.pix.pixelformat = magic; in init_v4l2_format() 72 f->fmt.pix.field = V4L2_FIELD_NONE; in init_v4l2_format() 73 f->fmt.pix.bytesperline = 0xdf20d185; in init_v4l2_format() 74 f->fmt.pix.sizeimage = 0x0cf7be41; in init_v4l2_format() 75 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in init_v4l2_format() 184 f->fmt.pix.width, f->fmt.pix.height, in dprint_ioctl_v4l2() 186 f->fmt.pix.bytesperline, in dprint_ioctl_v4l2() 187 f->fmt.pix.sizeimage); in dprint_ioctl_v4l2()
|
/external/strace/tests-mx32/ |
D | ioctl_v4l2.c | 69 f->fmt.pix.width = 0x657b8160; in init_v4l2_format() 70 f->fmt.pix.height = 0x951c0047; in init_v4l2_format() 71 f->fmt.pix.pixelformat = magic; in init_v4l2_format() 72 f->fmt.pix.field = V4L2_FIELD_NONE; in init_v4l2_format() 73 f->fmt.pix.bytesperline = 0xdf20d185; in init_v4l2_format() 74 f->fmt.pix.sizeimage = 0x0cf7be41; in init_v4l2_format() 75 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in init_v4l2_format() 184 f->fmt.pix.width, f->fmt.pix.height, in dprint_ioctl_v4l2() 186 f->fmt.pix.bytesperline, in dprint_ioctl_v4l2() 187 f->fmt.pix.sizeimage); in dprint_ioctl_v4l2()
|