Home | History | Annotate | Download | only in ext

Lines Matching defs:hdr

54 static void FillBitmapInfoHeader(int width, int height, BITMAPINFOHEADER* hdr) {
55 hdr->biSize = sizeof(BITMAPINFOHEADER);
56 hdr->biWidth = width;
57 hdr->biHeight = -height; // Minus means top-down bitmap.
58 hdr->biPlanes = 1;
59 hdr->biBitCount = 32;
60 hdr->biCompression = BI_RGB; // no compression
61 hdr->biSizeImage = 0;
62 hdr->biXPelsPerMeter = 1;
63 hdr->biYPelsPerMeter = 1;
64 hdr->biClrUsed = 0;
65 hdr->biClrImportant = 0;
920 BITMAPINFOHEADER hdr = {0};
921 FillBitmapInfoHeader(src_size_x, src_size_y, &hdr);
927 bitmap_dc, reinterpret_cast<const BITMAPINFO*>(&hdr),
936 const int dest_row_size = hdr.biBitCount / 8 * hdr.biWidth;
978 reinterpret_cast<const BITMAPINFO*>(&hdr),