82 vmode( getvar(OVLY_ACTIVE) ? vmOvlStill : vmStill);
91 vmode( getvar(OVLY_ACTIVE) ? vmOvlLive : vmLive);
101 unsigned char* restrict scr_pixels = (
unsigned char*) ScrGetCaptPage;
102 unsigned char* restrict img_pixels = ppImages[0]->
pixels;
104 int h = std::min(m_height, ppImages[0]->height);
105 int w = std::min(m_width, ppImages[0]->width);
108 for (
int row=0; row<h; row++) {
109 std::copy(scr_pixels, scr_pixels+w, img_pixels);
111 scr_pixels += m_pitch;
112 img_pixels += ppImages[0]->
width;
virtual void CloseCamera()
ImageType
Enum specifying the supported image types.
virtual bool OpenCamera()
int width
The width of the image in pixels.
virtual CByteImage::ImageType GetType()
virtual int GetNumberOfCameras()
unsigned char * pixels
The pointer to the the pixels.
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
virtual bool CaptureImage(CByteImage **ppImages)