/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/gnu/javax/imageio/bmp/ |
H A D | BMPFileHeader.java | 57 protected long bfOffBits; field in BMPFileHeader 88 bfOffBits = ((long)buf.getInt(10) & (0xFFFFFFFF)); in BMPFileHeader() 104 bfOffBits = SIZE + BITMAPINFOHEADER_SIZE; in BMPFileHeader() 105 bfSize = ((w * h) * 3) + ((4 - ((w * 3) % 4)) * h) + bfOffBits; in BMPFileHeader() 120 buf.putInt(7, (int)(bfOffBits & (0xFFFFFFFF))); // size in write() 135 bfOffBits = offset; in setOffset() 149 return bfOffBits; in getOffset()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/gnu/javax/imageio/bmp/ |
H A D | BMPFileHeader.java | 57 protected long bfOffBits; field in BMPFileHeader 88 bfOffBits = ((long)buf.getInt(10) & (0xFFFFFFFF)); in BMPFileHeader() 104 bfOffBits = SIZE + BITMAPINFOHEADER_SIZE; in BMPFileHeader() 105 bfSize = ((w * h) * 3) + ((4 - ((w * 3) % 4)) * h) + bfOffBits; in BMPFileHeader() 120 buf.putInt(7, (int)(bfOffBits & (0xFFFFFFFF))); // size in write() 135 bfOffBits = offset; in setOffset() 149 return bfOffBits; in getOffset()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/gnu/javax/imageio/bmp/ |
H A D | BMPFileHeader.java | 57 protected long bfOffBits; field in BMPFileHeader 88 bfOffBits = ((long)buf.getInt(10) & (0xFFFFFFFF)); in BMPFileHeader() 104 bfOffBits = SIZE + BITMAPINFOHEADER_SIZE; in BMPFileHeader() 105 bfSize = ((w * h) * 3) + ((4 - ((w * 3) % 4)) * h) + bfOffBits; in BMPFileHeader() 120 buf.putInt(7, (int)(bfOffBits & (0xFFFFFFFF))); // size in write() 135 bfOffBits = offset; in setOffset() 149 return bfOffBits; in getOffset()
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/gnu/javax/imageio/bmp/ |
H A D | BMPFileHeader.java | 57 protected long bfOffBits; field in BMPFileHeader 88 bfOffBits = ((long)buf.getInt(10) & (0xFFFFFFFF)); in BMPFileHeader() 104 bfOffBits = SIZE + BITMAPINFOHEADER_SIZE; in BMPFileHeader() 105 bfSize = ((w * h) * 3) + ((4 - ((w * 3) % 4)) * h) + bfOffBits; in BMPFileHeader() 120 buf.putInt(7, (int)(bfOffBits & (0xFFFFFFFF))); // size in write() 135 bfOffBits = offset; in setOffset() 149 return bfOffBits; in getOffset()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/gnu/javax/imageio/bmp/ |
H A D | BMPFileHeader.java | 57 protected long bfOffBits; field in BMPFileHeader 88 bfOffBits = ((long)buf.getInt(10) & (0xFFFFFFFF)); in BMPFileHeader() 104 bfOffBits = SIZE + BITMAPINFOHEADER_SIZE; in BMPFileHeader() 105 bfSize = ((w * h) * 3) + ((4 - ((w * 3) % 4)) * h) + bfOffBits; in BMPFileHeader() 120 buf.putInt(7, (int)(bfOffBits & (0xFFFFFFFF))); // size in write() 135 bfOffBits = offset; in setOffset() 149 return bfOffBits; in getOffset()
|
/dports/java/sablevm-classpath/sablevm-classpath-1.13/gnu/javax/imageio/bmp/ |
H A D | BMPFileHeader.java | 54 private long bfOffBits; field in BMPFileHeader 83 bfOffBits = ((long)buf.getInt(10) & (0xFFFFFFFF)); in BMPFileHeader() 95 buf.putInt(2, (int)(bfOffBits & (0xFFFFFFFF))); // size in write() 110 bfOffBits = offset; in setOffset() 124 return bfOffBits; in getOffset()
|
/dports/emulators/teo/teo/src/file/ |
H A D | bmp.c | 65 int bfOffBits; member 154 fp_bmp.bfOffBits = BMP_HEADER_SIZE + (nbcolors * 4); in bmp_WriteOpen() 163 || (fput32 (fp_bmp.bfOffBits+fp_bmp.biSizeImage) != 0) /* bfSize */ in bmp_WriteOpen() 166 || (fput32 (fp_bmp.bfOffBits) != 0)) /* bfOffBits */ in bmp_WriteOpen() 210 pos = (long int)(fp_bmp.bfOffBits+fp_bmp.row_length*fp_bmp.row_number); in bmp_WriteRow()
|
/dports/games/openclonk/openclonk-release-8.1-src/src/graphics/ |
H A D | Bitmap256.cpp | 31 return Head.bfOffBits-sizeof(C4BMPInfo); in FileBitsOffset() 40 Head.bfOffBits=sizeof(BITMAPFILEHEADER)+sizeof(BITMAPINFOHEADER); in Set() 62 return Head.bfOffBits-sizeof(C4BMP256Info); in FileBitsOffset() 71 Head.bfOffBits=sizeof(BITMAPFILEHEADER)+sizeof(BITMAPINFOHEADER)+256*sizeof(RGBQUAD); in Set()
|
/dports/science/py-dlib/dlib-19.22/dlib/image_loader/ |
H A D | image_loader.h | 43 unsigned long bfOffBits; in load_bmp() local 85 bfOffBits = a | (b<<8) | (c<<16) | (d<<24); in load_bmp() 153 if (bfSize - bfOffBits == biWidth*biHeight/8) in load_bmp() 177 while (bytes_read_so_far != bfOffBits) in load_bmp() 228 if (bfSize - bfOffBits == biWidth*biHeight/2) in load_bmp() 252 while (bytes_read_so_far != bfOffBits) in load_bmp() 300 if (bfSize - bfOffBits == biWidth*biHeight) in load_bmp() 307 if (biHeight*(biWidth+padding) > bfSize - bfOffBits) in load_bmp() 329 while (bytes_read_so_far != bfOffBits) in load_bmp() 484 if (bfSize - bfOffBits == biWidth*biHeight*3) in load_bmp() [all …]
|
/dports/science/dlib-cpp/dlib-19.22/dlib/image_loader/ |
H A D | image_loader.h | 43 unsigned long bfOffBits; in load_bmp() local 85 bfOffBits = a | (b<<8) | (c<<16) | (d<<24); in load_bmp() 153 if (bfSize - bfOffBits == biWidth*biHeight/8) in load_bmp() 177 while (bytes_read_so_far != bfOffBits) in load_bmp() 228 if (bfSize - bfOffBits == biWidth*biHeight/2) in load_bmp() 252 while (bytes_read_so_far != bfOffBits) in load_bmp() 300 if (bfSize - bfOffBits == biWidth*biHeight) in load_bmp() 307 if (biHeight*(biWidth+padding) > bfSize - bfOffBits) in load_bmp() 329 while (bytes_read_so_far != bfOffBits) in load_bmp() 484 if (bfSize - bfOffBits == biWidth*biHeight*3) in load_bmp() [all …]
|
/dports/x11/virtualgl/virtualgl-3.0/util/ |
H A D | bmp.c | 43 unsigned int bfOffBits; member 208 READ(fd, &bh.bfOffBits, sizeof(unsigned int)); in bmp_load() 224 bh.bfOffBits = BYTESWAP(bh.bfOffBits); in bmp_load() 238 if(bh.bfType != 0x4d42 || bh.bfOffBits < BMPHDRSIZE || bh.biWidth < 1 in bmp_load() 251 if(srcPitch * (*height) + bh.bfOffBits != bh.bfSize) in bmp_load() 256 if(lseek(fd, (long)bh.bfOffBits, SEEK_SET) != (long)bh.bfOffBits) in bmp_load() 329 bh.bfOffBits = BMPHDRSIZE; in bmp_save() 341 bh.bfOffBits = BYTESWAP(bh.bfOffBits); in bmp_save() 359 WRITE(fd, &bh.bfOffBits, sizeof(unsigned int)); in bmp_save()
|
/dports/net/libvncserver/libvncserver-LibVNCServer-0.9.13/test/ |
H A D | bmp.c | 62 unsigned int bfOffBits; member 210 readme(fd, &bh.bfOffBits, sizeof(unsigned int)); in loadbmp() 226 bh.bfOffBits=byteswap(bh.bfOffBits); in loadbmp() 240 if(bh.bfType!=0x4d42 || bh.bfOffBits<BMPHDRSIZE in loadbmp() 251 if(srcpitch*(*h)+bh.bfOffBits!=bh.bfSize) _throw("Corrupt bitmap header"); in loadbmp() 255 if(lseek(fd, (long)bh.bfOffBits, SEEK_SET)!=(long)bh.bfOffBits) in loadbmp() 328 bh.bfOffBits=BMPHDRSIZE; in savebmp() 340 bh.bfOffBits=byteswap(bh.bfOffBits); in savebmp() 358 writeme(fd, &bh.bfOffBits, sizeof(unsigned int)); in savebmp()
|
/dports/devel/sdl12/SDL-1.2.15/src/video/ |
H A D | SDL_bmp.c | 69 Uint32 bfOffBits; in SDL_LoadBMP_RW() local 108 bfOffBits = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 176 if ( bfOffBits == (14+biSize) ) { in SDL_LoadBMP_RW() 256 if ( SDL_RWseek(src, fp_offset+bfOffBits, RW_SEEK_SET) < 0 ) { in SDL_LoadBMP_RW() 372 Uint32 bfOffBits; in SDL_SaveBMP_RW() local 445 bfOffBits = 0; /* We'll write this when we're done */ in SDL_SaveBMP_RW() 454 SDL_WriteLE32(dst, bfOffBits); in SDL_SaveBMP_RW() 502 bfOffBits = SDL_RWtell(dst)-fp_offset; in SDL_SaveBMP_RW() 506 SDL_WriteLE32(dst, bfOffBits); in SDL_SaveBMP_RW() 507 if ( SDL_RWseek(dst, fp_offset+bfOffBits, RW_SEEK_SET) < 0 ) { in SDL_SaveBMP_RW()
|
/dports/games/xblast/xblast-2.10.4/ |
H A D | sdl_ppm.c | 75 Uint32 bfOffBits; in SDL_LoadPPM() local 114 bfOffBits = SDL_ReadLE32 (src); in SDL_LoadPPM() 166 if (bfOffBits == (14 + biSize)) { in SDL_LoadPPM() 247 if (SDL_RWseek (src, fp_offset + bfOffBits, SEEK_SET) < 0) { in SDL_LoadPPM() 350 Uint32 bfOffBits; in SDL_SaveBMP_RW() local 417 bfOffBits = 0; /* We'll write this when we're done */ in SDL_SaveBMP_RW() 426 SDL_WriteLE32 (dst, bfOffBits); in SDL_SaveBMP_RW() 475 bfOffBits = SDL_RWtell (dst) - fp_offset; in SDL_SaveBMP_RW() 479 SDL_WriteLE32 (dst, bfOffBits); in SDL_SaveBMP_RW() 480 if (SDL_RWseek (dst, fp_offset + bfOffBits, SEEK_SET) < 0) { in SDL_SaveBMP_RW()
|
/dports/games/warmux/warmux-11.04/build/android/jni/sdl/src/video/ |
H A D | SDL_bmp.c | 69 Uint32 bfOffBits; in SDL_LoadBMP_RW() local 108 bfOffBits = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 165 if ( bfOffBits == (14+biSize) ) { in SDL_LoadBMP_RW() 245 if ( SDL_RWseek(src, fp_offset+bfOffBits, RW_SEEK_SET) < 0 ) { in SDL_LoadBMP_RW() 361 Uint32 bfOffBits; in SDL_SaveBMP_RW() local 434 bfOffBits = 0; /* We'll write this when we're done */ in SDL_SaveBMP_RW() 443 SDL_WriteLE32(dst, bfOffBits); in SDL_SaveBMP_RW() 491 bfOffBits = SDL_RWtell(dst)-fp_offset; in SDL_SaveBMP_RW() 495 SDL_WriteLE32(dst, bfOffBits); in SDL_SaveBMP_RW() 496 if ( SDL_RWseek(dst, fp_offset+bfOffBits, RW_SEEK_SET) < 0 ) { in SDL_SaveBMP_RW()
|
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/sdl/video/ |
H A D | SDL_bmp.c | 69 Uint32 bfOffBits; in LRSDL_LoadBMP_RW() local 108 bfOffBits = LRSDL_ReadLE32(src); in LRSDL_LoadBMP_RW() 176 if ( bfOffBits == (14+biSize) ) { in LRSDL_LoadBMP_RW() 268 if ( LRSDL_RWseek(src, fp_offset+bfOffBits, RW_SEEK_SET) < 0 ) { in LRSDL_LoadBMP_RW() 384 Uint32 bfOffBits; in LRSDL_SaveBMP_RW() local 458 bfOffBits = 0; /* We'll write this when we're done */ in LRSDL_SaveBMP_RW() 467 LRSDL_WriteLE32(dst, bfOffBits); in LRSDL_SaveBMP_RW() 515 bfOffBits = LRSDL_RWtell(dst)-fp_offset; in LRSDL_SaveBMP_RW() 519 LRSDL_WriteLE32(dst, bfOffBits); in LRSDL_SaveBMP_RW() 520 if ( LRSDL_RWseek(dst, fp_offset+bfOffBits, RW_SEEK_SET) < 0 ) { in LRSDL_SaveBMP_RW()
|
/dports/astro/xplanet/xplanet-1.3.1/src/libimage/ |
H A D | bmp.c | 30 int bfOffBits; /* Byte offset to actual bitmap data (= 54) */ member 68 bmph.bfOffBits = 54; in write_bmp() 69 bmph.bfSize = bmph.bfOffBits + bytesPerLine * height; in write_bmp() 89 fwrite(&bmph.bfOffBits, 4, 1, file); in write_bmp()
|
/dports/deskutils/fbreader/FBReader-0.99.6-freebsdport/zlibrary/ui/src/win32/image/ |
H A D | ZLWin32ImageManager_bmp.cpp | 33 const int infoSize = fileHeader.bfOffBits - sizeof(BITMAPFILEHEADER); in bmpConvert() 36 const int arraySize = fileHeader.bfSize - fileHeader.bfOffBits; in bmpConvert() 38 memcpy(data.myArray, stringData.data() + fileHeader.bfOffBits, arraySize); in bmpConvert()
|
/dports/multimedia/handbrake/zimg-release-3.0.1/doc/example/misc/ |
H A D | win32_bitmap.cpp | 22 DWORD bfOffBits; member 88 if (bfHeader->bfOffBits > file_size || bfHeader->bfSize > file_size) in BitmapFileData() 91 image_data = ptr + bfHeader->bfOffBits; in BitmapFileData() 104 bfHeader->bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); in init() 125 …if (bfHeader->bfOffBits + bitmap_data_size(biHeader->biWidth, biHeader->biHeight, biHeader->biBitC… in validate() 131 … if (bfHeader->bfOffBits < sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) + sizeof(DWORD) * 4) in validate()
|
/dports/graphics/sekrit-twc-zimg/zimg-release-3.0.3/doc/example/misc/ |
H A D | win32_bitmap.cpp | 22 DWORD bfOffBits; member 88 if (bfHeader->bfOffBits > file_size || bfHeader->bfSize > file_size) in BitmapFileData() 91 image_data = ptr + bfHeader->bfOffBits; in BitmapFileData() 104 bfHeader->bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); in init() 125 …if (bfHeader->bfOffBits + bitmap_data_size(biHeader->biWidth, biHeader->biHeight, biHeader->biBitC… in validate() 131 … if (bfHeader->bfOffBits < sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) + sizeof(DWORD) * 4) in validate()
|
/dports/graphics/sekrit-twc-zimg/zimg-release-3.0.3/src/testcommon/ |
H A D | win32_bitmap.cpp | 22 DWORD bfOffBits; member 88 if (bfHeader->bfOffBits > file_size || bfHeader->bfSize > file_size) in BitmapFileData() 91 image_data = ptr + bfHeader->bfOffBits; in BitmapFileData() 104 bfHeader->bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); in init() 125 …if (bfHeader->bfOffBits + bitmap_data_size(biHeader->biWidth, biHeader->biHeight, biHeader->biBitC… in validate() 131 … if (bfHeader->bfOffBits < sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) + sizeof(DWORD) * 4) in validate()
|
/dports/multimedia/handbrake/zimg-release-3.0.1/src/testcommon/ |
H A D | win32_bitmap.cpp | 22 DWORD bfOffBits; member 88 if (bfHeader->bfOffBits > file_size || bfHeader->bfSize > file_size) in BitmapFileData() 91 image_data = ptr + bfHeader->bfOffBits; in BitmapFileData() 104 bfHeader->bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); in init() 125 …if (bfHeader->bfOffBits + bitmap_data_size(biHeader->biWidth, biHeader->biHeight, biHeader->biBitC… in validate() 131 … if (bfHeader->bfOffBits < sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) + sizeof(DWORD) * 4) in validate()
|
/dports/editors/abiword/abiword-3.0.5/plugins/paint/win/ |
H A D | bmp2png.cpp | 90 if(lpbmfh->bfOffBits >= bmpsize) { in convertBMP2PNG() 96 d2p.lpbits = &bmpp[lpbmfh->bfOffBits]; in convertBMP2PNG() 99 d2p.bitssize = bmpsize-lpbmfh->bfOffBits; in convertBMP2PNG()
|
/dports/devel/app-builder/app-builder-3.4.2/vendor/github.com/jsummers/gobmp/ |
H A D | reader.go | 36 bfOffBits uint32 member 201 if currentOffset == int(d.bfOffBits) { 204 if currentOffset > int(d.bfOffBits) { 207 gapSize := int(d.bfOffBits) - currentOffset 227 if int(d.bfOffBits) >= paletteStart+d.srcPalBytesPerEntry && int(d.bfOffBits) < paletteEnd { 228 d.srcPalNumEntries = (int(d.bfOffBits) - paletteStart) / 3 293 d.bfOffBits { 429 d.bfOffBits = getDWORD(b[10:14])
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/video/ |
H A D | SDL_bmp.c | 112 Uint32 bfOffBits = 0; in SDL_LoadBMP_RW() local 151 bfOffBits = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 355 if (SDL_RWseek(src, fp_offset + bfOffBits, RW_SEEK_SET) < 0) { in SDL_LoadBMP_RW() 474 Uint32 bfOffBits; in SDL_SaveBMP_RW() local 563 bfOffBits = 0; /* We'll write this when we're done */ in SDL_SaveBMP_RW() 572 SDL_WriteLE32(dst, bfOffBits); in SDL_SaveBMP_RW() 650 bfOffBits = (Uint32)(SDL_RWtell(dst) - fp_offset); in SDL_SaveBMP_RW() 654 SDL_WriteLE32(dst, bfOffBits); in SDL_SaveBMP_RW() 655 if (SDL_RWseek(dst, fp_offset + bfOffBits, RW_SEEK_SET) < 0) { in SDL_SaveBMP_RW()
|