/external/ImageMagick/coders/ |
D | dib.c | 318 static size_t EncodeImage(Image *image,const size_t bytes_per_line, in EncodeImage() argument 348 for (x=0; x < (ssize_t) bytes_per_line; x+=i) in EncodeImage() 353 for (i=1; ((x+i) < (ssize_t) bytes_per_line); i++) in EncodeImage() 466 bytes_per_line, in ReadDIBImage() local 639 bytes_per_line=4*((image->columns*dib_info.bits_per_pixel+31)/32); in ReadDIBImage() 640 length=bytes_per_line*image->rows; in ReadDIBImage() 642 bytes_per_line,image->columns+256UL)*sizeof(*pixels)); in ReadDIBImage() 681 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadDIBImage() 725 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadDIBImage() 766 bytes_per_line=image->columns; in ReadDIBImage() [all …]
|
D | pict.c | 351 MagickSizeType *bytes_per_line,const unsigned int bits_per_pixel) in ExpandBuffer() argument 373 for (i=0; i < (ssize_t) *bytes_per_line; i++) in ExpandBuffer() 379 *bytes_per_line*=2; in ExpandBuffer() 384 for (i=0; i < (ssize_t) *bytes_per_line; i++) in ExpandBuffer() 392 *bytes_per_line*=4; in ExpandBuffer() 397 for (i=0; i < (ssize_t) *bytes_per_line; i++) in ExpandBuffer() 409 *bytes_per_line*=8; in ExpandBuffer() 419 size_t bytes_per_line,const unsigned int bits_per_pixel,size_t *extent, in DecodeImage() argument 452 bytes_per_line&=0x7fff; in DecodeImage() 463 if (bytes_per_line == 0) in DecodeImage() [all …]
|
D | pcx.c | 92 bytes_per_line, member 374 pcx_info.bytes_per_line=ReadBlobLSBShort(image); in ReadPCXImage() 389 if (HeapOverflowSanityCheck(image->rows, (size_t) pcx_info.bytes_per_line) != MagickFalse) in ReadPCXImage() 391 pcx_packets=(size_t) image->rows*pcx_info.bytes_per_line; in ReadPCXImage() 399 pcx_info.bytes_per_line),MagickMax(8,pcx_info.planes)*sizeof(*scanline)); in ReadPCXImage() 494 p=pixels+(y*pcx_info.bytes_per_line*pcx_info.planes); in ReadPCXImage() 503 for (x=0; x < (ssize_t) pcx_info.bytes_per_line; x++) in ReadPCXImage() 540 for (x=0; x < (ssize_t) pcx_info.bytes_per_line; x++) in ReadPCXImage() 808 for (x=0; x < (ssize_t) pcx_info->bytes_per_line; x++) in PCXWritePixels() 815 for (x=0; x < (ssize_t) (pcx_info->bytes_per_line-1); x++) in PCXWritePixels() [all …]
|
D | bmp.c | 356 static size_t EncodeImage(Image *image,const size_t bytes_per_line, in EncodeImage() argument 389 for (x=0; x < (ssize_t) bytes_per_line; x+=i) in EncodeImage() 394 for (i=1; ((x+i) < (ssize_t) bytes_per_line); i++) in EncodeImage() 520 bytes_per_line, in ReadBMPImage() local 924 bytes_per_line=4*((image->columns*bmp_info.bits_per_pixel+31)/32); in ReadBMPImage() 925 length=(size_t) bytes_per_line*image->rows; in ReadBMPImage() 927 MagickMax(bytes_per_line,image->columns+256UL)*sizeof(*pixels)); in ReadBMPImage() 973 bytes_per_line=4*(image->columns); in ReadBMPImage() 976 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadBMPImage() 1052 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadBMPImage() [all …]
|
D | xwd.c | 282 ximage->bytes_per_line=(int) header.bytes_per_line; in ReadXWDImage() 293 (ximage->bytes_per_line < 0)) in ReadXWDImage() 363 length=(size_t) ximage->bytes_per_line*ximage->height; in ReadXWDImage() 364 if (CheckOverflowException(length,ximage->bytes_per_line,ximage->height)) in ReadXWDImage() 687 bytes_per_line, in WriteXWDImage() local 739 bytes_per_line=(CARD32) ((((xwd_info.bits_per_pixel* in WriteXWDImage() 742 xwd_info.bytes_per_line=(CARD32) bytes_per_line; in WriteXWDImage() 822 length=3*bytes_per_line; in WriteXWDImage() 824 length=bytes_per_line; in WriteXWDImage() 832 scanline_pad=(bytes_per_line-((image->columns*bits_per_pixel) >> 3)); in WriteXWDImage()
|
D | tim.c | 125 bytes_per_line, in ReadTIMImage() local 235 bytes_per_line=width*2; in ReadTIMImage() 265 p=tim_pixels+y*bytes_per_line; in ReadTIMImage() 302 p=tim_pixels+y*bytes_per_line; in ReadTIMImage() 327 p=tim_pixels+y*bytes_per_line; in ReadTIMImage() 362 p=tim_pixels+y*bytes_per_line; in ReadTIMImage()
|
D | xbm.c | 205 bytes_per_line, in ReadXBMImage() local 337 bytes_per_line=(unsigned int) (image->columns+7)/8+padding; in ReadXBMImage() 339 data=(unsigned char *) AcquireQuantumMemory(length,bytes_per_line* in ReadXBMImage() 345 for (i=0; i < (ssize_t) (bytes_per_line*image->rows); (i+=2)) in ReadXBMImage() 349 if ((padding == 0) || (((i+2) % bytes_per_line) != 0)) in ReadXBMImage() 353 for (i=0; i < (ssize_t) (bytes_per_line*image->rows); i++) in ReadXBMImage()
|
D | sun.c | 263 bytes_per_line, in ReadSUNImage() local 425 bytes_per_line=sun_info.width*sun_info.depth; in ReadSUNImage() 438 ((bytes_per_line/sun_info.depth) != sun_info.width)) in ReadSUNImage() 443 bytes_per_line+=15; in ReadSUNImage() 444 bytes_per_line<<=1; in ReadSUNImage() 445 if ((bytes_per_line >> 1) != (sun_info.width*sun_info.depth+15)) in ReadSUNImage() 450 bytes_per_line>>=4; in ReadSUNImage() 451 if (HeapOverflowSanityCheck(height,bytes_per_line) != MagickFalse) in ReadSUNImage() 456 pixels_length=height*bytes_per_line; in ReadSUNImage() 559 if (bytes_per_line == 0) in ReadSUNImage() [all …]
|
D | icon.c | 268 bytes_per_line, in ReadICONImage() local 475 bytes_per_line=(((image->columns*icon_info.bits_per_pixel)+31) & in ReadICONImage() 477 (void) bytes_per_line; in ReadICONImage() 884 bytes_per_line, in WriteICONImage() local 1064 bytes_per_line=(((next->columns*icon_info.bits_per_pixel)+31) & in WriteICONImage() 1070 icon_info.image_size=bytes_per_line*next->rows; in WriteICONImage() 1122 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() 1163 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() 1200 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() 1226 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() [all …]
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_line.c | 151 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 185 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 222 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 239 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 280 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 303 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 326 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 348 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) [all …]
|
D | xm_tri.c | 100 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 134 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 200 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 263 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 293 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 351 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 378 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 405 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 432 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) [all …]
|
D | xm_buffer.c | 91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage() 207 * b->backxrb->ximage->bytes_per_line); in alloc_back_buffer() 295 xrb->width2 = xrb->ximage->bytes_per_line / 2; in xmesa_alloc_back_storage() 299 xrb->width3 = xrb->ximage->bytes_per_line; in xmesa_alloc_back_storage() 444 + y2 * ximage->bytes_per_line in xmesa_MapRenderbuffer() 469 int bytes_per_line = in xmesa_MapRenderbuffer() local 472 char *image = (char *) malloc(bytes_per_line * in xmesa_MapRenderbuffer() 483 bytes_per_line); in xmesa_MapRenderbuffer() 496 + (h - 1) * ximage->bytes_per_line; in xmesa_MapRenderbuffer() 502 *rowStrideOut = -ximage->bytes_per_line; in xmesa_MapRenderbuffer()
|
D | xm_dd.c | 412 ximage.bytes_per_line = -rowLength * 4; /* negative to flip image */ in xmesa_DrawPixels_8R8G8B() 545 ximage.bytes_per_line = -rowLength * 2; /* negative to flip image */ in xmesa_DrawPixels_5R6G5B()
|
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
D | x_server_pixel_buffer.cc | 137 IPC_PRIVATE, x_image_->bytes_per_line * x_image_->height, in InitShm() 251 rect.top() * x_image_->bytes_per_line + in CaptureRect() 272 int src_stride = x_image_->bytes_per_line; in FastBlit() 290 int src_stride = x_image_->bytes_per_line; in SlowBlit()
|
/external/swiftshader/src/Main/ |
D | FrameBufferX11.cpp | 68 …shminfo.shmid = shmget(IPC_PRIVATE, x_image->bytes_per_line * x_image->height, IPC_CREAT | SHM_R |… in FrameBufferX11() 122 stride = x_image->bytes_per_line; in lock()
|
D | libX11.hpp | 39 …t offset, char *data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line);
|
/external/mesa3d/src/glx/ |
D | drisw_glx.c | 166 bytes_per_line(unsigned pitch_bits, unsigned mul) in bytes_per_line() function 202 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastPutImage() 226 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastGetImage()
|
/external/ImageMagick/MagickCore/ |
D | xwdfile.h_vms | 75 /* bytes_per_line is pixmap_width padded to bitmap_unit (bitmaps) 78 CARD32 bytes_per_line B32;
|
D | xwindow.c | 2207 scanline_pad=(unsigned int) (ximage->bytes_per_line- in XDitherImage() 5547 length=(size_t) ximage->bytes_per_line*ximage->height; in XMakeImage() 5548 if (CheckOverflowException(length,ximage->bytes_per_line,ximage->height)) in XMakeImage() 5627 length=(size_t) ximage->bytes_per_line*ximage->height; in XMakeImage() 5643 ximage->bytes_per_line); in XMakeImage() 5653 ximage->data=(char *) malloc((size_t) ximage->bytes_per_line* in XMakeImage() 5656 ximage->data=(char *) malloc((size_t) ximage->bytes_per_line* in XMakeImage() 5674 length=(size_t) window->ximage->bytes_per_line*window->ximage->height; in XMakeImage() 5736 matte_image->bytes_per_line*matte_image->depth* in XMakeImage() 5931 scanline_pad=(unsigned int) (ximage->bytes_per_line-((ximage->width* in XMakeImageLSBFirst() [all …]
|
/external/skia/tools/viewer/sk_app/unix/ |
D | RasterWindowContext_unix.cpp | 78 image.bytes_per_line = pm.rowBytes() - pm.width() * pm.info().bytesPerPixel(); in swapBuffers()
|
/external/pdfium/third_party/libtiff/ |
D | tif_ojpeg.c | 332 uint32 bytes_per_line; /* if the codec outputs subsampled data, a 'line' in bytes_per_line */ member 778 sp->skip_buffer=_TIFFmalloc(sp->bytes_per_line); in OJPEGPreDecodeSkipScanlines() 825 if (cc%sp->bytes_per_line!=0) in OJPEGDecodeRaw() 860 m+=sp->bytes_per_line; in OJPEGDecodeRaw() 861 n-=sp->bytes_per_line; in OJPEGDecodeRaw() 873 if (cc%sp->bytes_per_line!=0) in OJPEGDecodeScanlines() 885 m+=sp->bytes_per_line; in OJPEGDecodeScanlines() 886 n-=sp->bytes_per_line; in OJPEGDecodeScanlines() 1231 …sp->bytes_per_line=sp->subsampling_convert_clinelenout*(sp->subsampling_ver*sp->subsampling_hor+2); in OJPEGWriteHeaderInfo() 1241 sp->bytes_per_line=sp->samples_per_pixel_per_plane*sp->strile_width; in OJPEGWriteHeaderInfo()
|
/external/webrtc/webrtc/modules/video_render/linux/ |
D | video_x11_channel.cc | 253 _shminfo.shmid = shmget(IPC_PRIVATE, (_image->bytes_per_line in CreateLocalRenderer()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 276 bytes_per_line(unsigned pitch_bits, unsigned mul) in bytes_per_line() function 297 xrb->pitch = bytes_per_line(width * xrb->bpp, 32); in swrast_alloc_front_storage()
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 355 ximage->bytes_per_line = xlib_dt->stride; in xlib_sw_display()
|
/external/skia/src/views/unix/ |
D | SkOSWindow_Unix.cpp | 421 image.bytes_per_line = bitmap.rowBytes() - bitmap.width() * 4; in convertBitmapToXImage()
|