From: OGLES on 21 Jul 2006 11:01 Hi all, I have the output from DeviceIOControl when trying to take a picture using a camera; something like this: if (DeviceIoControl(Camera_FileHandle, IOCTL_OEM_CAM_CAPTURE, &vinFrame, sizeof(VINFRAMEINFO), Camera_CaptureYUV2, CAMERA_CAPTURE_SIZEBYTES, &cbRet, NULL)) return true; } I can also dump the output as a file, but how can I convert this into a picture ? Thanks in advance, OGLES
From: Juggs Ravalia (MS) on 23 Jul 2006 00:13 It seems that you are using a custom OEM defined IOCTL here. Since the Camera driver could be written/changed by the OEM to provide more info - I would say that you contact the device manufacturer for more detials on the capabilities of IOCTL_OEM_CAM_CAPTURE IOCTL code. Juggs Ravalia [MSFT] jayrava(a)online.microsoft.com This posting is provided "AS IS" with no warranties, and confers no rights. "OGLES" <ogless(a)hotmail.com> wrote in message news:1153494110.564761.21770(a)m79g2000cwm.googlegroups.com... > Hi all, > > I have the output from DeviceIOControl when trying to take a picture > using a camera; something like this: > > if (DeviceIoControl(Camera_FileHandle, IOCTL_OEM_CAM_CAPTURE, > &vinFrame, sizeof(VINFRAMEINFO), Camera_CaptureYUV2, > CAMERA_CAPTURE_SIZEBYTES, &cbRet, NULL)) > return true; > } > > I can also dump the output as a file, but how can I convert this into a > picture ? > > Thanks in advance, > OGLES >
From: OGLES on 13 Aug 2006 06:32 Hi Juggs, Unfortunately, it is not possible to contact the "device manufacturer for more details".. Anyhow - I've figured out that the output is RGB565, y-flipped.. so just now need to know how convert this into a Bitmap.. Any ideas ? Regards, OGLES Juggs Ravalia (MS) wrote: > It seems that you are using a custom OEM defined IOCTL here. Since the > Camera driver could be written/changed by the OEM to provide more info - I > would say that you contact the device manufacturer for more detials on the > capabilities of IOCTL_OEM_CAM_CAPTURE IOCTL code. > > Juggs Ravalia [MSFT] > jayrava(a)online.microsoft.com > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "OGLES" <ogless(a)hotmail.com> wrote in message > news:1153494110.564761.21770(a)m79g2000cwm.googlegroups.com... > > Hi all, > > > > I have the output from DeviceIOControl when trying to take a picture > > using a camera; something like this: > > > > if (DeviceIoControl(Camera_FileHandle, IOCTL_OEM_CAM_CAPTURE, > > &vinFrame, sizeof(VINFRAMEINFO), Camera_CaptureYUV2, > > CAMERA_CAPTURE_SIZEBYTES, &cbRet, NULL)) > > return true; > > } > > > > I can also dump the output as a file, but how can I convert this into a > > picture ? > > > > Thanks in advance, > > OGLES > >
|
Pages: 1 Prev: mbctype.h Error in VS 2005 for Windows Mobile 5.0 Pocket SDK Next: GPSGetPosition |