RTGV_STREAM_PARAMS Structure

RTGV_STREAM_PARAMS is a structure of parameters to use when starting a receive stream.

Syntax

Copy
typedef struct _RTGV_STREAM_PARAMS{
    UINT32                imageWidth;                             
    UINT32                imageHeight;                            
    UINT32                imagePixelFormat;                       
    UINT32                streamPort;                             
    UINT32                payloadSize;                            
    RTGV_ACQUISITIONMODE  acquisitionMode;                        
    UINT32                imgRingBufNumElements;                  
} RTGV_STREAM_PARAMS, *PRTGV_STREAM_PARAMS;

Members

imageWidth

The width of the images that will be received.

imageHeight

The height of the images that will be received.

imagePixelFormat

The pixel format of the images that will be received.

streamPort

The local port on which images that be received.

payloadSize

The size of the data payload (i.e. the amount of data in bytes per image received).

acquisitionMode

The acquisition mode being used by the camera from which images will be received.

imgRingBufNumElements

The number of elements to be allocated for the image ring buffer, which holds images that have been received and are ready to be grabbed with RtgvGrabFrame. When in trigger mode, only 1 element is needed, but in continuous mode, a larger ring buffer is recommended.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtgvApi.h

RtgvApi.lib

See Also: