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

Description

Deprecated, use SLAVideoDisplay_t and SLAMultiDisplay_t.

typedef struct {
u8 nCameras;
u8 nDisplays;
u8 displayMode;
u8 displayDest;
u8 cameraIndex0;
u8 cameraIndex1;
u8 cameraIndex2;
u8 pipColor;
u8 pipScale;
u8 pipQuadrant;
u8 displayIndex0;
u8 displayIndex1;
u8 displayIndex2;
u8 displayIndex3;
u8 analogDest;
u8 hdmiDest;
u8 net0Dest;
u8 net1Dest;
u8 HDSDIDest;
u8 hdmiRes;
u8 hdsdiRes;
u8 analogRes;

Configure display options such as Picture-In-Picture and destinations.
NOTE 1500 and 3000 only.

When network video is selected (via displayDest on 1500 or net0Dest or net1Dest on 3000) configure network video protocol using SLASetEthernetDisplayParameters_t.

Display Mode

Value Display mode
0 One UP (1-UP) [Default]
1 Picture In Picture
2 Two Up (2 cameras displayed next each other)
3-5 Reserved
6 Side-By-Side (original and processed from the same camera)
7 No Display
8-15 Reserved
DisplayModesCrop.png
Display Modes

Display Destination

Value Display Destination
0 None
1 Analog video (NTSC on 3000)
2 Network
3 Analog and network
4 Reserved
5 1080p HD-SDI
6 Reserved
7 Reserved
Other values Reserved
1500
Bits76543210
Description0000NTSC_VBIDisplay Destination
3000
Bits76543210
LEN=16Display Destination (not recommended)
LEN>16Display Resolution (use hdmiRes, analogRes, and hdsdiRes instead)

NTSC_VBI

NTSC VBI output(1500 only).Works with Analog Video and Analog and Network display destinations for NTSC output only (not PAL). Requires save parameters and power cycle.

Display Resolution 3000 Only

Value Display Resolution
0 Default
1 Analog video (NTSC on 3000)
4 720p60 HDMI or HDSDI (3000 only)
5 1080p30 HDMI or HDSDI (3000 only, not all monitors will support this format)
6 1080p25 HDMI or HDSDI (3000 only, not all monitors will support this format)
7 1080p60 HDMI or HDSDI (3000 only)
8 720p50 HDMI or HDSDI (3000 only, not all monitors will support this format)
9 1080p50 HDMI or HDSDI (3000 only, not all monitors will support this format)
10 PAL Analog (3000 only)
11 720p59.94 HDMI or HDSDI (3000 only, not all monitors will support this format)
12 1080p29.97 HDMI or HDSDI (3000 only, not all monitors will support this format)
13 1080p59.94 HDMI or HDSDI (3000 only, not all monitors will support this format)
14 1080i60 HDMI or HDSDI (3000 only, not all monitors will support this format)
15 1080i59.94 HDMI or HDSDI (3000 only, not all monitors will support this format)
16 1080i50 HDMI or HDSDI (3000 only, not all monitors will support this format)
Other values Reserved

Display Resolution Combination Examples for 3000

Input Image HDMI/HD-SDI Resolution H264 Resolution HDMI/HD-SDI output H264 output(1)
1280x720 1280x720 1280x720 or less 1280x720 1280x720
1280x720 1280x720 1920x1080 1280x720 (1920x1080 with gray border, then scaled) 1920x1080
1280x720 1920x1080 1920x1080 or less 1920x1080 with gray border 1920x1080 with gray border
1920x1080 1280x720 1280x720 or less 1280x720 cropped 1280x720 cropped
1920x1080 1280x720 1920x1080 1280x720 scaled 1920x1080
1920x1080 1920x1080 1920x1080 or less 1920x1080 1920x1080
Note
  • H264 output display may be larger than specified resolution.
  • Analog display shows cropped video at the center if the capture image is larger then display resolution.

Color of PiP window border

Value Color Value Color
0x00 - 0x0F No change 0x18 Light green
0x10 White 0x19 Green
0x11 Black 0x1A Dark green
0x12 Light gray 0x1B Red
0x13 Gray 0x1C Orange
0x14 Dark gray 0x1D Yellow
0x15 Light blue 0x1E Transparent
0x16 Blue 0x1F Automatic
0x17 Dark blue Other values No change

Picture-In-Picture (PiP) Thumbnail Scale & Options

Value Description
0 Do not change
1 1/4 screen size thumbnail of full screen
2 3/8 screen size thumbnail of full screen
3 1/2 screen size thumbnail of full screen
4 1/4 screen size zoom on primary track (see SLAModifyTracking_t)
5 3/8 screen size zoom on primary track
6 1/2 screen size zoom on primary track
7 zoom on all tracks (see SLAModifyTracking_t)
8 zoom on MTI/detection tracks 5 (see SLASetDetectionParameters_t)
9 zoom on MTI/detection tracks 10
10 zoom on MTI/detection track 8 (corners + top + bottom + left + right)
PipScale.png
Picture-in-Picture Scale
PipZoomTrack.png
Zoom on all tracks & Zoom on Detection
Note
  • Overlays such as reticles or user drawn objects (see SLADrawOverlay_t) will not be scaled and rendered in the PiP.
  • When using PiP options 7-10 above, scale is pre-determined and not set by user.

Screen Quadrant for Pip Display

Thumbnails will be displayed along top, bottom, left, or right side of the image.

Value Description
0 Top Right (Right for all tracks or mti/detection tracks)
1 Bottom Right (Bottom for all tracks or mti/detection tracks)
2 Bottom Left (Left for all tracks or mti/detection tracks)
3 Top Left (Top for all tracks or mti/detection tracks)
PiPQuadrant.png
Picture-in-Picture Quadrant

Display Image Mode

Value Description
0 Camera 0
1 Camera 1
2 Camera 2
4 Multi-camera (PiP or 2-up)
8 Blend
255 None
other Reserved

Display Destination Combinations for 3000

The 3000 cannot display some combinations of Network, Analog, HDMI, and HD-SDI. The table below shows valid (white) and invalid (grey) combinations for display as well as recording options.
The system will warn and disallow setting invalid combinations.
A is any camera (0, 1 or 2). A, B and C are three different cameras.

Supported?Network 0Network 1Analog or HDMI or HDSDI(1)Description and Notes
Single Camera 3000 Display Configurations
YesABA or BTwo cameras to network + Analog or HDMI or HDSDI
YesA1A2A1 or A2A1 = A at one resolution/bitrate, A2 = A at a different resolution/bitrate
NoAAB With same camera to both networks, can't display the other camera
NoABC Can't display all three cameras. Use PiP
NoA with graphics A no graphics Can't display the same image with and without graphics/enhancement
Picture in Picture 3000 Display Configurations
YesPiPAA or PiPPiP to Net 0, A to Net 1 + Analog or HDMI or HDSDI
YesPiPNonePiPPiP to Net 0 + Analog or HDMI or HDSDI
NoPiPNone A Use PiP to Net0, A to Net1 if you want to show A to Analog or HDMI or HDSDI
NoAPiP PiPPiP has to go to network 0 if you want other displays
NoPiPAB Can't display all three of PiP + Cam A + Cam B
2-Up or Blend 3000 Display Configurations
Yes2-Up2-Up2-Up2-Up to Network + Analog or HDMI or HDSDI
YesBlendBlendBlendBlend to Network + Analog or HDMI or HDSDI
No2-Up or BlendA or B or PiP (to any of these)With 2-Up and Blend, other cameras can not be shown

Limitations and Notes for3000 Display Options

  1. No Analog at the same time as HDMI or HDSDI.
    In some cases, it is possible to display to both HDMI and HDSDI. The system will warn for invalid combinations.
  2. Three cameras are only available with a 3000-AB board plugged into VIN 0
    Use PiP to display the 3rd camera (eg. Net0 = PIP(Cam 0, Cam 1), Net1 = Cam 2.
  3. Resolutions should match for 2 HD displays of the same camera (eg. network + HDMI)
  4. Displaying two 1080p cameras may limit frame rate to < 30fps
  5. Video Recording and Snap Shot are only available for cameras that are being processed for telemetry or display output

Message ID 0x1F

Byte Offset Name Description
4nCamerasReserved – set to 0
5nDisplaysReserved – set to 0
6displayModeDisplay Mode
7displayDestDisplay destination or resolution
8cameraIndex0Set index of camera to configure (1500 only: additionally sets command camera – see SLACommandCamera_t)
9cameraIndex1Reserved
10cameraIndex2Reserved
11pipColorColor of PiP window border, default is red.
12pipScaleScale of Picture-in-picture thumbnail
13pipQuadrantScreen quadrant in which to render PiP window
14displayIndex0(required but ignored on 1500) Camera Display Order index 0 (For multi camera display, Camera 0 is the main (PiP) or left image (Two Up). Camera 1 for multi-camera display is the Pip image or camera on the right in Two Up mode.)
15displayIndex1(required but ignored on 1500) Camera Display Order index 1
16displayIndex2(required but ignored on 1500) Reserved
17displayIndex3(required but ignored on 1500) Reserved
18analogDest3000 only Display Image Mode for analog display
19hdmiDest3000 only Display Image Mode for HDMI display
20net0Dest3000 only Display Image Mode for Network 0 display
21net1Dest3000 only Display Image Mode for Network 1 display
22HDSDIDest3000 only Display Image Mode for HD-SDI display
23hdmiRes3000 only Display resolution for HDMI display (3000 only). Default is 1080p60.
24hdsdiRes3000 only Display resolution for HDSDI display (3000 only). Default is 1080p60.
25analogRes3000 only Display resolution for Analog display (3000 only). Default is NTSC.