Home | History | Annotate | Download | only in camera

Lines Matching refs:BITMAP

60     /* DC for frame bitmap manipulation. Null indicates that frames are not
63 /* Bitmap info for the frames obtained from the video capture driver. */
65 /* Bitmap info to use for GetDIBits calls. We can't really use bitmap info
69 * which causes GetDIBits to fail. Second, the bitmap that represents a frame
71 * bitmap info that capture driver has returned. Sometimes the captured bitmap
73 * address these issues we need to have another bitmap info, that can be used
82 /* If != 0, frame bitmap is "top-down". If 0, frame bitmap is "bottom-up". */
295 BITMAP bitmap;
327 E("%s: Unable to allocate frame bitmap info buffer", __FUNCTION__);
401 * calculate pixel format. The problem is that bitmap information obtained
402 * from the driver doesn't necessarily match the actual bitmap we're going to
417 /* Get bitmap handle saved into clipboard. Note that bitmap is still
428 /* Get bitmap object that is initialized with the actual bitmap info. */
429 if (!GetObject(bm_handle, sizeof(BITMAP), &bitmap)) {
430 E("%s: Device '%s' is unable to obtain frame's bitmap: %d",
438 /* Now that we have all we need in 'bitmap' */
443 if (wcd->frame_bitmap->bmiHeader.biWidth != bitmap.bmWidth ||
444 wcd->frame_bitmap->bmiHeader.biHeight != bitmap.bmHeight ) {
453 /* Create bitmap info that will be used with GetDIBits. */
456 E("%s: Unable to allocate gdi bitmap info", __FUNCTION__);
463 wcd->gdi_bitmap->bmiHeader.biBitCount = bitmap.bmBitsPixel;
464 wcd->gdi_bitmap->bmiHeader.biSizeImage = bitmap.bmWidthBytes * bitmap.bmWidth;
465 /* Adjust GDI's bitmap biHeight for proper frame direction ("top-down", or
599 /* Get bitmap handle saved into clipboard. Note that bitmap is still
610 /* Get bitmap buffer. */