Specifications

sharpVISION™ Camera
sharpVISION SDK Reference
114
8.5.3. SV_FRAME
The SV_FRAME structure contains information about the image frame to be grabbed. It is
used to acquire images in the SvGrabOneFrame or SvQueueOneFrame routines.
typedef struct
{
void* pBuffer;
unsigned long bufferSize;
unsigned long format;
unsigned long width;
unsigned long height;
unsigned long size;
unsigned long bits;
unsigned short frameNumber;
unsigned long reserved;
unsigned long errorCode;
unsigned long timestamp;
unsigned long _reserved[ 8 ];
} SV_FRAME, *PSV_FRAME;
Members
pBuffer
Specifies the pointer to the data
bufferSize
Specifies the data buffer size, in bytes
format
Specifies the image format; this field is filled when the grab routine returns
width
Specifies the image width; this field is filled when the grab routine returns
height
Specifies the image height; this field is filled when the grab routine returns
size
Specifies the image size, in bytes; this field is filled when the grab routine returns
bits
Specifies the image pixel depth; this field is filled when the grab routine returns