Oemimagestreaminit; Oemimagestreamstart; Oemimagestreamread - Hand Held Products 4X00 Software Manual

Imageteam 4x00 series software development kit (sdk)
Hide thumbs Also See for 4X00:
Table of Contents

Advertisement

oemImageStreamInit

This function is used to intialize the image stream interface. The caller is allowed to specifiy the skip (subsample) value.
Note: If nSkip is greater than 1, the resulting image will be subsampled by nSkip.
Result_t
oemImageStreamInit (
WORD nSkip,
RECT *imgRect,
BOOL bFlip
)
Return Values
RESULT_SUCCESS
RESULT_ERR_DRIVER
Parameters
nSkip
The subsample number. A skip of 1 means all pixels, a skip of 2 means interpolate pixel pairs for every other line.
imgRect
Defines the region of the image to be returned by calls to eomImageStreamRead.
bFlip
Indicates if the returned image is to be inverted.

oemImageStreamStart

This function causes the Image Engine to start continous collecting of images. You must call oemImageStreamInit() before
calling this function.
Result_t
oemImageStreamStart ()
Return Values
RESULT_SUCCESS
RESULT_ERR_INITIALIZE
Parameters
None.

oemImageStreamRead

This function returns the last image acquired. The functions oemImageStreamInit() and oemImageStreamStart() must be called
before calling this function. The image returned will be formatted per the parameters passed to oemImageStreamInit().
Result_t
oemImageStreamRead (
BYTE *pImageBuffer,
DWORD *pdwSize
)
Return Values
RESULT_SUCCESS
RESULT_ERR_NOIMAGE
Parameters
pImageBuffer
Buffer in which the image data or image bitmap file data is returned on successful read of an image.
pdwSize
Pointer to a DWORD where the number of bytes placed in the image buffer is returned.
2 - 42
IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User's Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

It4000It4100It4300

Table of Contents