SightLine Applications Command, Control, and Script API  v3.4
List of all members
SLASetEthernetVideoParameters_t Struct Reference

Description

Affects the quality, size and frame rate of the individual video frames sent over Ethernet.

typedef struct {
u8 quality;
u8 foveal;
u8 frameStep;
u8 frameSize;
u16 displayId;
u16 customWide;
u16 customHigh;

See SLASetH264Parameters_t for additional H.264 specific parameters.

Down Sample

Whole integer value that image will be down sampled by. Applies to both MJPEG and H.264 Ethernet video.

Value Description
0 or 1 No down-sample
2 2x2 down-sample
4 4x4 down-sample
other Reserved

Down sample is not supported on 3000 and 4000.
Down sample is supported on 1500 with h.264 and MJPEG encoding, but not with MPEG4 encoding.

Output Frame Size

Size of destination video. Works only when Video Format is set to a compatible format (see SLASetEthernetDisplayParameters_t)

Value Description
0 1500: 640x480 in NTSC capture mode or 768x576 in PAL capture mode; 3000/4000: output size = input size
1 1500: 640x480 in NTSC capture mode or 768x576 in PAL capture mode; 3000/4000: 640x480 (NTSC)
2 3000/4000 only: 768x576 (PAL)
3 720p (1280x720)
4 720p cropped (960x720)
5 3000/4000 only: 1080p (1920x1080)
6 3000/4000 only: 1080p cropped (1440x1080)
7 3000/4000 only: 1280x960
8 240 (320x240)
9 4000 only: 2560x1440 (H264 and H265 only)
10 4000 only: 3840x2160 (4K) (H264 and H265 only)
11 4000 only: Custom size specified by customWide and customHigh parameters

1500: size 0 always valid. Sizes 1, 3, 4 are valid when Video Format is set to H.264 (HD)

Message ID 0x1A

Byte Offset Name Description
4quality0: lowest image quality to 100: highest image quality 0 to 100 (default 80); applies only to MJPEG video
5fovealReduces image quality for pixels away from image center – 0: no quality reduction, 100 : maximum quality reduction; applies only to MJPEG video
6frameStep1 shows every frame, 2 shows every other frame, etc. Applies to Analog, HDMI, HD-SDI and Ethernet video display. 1 to 120 (default 1).
NOTE: This feature is useful for freeing processor load from display so that telemetry output can maintain full rate output for camera gimbal control.It also provides consistent display timing that can look better than alternating between showing and skipping frames.
7frameSizeSpecifies down sample and frame size. Bits 0..3: Down Sample, Bits 4..7: Output Frame Size
8-9displayIdNetwork Display ID
3000 / 4000: (0x0002 = Net0, 0x0080 = Net1, 0x0082 = both)
1500: Ignored or 0x0000
10-11customWide4000 Only Width of video in pixels when Output Frame Size is set to Custom. Range: 224 to 3840, must be a multiple of 32.
12-13customHigh4000 Only Height of video in pixels when Output Frame Size is set to Custom. Range: 224 to 2160, must be a multiple of 8.