DX-2200
– SD/HD-SDI Text & Graphics Inserter – User Manual
Page 22 of 103
Table 7: Baud Rate SERIAL Command Codes
Command Code
Mode of Operation
MBnnnnnnn
Set the baud rate to nnnnnnnn where nnnnnnnn is a number
between 9600 and 1000000 baud.
4.8.1.7 Picture-in-Picture Position, Size, and Zoom SERIAL Commands
These commands apply only to the Text Inserter with PiP mode of operation (Mode 2, see the Mode Control
Serial Commands).
The position and size of the Picture-in-Picture (PiP) display is selected through character commands sent
via the RS-232 port per Table 6 below.
There are two different methods of controlling the PiP size and position. The first method selects one of four
predefined positions and one of 16 predefined sizes using the commands PSnn, PAxxxx, PByyyy, followed
by P3, P4, P5, P6, P7, or P8 to set the positions and apply the settings.
For example: PiP in the bottom right corner using control method 1:
PS04
' Set PiP size to be 4/16ths of the video width
PA20
' Offset PiP 20 pixels horizontally from edge of the video
PB20
' Offset PiP 20 pixels vertically from the edge of the video
P2
' Apply settings and place PiP in bottom right corner
If the PS, PA, or PB commands are omitted in the above example, the previous setting, or the default will
apply. The default size for the PiP window is 6/16
th
of the video width (equivalent to the command PS06).
The default horizontal and vertical offset is 1 pixel + 1% of the screen width. If the P2 command is omitted
there will be no visible change to the PiP because it is this command that applies the parameters set the
other commands in the example.
The second method of setting PiP size and position does not use predefined sizes or positions, instead the
width, height, and the x and y position of the top left corner are set in terms of number of pixels by using the
commands PWxxxx, PHyyyy, PXxxxx, PYyyyy, followed by either PU or PR to apply the settings.
For example: PiP configured using method 2:
PX100
' Set Top Left corner of PiP to x=100 pixels from the left
PY400
' Set Top Left corner of PiP to y=400 pixels from the top
PW711
' PiP window width = 711 pixels
PH400
' PiP window height = 400 pixels
PU
' Apply the PiP Settings
This control method allows the aspect ratio of the PiP window to be changed, possibly resulting in stretched
or compressed video in the PiP window. If the PR command is used instead of the PU command, the height
parameter set for the PiP window by the PH command is ignored, and a value is calculated from the width to
provide a 16:9 aspect ratio for the PiP window.
In all cases, the PiP window must fit within the video. It is not possible to place the PiP window partly or fully
off screen. The DX-2200 will automatically adjust the gap, position and size parameters as needed to force
the PiP window to fit on screen. The minimum PiP width and height is 32 pixels. The DX-2200 will
automatically adjust the size to prevent the PiP windows being smaller than this size.
The PiP supports a limited zoom / cropping function that allows a selected region of the PiP video source to
be overlaid on the main channel instead of the entire frame. Two modes for selecting a region of the frame
are provided. The first method is controlled by a zoom factor specified in percent and a center location for
the zoom. The second method selects the top and left edge of the region, and the width and height. These
Summary of Contents for DX-2200
Page 87: ...DX 2200 SD HD SDI Text Graphics Inserter User Manual Page 87 of 103 ...
Page 92: ...DX 2200 SD HD SDI Text Graphics Inserter User Manual Page 92 of 103 ...
Page 97: ...DX 2200 SD HD SDI Text Graphics Inserter User Manual Page 97 of 103 ...
Page 100: ......
Page 101: ......
Page 102: ......
Page 103: ......