GetWidth
|
[in] unsigned int channelIndex
|
Index of the associated stream channel. Possible values are 0 or 1.
|
Currently selected horizontal size of outgoing images
|
|
void GenerateImage(unsigned char* buffer)
|
{
|
for (unsigned int i = 0; i < m_pCamera->GetHeight(); i++)
|
{
|
unsigned char *ptr = buffer + i* m_pCamera->GetWidth();
|
unsigned char *end = ptr + m_pCamera->GetWidth();
|
while(ptr < end)
|
*ptr++=i;
|
}
|
}
|