/external/ImageMagick/coders/ |
D | sgi.c | 78 bytes_per_pixel; member 167 static MagickBooleanType SGIDecode(const size_t bytes_per_pixel, in SGIDecode() argument 183 if (bytes_per_pixel == 2) in SGIDecode() 284 bytes_per_pixel, in ReadSGIImage() local 331 iris_info.bytes_per_pixel=(unsigned char) ReadBlobByte(image); in ReadSGIImage() 332 if ((iris_info.bytes_per_pixel == 0) || (iris_info.bytes_per_pixel > 2)) in ReadSGIImage() 358 iris_info.bytes_per_pixel,MAGICKCORE_QUANTUM_DEPTH); in ReadSGIImage() 362 image->colors=iris_info.bytes_per_pixel > 1 ? 65535 : 256; in ReadSGIImage() 373 bytes_per_pixel=(size_t) iris_info.bytes_per_pixel; in ReadSGIImage() 375 if ((4*bytes_per_pixel*number_pixels) != ((MagickSizeType) (size_t) in ReadSGIImage() [all …]
|
D | viff.c | 240 bytes_per_pixel, in ReadVIFFImage() local 401 case VFF_MAPTYP_1_BYTE: bytes_per_pixel=1; break; in ReadVIFFImage() 402 case VFF_MAPTYP_2_BYTE: bytes_per_pixel=2; break; in ReadVIFFImage() 403 case VFF_MAPTYP_4_BYTE: bytes_per_pixel=4; break; in ReadVIFFImage() 404 case VFF_MAPTYP_FLOAT: bytes_per_pixel=4; break; in ReadVIFFImage() 405 case VFF_MAPTYP_DOUBLE: bytes_per_pixel=8; break; in ReadVIFFImage() 406 default: bytes_per_pixel=1; break; in ReadVIFFImage() 412 (viff_info.map_rows*bytes_per_pixel*sizeof(*viff_colormap))) in ReadVIFFImage() 415 viff_info.map_rows*bytes_per_pixel*sizeof(*viff_colormap)); in ReadVIFFImage() 421 count=ReadBlob(image,bytes_per_pixel*image->colors*viff_info.map_rows, in ReadVIFFImage() [all …]
|
D | dcm.c | 2826 bytes_per_pixel, in ReadDCMImage() local 2898 bytes_per_pixel=1; in ReadDCMImage() 3269 bytes_per_pixel=1; in ReadDCMImage() 3271 bytes_per_pixel=2; in ReadDCMImage() 3284 bytes_per_pixel=1; in ReadDCMImage() 3286 bytes_per_pixel=2; in ReadDCMImage() 3353 colors=(size_t) (length/bytes_per_pixel); in ReadDCMImage() 3360 if (bytes_per_pixel == 1) in ReadDCMImage() 3792 bytes_per_pixel=1; in ReadDCMImage() 3893 if (bytes_per_pixel == 1) in ReadDCMImage() [all …]
|
D | sun.c | 554 bytes_per_pixel; in ReadSUNImage() local 556 bytes_per_pixel=3; in ReadSUNImage() 558 bytes_per_pixel++; in ReadSUNImage() 560 bytes_per_line=bytes_per_pixel*image->columns; in ReadSUNImage() 593 if (((bytes_per_pixel*image->columns) % 2) != 0) in ReadSUNImage() 872 bytes_per_pixel, in WriteSUNImage() local 881 bytes_per_pixel=3; in WriteSUNImage() 883 bytes_per_pixel++; in WriteSUNImage() 906 if (((bytes_per_pixel*image->columns) & 0x01) != 0) in WriteSUNImage()
|
D | xcf.c | 117 bytes_per_pixel; member 427 bytes_per_pixel, in load_tile_rle() local 439 bytes_per_pixel=(ssize_t) inDocInfo->bytes_per_pixel; in load_tile_rle() 448 for (i=0; i < (ssize_t) bytes_per_pixel; i++) in load_tile_rle() 722 bytes_per_pixel; in load_hierarchy() local 728 bytes_per_pixel=inDocInfo->bytes_per_pixel=ReadBlobMSBLong(image); in load_hierarchy() 729 (void) bytes_per_pixel; in load_hierarchy()
|
D | pict.c | 433 bytes_per_pixel, in DecodeImage() local 454 bytes_per_pixel=1; in DecodeImage() 457 bytes_per_pixel=2; in DecodeImage() 538 number_pixels=length*bytes_per_pixel; in DecodeImage() 543 j+=(ssize_t) (length*bytes_per_pixel+1); in DecodeImage() 548 number_pixels=bytes_per_pixel; in DecodeImage() 556 j+=(ssize_t) bytes_per_pixel+1; in DecodeImage()
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | differ.h | 31 Differ(int width, int height, int bytes_per_pixel, int stride); 36 int bytes_per_pixel() { return bytes_per_pixel_; } in bytes_per_pixel() function
|
/external/syslinux/com32/lib/libpng/ |
D | pngwtran.c | 534 int bytes_per_pixel; in png_do_write_intrapixel() local 542 bytes_per_pixel = 3; in png_do_write_intrapixel() 544 bytes_per_pixel = 4; in png_do_write_intrapixel() 548 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel() 560 bytes_per_pixel = 6; in png_do_write_intrapixel() 562 bytes_per_pixel = 8; in png_do_write_intrapixel() 566 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
|
D | example.c | 759 png_byte image[height][width*bytes_per_pixel]; 766 row_pointers[k] = image + k*width*bytes_per_pixel;
|
/external/mesa3d/src/mesa/main/ |
D | image.c | 156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local 159 bytes_per_pixel = _mesa_bytes_per_pixel( format, type ); in _mesa_image_offset() 162 assert(bytes_per_pixel > 0); in _mesa_image_offset() 164 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset() 186 + (skippixels + column) * bytes_per_pixel; in _mesa_image_offset()
|
/external/syslinux/com32/lib/sys/vesa/ |
D | drawtxt.c | 83 unsigned int bytes_per_pixel = __vesacon_bytes_per_pixel; in vesacon_update_characters() local 94 (col * width + VIDEO_BORDER) * bytes_per_pixel; in vesacon_update_characters()
|
D | background.c | 49 unsigned int bytes_per_pixel = __vesacon_bytes_per_pixel; in draw_background_line() local 50 size_t fbptr = line * __vesa_info.mi.logical_scan + start*bytes_per_pixel; in draw_background_line()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 487 const int bytes_per_pixel = 4; in test_import_vgem() local 488 const int size = width * height * bytes_per_pixel; in test_import_vgem() 500 fd_data.stride = width * bytes_per_pixel; in test_import_vgem()
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | utils.c | 239 static const uint8_t bytes_per_pixel[6] = { in driCreateConfigs() local 312 switch ( bytes_per_pixel[ index ] ) { in driCreateConfigs()
|
/external/pdfium/third_party/libpng16/ |
D | pngwrite.c | 629 int bytes_per_pixel; in png_do_write_intrapixel() local 637 bytes_per_pixel = 3; in png_do_write_intrapixel() 640 bytes_per_pixel = 4; in png_do_write_intrapixel() 645 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel() 659 bytes_per_pixel = 6; in png_do_write_intrapixel() 662 bytes_per_pixel = 8; in png_do_write_intrapixel() 667 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
|
D | pngread.c | 323 int bytes_per_pixel; in png_do_read_intrapixel() local 332 bytes_per_pixel = 3; in png_do_read_intrapixel() 335 bytes_per_pixel = 4; in png_do_read_intrapixel() 340 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel() 352 bytes_per_pixel = 6; in png_do_read_intrapixel() 355 bytes_per_pixel = 8; in png_do_read_intrapixel() 360 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
|
/external/libpng/ |
D | pngwrite.c | 629 int bytes_per_pixel; in png_do_write_intrapixel() local 637 bytes_per_pixel = 3; in png_do_write_intrapixel() 640 bytes_per_pixel = 4; in png_do_write_intrapixel() 645 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel() 659 bytes_per_pixel = 6; in png_do_write_intrapixel() 662 bytes_per_pixel = 8; in png_do_write_intrapixel() 667 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
|
D | example.c | 986 png_byte image[height*width*bytes_per_pixel]; 995 row_pointers[k] = image + k*width*bytes_per_pixel;
|
D | pngread.c | 323 int bytes_per_pixel; in png_do_read_intrapixel() local 332 bytes_per_pixel = 3; in png_do_read_intrapixel() 335 bytes_per_pixel = 4; in png_do_read_intrapixel() 340 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel() 352 bytes_per_pixel = 6; in png_do_read_intrapixel() 355 bytes_per_pixel = 8; in png_do_read_intrapixel() 360 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
|
/external/skia/third_party/libpng/ |
D | pngwrite.c | 629 int bytes_per_pixel; in png_do_write_intrapixel() local 637 bytes_per_pixel = 3; in png_do_write_intrapixel() 640 bytes_per_pixel = 4; in png_do_write_intrapixel() 645 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel() 659 bytes_per_pixel = 6; in png_do_write_intrapixel() 662 bytes_per_pixel = 8; in png_do_write_intrapixel() 667 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
|
D | example.c | 986 png_byte image[height*width*bytes_per_pixel]; 995 row_pointers[k] = image + k*width*bytes_per_pixel;
|
D | pngread.c | 320 int bytes_per_pixel; in png_do_read_intrapixel() local 329 bytes_per_pixel = 3; in png_do_read_intrapixel() 332 bytes_per_pixel = 4; in png_do_read_intrapixel() 337 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel() 349 bytes_per_pixel = 6; in png_do_read_intrapixel() 352 bytes_per_pixel = 8; in png_do_read_intrapixel() 357 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_x11.c | 65 dri2_surf->bytes_per_pixel = 4; in swrastCreateDrawable() 68 dri2_surf->bytes_per_pixel = 2; in swrastCreateDrawable() 71 dri2_surf->bytes_per_pixel = 1; in swrastCreateDrawable() 74 dri2_surf->bytes_per_pixel = 0; in swrastCreateDrawable() 140 w*h*dri2_surf->bytes_per_pixel, (const uint8_t *)data); in swrastPutImage()
|
D | egl_dri2.h | 164 int bytes_per_pixel; member
|
/external/ImageMagick/MagickCore/ |
D | xwindow.c | 6120 bytes_per_pixel; in XMakeImageLSBFirst() local 6125 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageLSBFirst() 6135 for (k=0; k < (int) bytes_per_pixel; k++) in XMakeImageLSBFirst() 6367 bytes_per_pixel; in XMakeImageLSBFirst() local 6372 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageLSBFirst() 6382 for (k=0; k < (int) bytes_per_pixel; k++) in XMakeImageLSBFirst() 6739 bytes_per_pixel; in XMakeImageMSBFirst() local 6747 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageMSBFirst() 6758 for (k=(int) bytes_per_pixel-1; k >= 0; k--) in XMakeImageMSBFirst() 6763 for (k=0; k < (int) bytes_per_pixel; k++) in XMakeImageMSBFirst() [all …]
|