Home
last modified time | relevance | path

Searched refs:bfOffBits (Results 1 – 6 of 6) sorted by relevance

/external/libvncserver/test/
Dbmp.c62 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()
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp79 bmp_ptr->bmp_header_ptr->bfOffBits = in _bmp_read_header()
80 _GetDWord_LSBFirst((uint8_t*)&bmp_header_ptr->bfOffBits); in _bmp_read_header()
253 if (bmp_ptr->bmp_header_ptr->bfOffBits < 26 + bmp_ptr->img_ifh_size) { in _bmp_read_header()
254 bmp_ptr->bmp_header_ptr->bfOffBits = 26 + bmp_ptr->img_ifh_size; in _bmp_read_header()
303 if (bmp_ptr->bmp_header_ptr->bfOffBits < in _bmp_read_header()
306 bmp_ptr->bmp_header_ptr->bfOffBits = in _bmp_read_header()
318 bmp_ptr, bmp_ptr->bmp_header_ptr->bfOffBits)) { in _bmp_decode_image()
690 _SetDWord_LSBFirst(&dst_buf[offset], head_ptr->bfOffBits); in WriteFileHeader()
732 dst_pos = bmp_ptr->file_header.bfOffBits; in _bmp_encode_bitfields()
762 bmp_ptr->file_header.bfOffBits = dst_pos; in _bmp_encode_bitfields()
[all …]
Dfx_bmp.h40 FX_DWORD bfOffBits; member
/external/libjpeg-turbo/
Drdbmp.c289 unsigned int bfOffBits; in start_input_bmp() local
306 bfOffBits = GET_4B(bmpfileheader,10); in start_input_bmp()
391 bPad = bfOffBits - (headerSize + 14); in start_input_bmp()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug.c568 uint32_t bfOffBits; member
657 bmfh.bfOffBits = 14 + 40; in debug_dump_float_rgba_bmp()
/external/pdfium/samples/
Dpdfium_test.cc164 file_header.bfOffBits = file_header.bfSize - out_len; in WriteBmp()