• Home
  • Raw
  • Download

Lines Matching refs:bmi_

102   BITMAPINFO bmi_;  member in cricket::GdiVideoRenderer::VideoWindow
117 memset(&bmi_.bmiHeader, 0, sizeof(bmi_.bmiHeader)); in VideoWindow()
118 bmi_.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in VideoWindow()
119 bmi_.bmiHeader.biPlanes = 1; in VideoWindow()
120 bmi_.bmiHeader.biBitCount = 32; in VideoWindow()
121 bmi_.bmiHeader.biCompression = BI_RGB; in VideoWindow()
122 bmi_.bmiHeader.biWidth = width; in VideoWindow()
123 bmi_.bmiHeader.biHeight = -height; in VideoWindow()
124 bmi_.bmiHeader.biSizeImage = width * height * 4; in VideoWindow()
126 image_.reset(new uint8_t[bmi_.bmiHeader.biSizeImage]); in VideoWindow()
142 } else if (width != bmi_.bmiHeader.biWidth || in SetSize()
143 height != -bmi_.bmiHeader.biHeight) { in SetSize()
197 bmi_.bmiHeader.biWidth, -bmi_.bmiHeader.biHeight)) { in Initialize()
200 OnSize(bmi_.bmiHeader.biWidth, -bmi_.bmiHeader.biHeight, false); in Initialize()
211 0, 0, bmi_.bmiHeader.biWidth, -bmi_.bmiHeader.biHeight, // source rect in OnPaint()
212 image_.get(), &bmi_, DIB_RGB_COLORS, SRCCOPY); in OnPaint()
234 if (frame_changed && (width != bmi_.bmiHeader.biWidth || in OnSize()
235 height != -bmi_.bmiHeader.biHeight)) { in OnSize()
237 bmi_.bmiHeader.biWidth = width; in OnSize()
238 bmi_.bmiHeader.biHeight = -height; in OnSize()
239 bmi_.bmiHeader.biSizeImage = width * height * 4; in OnSize()
240 image_.reset(new uint8_t[bmi_.bmiHeader.biSizeImage]); in OnSize()
250 bmi_.bmiHeader.biSizeImage, in OnRenderFrame()
251 bmi_.bmiHeader.biWidth * 4); in OnRenderFrame()