Barst  2.0
A server that controls lab hardware.
Public Attributes | List of all members
SChanInitRTV Struct Reference

#include <cpl defs.h>

Public Attributes

unsigned char ucBrightness
 
unsigned char ucHue
 
unsigned char ucUSat
 
unsigned char ucVSat
 
unsigned char ucLumaContrast
 
unsigned char ucLumaFilt
 
unsigned char ucColorFmt
 
unsigned char ucVideoFmt
 
bool bLossless
 
unsigned char ucBpp
 
int nWidth
 
int nHeight
 
DWORD dwBuffSize
 

Detailed Description

Struct used to initialize an RTV channel for aquiring video frames.

Definition at line 448 of file cpl defs.h.

Member Data Documentation

◆ bLossless

bool SChanInitRTV::bLossless

If this is true, then every frame aquired will be sent to the client. This ensures that no frame is missed. However, if the client doesn't read in time, a lot of RAM will be used up quickly for the frames that are in RAM and are waiting to be sent. If it's false, a frame will only be sent if no other frame is waiting to be sent. So when we queue a frame, as long as the client has not read this frame, no other frame will be queued for sending.

Definition at line 474 of file cpl defs.h.

◆ dwBuffSize

DWORD SChanInitRTV::dwBuffSize

The total buffer length in bytes required to store an image of this channel. Typically it's nWidth*nHeight*ucBpp.

Definition at line 485 of file cpl defs.h.

◆ nHeight

int SChanInitRTV::nHeight

The height of a frame of this channel.

Definition at line 482 of file cpl defs.h.

◆ nWidth

int SChanInitRTV::nWidth

The width of a frame of this channel.

Definition at line 480 of file cpl defs.h.

◆ ucBpp

unsigned char SChanInitRTV::ucBpp

User doesn't supply these parameters - until end, the channels fills this in after it was created and is sent as a reply. Or user can request this. The number of bits per pixel that is used for this channel. Could be 24, 32 etc.

Definition at line 478 of file cpl defs.h.

◆ ucBrightness

unsigned char SChanInitRTV::ucBrightness

Index 0 in AngeloRTV_Set_Image_Config (see RTV-24 manual).

Definition at line 451 of file cpl defs.h.

◆ ucColorFmt

unsigned char SChanInitRTV::ucColorFmt

The image format that RTV will return to us. These are the RTV defined values, such as 3 for RGB24 etc.

Definition at line 464 of file cpl defs.h.

◆ ucHue

unsigned char SChanInitRTV::ucHue

Index 1 in AngeloRTV_Set_Image_Config.

Definition at line 453 of file cpl defs.h.

◆ ucLumaContrast

unsigned char SChanInitRTV::ucLumaContrast

Index 4 in AngeloRTV_Set_Image_Config.

Definition at line 459 of file cpl defs.h.

◆ ucLumaFilt

unsigned char SChanInitRTV::ucLumaFilt

Index 5 in AngeloRTV_Set_Image_Config.

Definition at line 461 of file cpl defs.h.

◆ ucUSat

unsigned char SChanInitRTV::ucUSat

Index 2 in AngeloRTV_Set_Image_Config.

Definition at line 455 of file cpl defs.h.

◆ ucVideoFmt

unsigned char SChanInitRTV::ucVideoFmt

The video format that RTV uses to capture the video. These are RTV defined values such as 0 for full NTSC etc.

Definition at line 467 of file cpl defs.h.

◆ ucVSat

unsigned char SChanInitRTV::ucVSat

Index 3 in AngeloRTV_Set_Image_Config.

Definition at line 457 of file cpl defs.h.