Logo Search packages:      
Sourcecode: camstream version File versions  Download package

QImage * CVideoDevice::GetV ( int  offset = 0  )  const

Get V (chrominance) component of image.

Parameters:
offset Offset in circular buffer. Retrieve pointer to a V image; note that this is a pointer, not a (shallow) copy. The QImage is an 8 bit deep image with grayscale palette.
See GetRGB about double buffering.

Definition at line 1479 of file VideoDevice.cc.

Referenced by CDeltaPanel::UpdatePanel().

{
   if (offset < 0 || offset >= Buffers)
     return NULL;
   if (!PalYUV)
     return pNullImage;
   return V.at((Buffers + CurBuffer - offset) % Buffers);
}


Generated by  Doxygen 1.6.0   Back to index