/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/mesa3d/src/mesa/state_tracker/ |
D | st_pbo.c | 68 … unsigned ofs = (buf_offset * addr->bytes_per_pixel) % st->ctx->Const.TextureBufferOffsetAlignment; in st_pbo_addresses_setup() 70 if (ofs % addr->bytes_per_pixel != 0) in st_pbo_addresses_setup() 73 skip_pixels = ofs / addr->bytes_per_pixel; in st_pbo_addresses_setup() 91 assert((addr->last_element + 1) * addr->bytes_per_pixel <= buf->width0); in st_pbo_addresses_setup() 118 if (buf_offset % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore() 122 buf_offset = buf_offset / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore() 135 unsigned bytes_per_row = pixels_per_row * addr->bytes_per_pixel; in st_pbo_addresses_pixelstore() 142 if (bytes_per_row % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore() 145 addr->pixels_per_row = bytes_per_row / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
|
D | st_pbo.h | 38 unsigned bytes_per_pixel; member
|
D | st_cb_readpixels.c | 122 addr.bytes_per_pixel = desc->block.bits / 8; in try_pbo_readpixels() 202 image.u.buf.offset = addr.first_element * addr.bytes_per_pixel; in try_pbo_readpixels() 204 addr.bytes_per_pixel; in try_pbo_readpixels()
|
D | st_cb_texture.c | 1178 templ.u.buf.offset = addr->first_element * addr->bytes_per_pixel; in try_pbo_upload_common() 1180 addr->bytes_per_pixel; in try_pbo_upload_common() 1316 addr.bytes_per_pixel = desc->block.bits / 8; in try_pbo_upload() 1680 addr.bytes_per_pixel = util_format_get_blocksize(dst->format); in st_CompressedTexSubImage() 1684 switch (addr.bytes_per_pixel) { in st_CompressedTexSubImage() 1708 assert(store.CopyBytesPerRow % addr.bytes_per_pixel == 0); in st_CompressedTexSubImage() 1709 assert(store.SkipBytes % addr.bytes_per_pixel == 0); in st_CompressedTexSubImage() 1714 if (buf_offset % addr.bytes_per_pixel) { in st_CompressedTexSubImage() 1718 buf_offset = buf_offset / addr.bytes_per_pixel; in st_CompressedTexSubImage() 1722 addr.width = store.CopyBytesPerRow / addr.bytes_per_pixel; in st_CompressedTexSubImage() [all …]
|
/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/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/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 589 const int bytes_per_pixel = 4; in test_import_vgem() local 590 const int size = width * height * bytes_per_pixel; in test_import_vgem() 602 fd_data.stride = width * bytes_per_pixel; in test_import_vgem() 923 uint32_t x, y, p, w, h, b, planes, bytes_per_pixel, idx; in test_gem_map_format() local 949 bytes_per_pixel = format_info_list[format_index].planes[p].bits_per_pixel / 8; in test_gem_map_format() 952 idx = y * stride + x * bytes_per_pixel; in test_gem_map_format() 953 for (b = 0; b < bytes_per_pixel; ++b) in test_gem_map_format() 974 bytes_per_pixel = format_info_list[format_index].planes[p].bits_per_pixel / 8; in test_gem_map_format() 977 idx = y * stride + x * bytes_per_pixel; in test_gem_map_format() 978 for (b = 0; b < bytes_per_pixel; ++b) in test_gem_map_format()
|
/external/libpng/ |
D | example.c | 988 if (height > PNG_SIZE_MAX/(width*bytes_per_pixel)) { 991 png_byte image[height*width*bytes_per_pixel]; 1000 row_pointers[k] = image + k*width*bytes_per_pixel;
|
D | pngwrite.c | 640 int bytes_per_pixel; in png_do_write_intrapixel() local 648 bytes_per_pixel = 3; in png_do_write_intrapixel() 651 bytes_per_pixel = 4; in png_do_write_intrapixel() 656 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel() 670 bytes_per_pixel = 6; in png_do_write_intrapixel() 673 bytes_per_pixel = 8; in png_do_write_intrapixel() 678 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
|
D | pngread.c | 328 int bytes_per_pixel; in png_do_read_intrapixel() local 337 bytes_per_pixel = 3; in png_do_read_intrapixel() 340 bytes_per_pixel = 4; in png_do_read_intrapixel() 345 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel() 357 bytes_per_pixel = 6; in png_do_read_intrapixel() 360 bytes_per_pixel = 8; in png_do_read_intrapixel() 365 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
|
/external/mesa3d/src/mesa/main/ |
D | image.c | 173 GLintptr bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local 176 bytes_per_pixel = _mesa_bytes_per_pixel( format, type ); in _mesa_image_offset() 179 assert(bytes_per_pixel > 0); in _mesa_image_offset() 181 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset() 203 + (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/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/mesa3d/src/egl/drivers/dri2/ |
D | platform_x11.c | 77 dri2_surf->bytes_per_pixel = 4; in swrastCreateDrawable() 80 dri2_surf->bytes_per_pixel = 2; in swrastCreateDrawable() 83 dri2_surf->bytes_per_pixel = 1; in swrastCreateDrawable() 86 dri2_surf->bytes_per_pixel = 0; in swrastCreateDrawable() 152 w*h*dri2_surf->bytes_per_pixel, (const uint8_t *)data); in swrastPutImage()
|
D | egl_dri2.h | 252 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 …]
|