Home
last modified time | relevance | path

Searched refs:bfh (Results 1 – 3 of 3) sorted by relevance

/reactos/dll/win32/windowscodecs/
H A Dbmpencode.c328 BITMAPFILEHEADER bfh; in BmpFrameEncode_Commit() local
340 bfh.bfType = 0x4d42; /* "BM" */ in BmpFrameEncode_Commit()
341 bfh.bfReserved1 = 0; in BmpFrameEncode_Commit()
342 bfh.bfReserved2 = 0; in BmpFrameEncode_Commit()
369 bfh.bfSize = sizeof(BITMAPFILEHEADER) + info_size + bih.bV5SizeImage; in BmpFrameEncode_Commit()
370 bfh.bfOffBits = sizeof(BITMAPFILEHEADER) + info_size; in BmpFrameEncode_Commit()
371 bfh.bfOffBits += bih.bV5ClrUsed * sizeof(WICColor); in BmpFrameEncode_Commit()
377 hr = IStream_Write(This->stream, &bfh, sizeof(BITMAPFILEHEADER), &byteswritten); in BmpFrameEncode_Commit()
H A Dbmpdecode.c780 BITMAPFILEHEADER bfh; in BmpDecoder_ReadHeaders() local
781 hr = IStream_Read(stream, &bfh, sizeof(BITMAPFILEHEADER), &bytesread); in BmpDecoder_ReadHeaders()
784 bfh.bfType != 0x4d42 /* "BM" */) return E_FAIL; in BmpDecoder_ReadHeaders()
785 This->image_offset = bfh.bfOffBits; in BmpDecoder_ReadHeaders()
/reactos/modules/rostests/winetests/windowscodecs/
H A Dconverter.c958 BITMAPFILEHEADER bfh; in check_bmp_format() local
961 hr = IStream_Read(stream, &bfh, sizeof(bfh), NULL); in check_bmp_format()
964 ok(bfh.bfType == 0x4d42, "wrong BMP signature %02x\n", bfh.bfType); in check_bmp_format()
965 ok(bfh.bfReserved1 == 0, "wrong bfReserved1 %02x\n", bfh.bfReserved1); in check_bmp_format()
966 ok(bfh.bfReserved2 == 0, "wrong bfReserved2 %02x\n", bfh.bfReserved2); in check_bmp_format()
973 ok(bfh.bfOffBits == 0x0436, "wrong bfOffBits %08x\n", bfh.bfOffBits); in check_bmp_format()
985 ok(bfh.bfOffBits == 0x0436, "wrong bfOffBits %08x\n", bfh.bfOffBits); in check_bmp_format()
997 ok(bfh.bfOffBits == 0x0436, "wrong bfOffBits %08x\n", bfh.bfOffBits); in check_bmp_format()
1009 ok(bfh.bfOffBits == 0x0036, "wrong bfOffBits %08x\n", bfh.bfOffBits); in check_bmp_format()