Lines Matching refs:bmiHeader
115 memset(&bmi_.bmiHeader, 0, sizeof(bmi_.bmiHeader));
116 bmi_.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
117 bmi_.bmiHeader.biPlanes = 1;
118 bmi_.bmiHeader.biBitCount = 32;
119 bmi_.bmiHeader.biCompression = BI_RGB;
120 bmi_.bmiHeader.biWidth = width;
121 bmi_.bmiHeader.biHeight = -height;
122 bmi_.bmiHeader.biSizeImage = width * height * 4;
124 image_.reset(new uint8[bmi_.bmiHeader.biSizeImage]);
140 } else if (width != bmi_.bmiHeader.biWidth ||
141 height != -bmi_.bmiHeader.biHeight) {
188 bmi_.bmiHeader.biWidth, -bmi_.bmiHeader.biHeight)) {
191 OnSize(bmi_.bmiHeader.biWidth, -bmi_.bmiHeader.biHeight, false);
202 0, 0, bmi_.bmiHeader.biWidth, -bmi_.bmiHeader.biHeight, // source rect
225 if (frame_changed && (width != bmi_.bmiHeader.biWidth ||
226 height != -bmi_.bmiHeader.biHeight)) {
228 bmi_.bmiHeader.biWidth = width;
229 bmi_.bmiHeader.biHeight = -height;
230 bmi_.bmiHeader.biSizeImage = width * height * 4;
231 image_.reset(new uint8[bmi_.bmiHeader.biSizeImage]);
241 bmi_.bmiHeader.biSizeImage,
242 bmi_.bmiHeader.biWidth * 4);