/external/epid-sdk/example/util/src/ |
D | bufutil.c | 250 size_t bytes_per_line = opts.bytes_per_group * opts.groups_per_line; in PrintBufferOpt() local 262 while (byte_col < bytes_per_line) { in PrintBufferOpt() 277 while (byte_col < bytes_per_line) { in PrintBufferOpt() 292 while (byte_col < bytes_per_line) { in PrintBufferOpt() 307 while (byte_col < bytes_per_line) { in PrintBufferOpt() 325 while (byte_col < bytes_per_line) { in PrintBufferOpt() 345 while (byte_col < bytes_per_line) { in PrintBufferOpt() 362 line_offset += bytes_per_line; in PrintBufferOpt()
|
/external/ImageMagick/coders/ |
D | dib.c | 341 static size_t EncodeImage(Image *image,const size_t bytes_per_line, in EncodeImage() argument 371 for (x=0; x < (ssize_t) bytes_per_line; x+=i) in EncodeImage() 376 for (i=1; ((x+i) < (ssize_t) bytes_per_line); i++) in EncodeImage() 489 bytes_per_line, in ReadDIBImage() local 668 bytes_per_line=4*((image->columns*dib_info.bits_per_pixel+31)/32); in ReadDIBImage() 669 length=bytes_per_line*image->rows; in ReadDIBImage() 672 pixel_info=AcquireVirtualMemory(image->rows,MagickMax(bytes_per_line, in ReadDIBImage() 719 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadDIBImage() 763 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadDIBImage() 807 bytes_per_line=image->columns; in ReadDIBImage() [all …]
|
D | pict.c | 329 const unsigned int bits_per_pixel,MagickSizeType *bytes_per_line) in ExpandBuffer() argument 353 for (i=0; i < (ssize_t) *bytes_per_line; i++) in ExpandBuffer() 359 *bytes_per_line*=2; in ExpandBuffer() 364 for (i=0; i < (ssize_t) *bytes_per_line; i++) in ExpandBuffer() 372 *bytes_per_line*=4; in ExpandBuffer() 377 for (i=0; i < (ssize_t) *bytes_per_line; i++) in ExpandBuffer() 389 *bytes_per_line*=8; in ExpandBuffer() 399 size_t bytes_per_line,const unsigned int bits_per_pixel,size_t *extent) in DecodeImage() argument 436 bytes_per_line&=0x7fff; in DecodeImage() 447 if (bytes_per_line == 0) in DecodeImage() [all …]
|
D | bmp.c | 380 static size_t EncodeImage(Image *image,const size_t bytes_per_line, in EncodeImage() argument 413 for (x=0; x < (ssize_t) bytes_per_line; x+=i) in EncodeImage() 418 for (i=1; ((x+i) < (ssize_t) bytes_per_line); i++) in EncodeImage() 545 bytes_per_line, in ReadBMPImage() local 959 bytes_per_line=4*((image->columns*bmp_info.bits_per_pixel+31)/32); in ReadBMPImage() 960 length=(size_t) bytes_per_line*image->rows; in ReadBMPImage() 967 MagickMax(bytes_per_line,image->columns+256UL)*sizeof(*pixels)); in ReadBMPImage() 988 MagickMax(bytes_per_line,image->columns+256UL)*sizeof(*pixels)); in ReadBMPImage() 1016 bytes_per_line=4*(image->columns); in ReadBMPImage() 1019 p=pixels+(image->rows-y-1)*bytes_per_line; in ReadBMPImage() [all …]
|
D | pcx.c | 92 bytes_per_line, member 394 pcx_info.bytes_per_line=ReadBlobLSBShort(image); in ReadPCXImage() 403 if (HeapOverflowSanityCheck(image->rows, (size_t) pcx_info.bytes_per_line) != MagickFalse) in ReadPCXImage() 405 pcx_packets=(size_t) image->rows*pcx_info.bytes_per_line; in ReadPCXImage() 414 pcx_info.bytes_per_line),MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage() 426 pcx_info.bytes_per_line)*MagickMax(pcx_info.planes,8)*sizeof(*scanline)); in ReadPCXImage() 512 p=pixels+(y*pcx_info.bytes_per_line*pcx_info.planes); in ReadPCXImage() 521 for (x=0; x < (ssize_t) pcx_info.bytes_per_line; x++) in ReadPCXImage() 558 for (x=0; x < (ssize_t) pcx_info.bytes_per_line; x++) in ReadPCXImage() 830 for (x=0; x < (ssize_t) pcx_info->bytes_per_line; x++) in PCXWritePixels() [all …]
|
D | xwd.c | 282 ximage->bytes_per_line=(int) header.bytes_per_line; in ReadXWDImage() 293 (ximage->bytes_per_line < 0)) in ReadXWDImage() 366 length=(size_t) ximage->bytes_per_line*ximage->height; in ReadXWDImage() 367 if (CheckOverflowException(length,ximage->bytes_per_line,ximage->height)) in ReadXWDImage() 706 bytes_per_line, in WriteXWDImage() local 758 bytes_per_line=(CARD32) ((((xwd_info.bits_per_pixel* in WriteXWDImage() 761 xwd_info.bytes_per_line=(CARD32) bytes_per_line; in WriteXWDImage() 841 length=3*bytes_per_line; in WriteXWDImage() 843 length=bytes_per_line; in WriteXWDImage() 851 scanline_pad=(bytes_per_line-((image->columns*bits_per_pixel) >> 3)); in WriteXWDImage()
|
D | tim.c | 125 bytes_per_line, in ReadTIMImage() local 237 bytes_per_line=width*2; in ReadTIMImage() 272 p=tim_pixels+y*bytes_per_line; in ReadTIMImage() 309 p=tim_pixels+y*bytes_per_line; in ReadTIMImage() 334 p=tim_pixels+y*bytes_per_line; in ReadTIMImage() 369 p=tim_pixels+y*bytes_per_line; in ReadTIMImage()
|
D | sun.c | 263 bytes_per_line, in ReadSUNImage() local 439 bytes_per_line=sun_info.width*sun_info.depth; in ReadSUNImage() 454 ((bytes_per_line/sun_info.depth) != sun_info.width)) in ReadSUNImage() 460 bytes_per_line+=quantum; in ReadSUNImage() 461 bytes_per_line<<=1; in ReadSUNImage() 462 if ((bytes_per_line >> 1) != (sun_info.width*sun_info.depth+quantum)) in ReadSUNImage() 467 bytes_per_line>>=4; in ReadSUNImage() 468 if (HeapOverflowSanityCheck(height,bytes_per_line) != MagickFalse) in ReadSUNImage() 473 pixels_length=height*bytes_per_line; in ReadSUNImage() 581 if (bytes_per_line == 0) in ReadSUNImage() [all …]
|
D | xbm.c | 212 bytes_per_line, in ReadXBMImage() local 343 bytes_per_line=(unsigned int) (image->columns+7)/8+padding; in ReadXBMImage() 345 data=(unsigned char *) AcquireQuantumMemory(length,bytes_per_line* in ReadXBMImage() 351 for (i=0; i < (ssize_t) (bytes_per_line*image->rows); (i+=2)) in ReadXBMImage() 360 if ((padding == 0) || (((i+2) % bytes_per_line) != 0)) in ReadXBMImage() 364 for (i=0; i < (ssize_t) (bytes_per_line*image->rows); i++) in ReadXBMImage()
|
D | icon.c | 271 bytes_per_line, in ReadICONImage() local 487 bytes_per_line=(((image->columns*icon_info.bits_per_pixel)+31) & in ReadICONImage() 489 (void) bytes_per_line; in ReadICONImage() 901 bytes_per_line, in WriteICONImage() local 1079 bytes_per_line=(((next->columns*icon_info.bits_per_pixel)+31) & in WriteICONImage() 1085 icon_info.image_size=bytes_per_line*next->rows; in WriteICONImage() 1137 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() 1178 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() 1215 q=pixels+(next->rows-y-1)*bytes_per_line; in WriteICONImage() 1241 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 | 102 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 136 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 170 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 202 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 265 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 295 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 353 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 380 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 407 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 434 #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 = 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()
|
/external/swiftshader/src/WSI/ |
D | FrameBufferX11.cpp | 68 …shminfo.shmid = shmget(IPC_PRIVATE, x_image->bytes_per_line * x_image->height, IPC_CREAT | SHM_R |… in FrameBufferX11() 91 int bytes_per_line = width * 4; in FrameBufferX11() local 92 int bytes_per_image = height * bytes_per_line; in FrameBufferX11() 96 …X11->XCreateImage(x_display, visual, depth, ZPixmap, 0, buffer, width, height, 32, bytes_per_line); in FrameBufferX11() 130 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/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() 91 int bytes_per_line = width * 4; in FrameBufferX11() local 92 int bytes_per_image = height * bytes_per_line; in FrameBufferX11() 96 …X11->XCreateImage(x_display, visual, depth, ZPixmap, 0, buffer, width, height, 32, bytes_per_line); in FrameBufferX11() 130 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/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/mesa3d/src/glx/ |
D | drisw_glx.c | 128 bytes_per_line(unsigned pitch_bits, unsigned mul) in bytes_per_line() function 164 ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastPutImage2() 196 ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastGetImage2()
|
/external/u-boot/drivers/video/ |
D | coreboot.c | 25 vesa->bytes_per_scanline = fb->bytes_per_line; in save_vesa_mode()
|
/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;
|
/external/skia/tools/sk_app/unix/ |
D | RasterWindowContext_unix.cpp | 80 image.bytes_per_line = pm.rowBytes() - pm.width() * pm.info().bytesPerPixel(); in swapBuffers()
|
/external/skqp/tools/sk_app/unix/ |
D | RasterWindowContext_unix.cpp | 80 image.bytes_per_line = pm.rowBytes() - pm.width() * pm.info().bytesPerPixel(); in swapBuffers()
|
/external/pdfium/third_party/libtiff/ |
D | tif_ojpeg.c | 333 uint32 bytes_per_line; /* if the codec outputs subsampled data, a 'line' in bytes_per_line */ member 780 sp->skip_buffer=_TIFFmalloc(sp->bytes_per_line); in OJPEGPreDecodeSkipScanlines() 833 if (cc%sp->bytes_per_line!=0) in OJPEGDecodeRaw() 868 m+=sp->bytes_per_line; in OJPEGDecodeRaw() 869 n-=sp->bytes_per_line; in OJPEGDecodeRaw() 881 if (cc%sp->bytes_per_line!=0) in OJPEGDecodeScanlines() 893 m+=sp->bytes_per_line; in OJPEGDecodeScanlines() 894 n-=sp->bytes_per_line; in OJPEGDecodeScanlines() 1239 …sp->bytes_per_line=sp->subsampling_convert_clinelenout*(sp->subsampling_ver*sp->subsampling_hor+2); in OJPEGWriteHeaderInfo() 1249 sp->bytes_per_line=sp->samples_per_pixel_per_plane*sp->strile_width; in OJPEGWriteHeaderInfo()
|
/external/u-boot/arch/x86/lib/ |
D | coreboot_table.c | 156 fb->bytes_per_line = vesa->bytes_per_scanline; in write_coreboot_table()
|