Epson S1D13708 Camera Accessories User Manual


 
Epson Research and Development Page 45
Vancouver Design Center
Programming Notes and Examples S1D13708
Issue Date: 01/11/20 X39A-G-003-01
ADVANCE
D
IN
F
ORMATION
Subje
ct to C
ha
nge
PIP
+
X End Position
The PIP
+
X End Position bits determine the horizontal end of the PIP
+
window in 0° and
180° SwivelView orientations. These bits determine the vertical end position in 90° and
270° SwivelView. For further information on defining the value of the X End Position, see
Section 8.3, “Picture-In-Picture-Plus Examples” on page 48.
This register also increments differently based on the SwivelView orientation. For 0° and
180° SwivelView the X End Position is incremented by X pixels where X is relative to the
current color depth. For 90° and 270° SwivelView the X End Position is incremented in 1
line increments.
In SwivelView 0°, these bits set the horizontal coordinates (x) of the PIP
+
window’s right
edge. Increasing x moves the right edge towards the right in steps of 32 ÷ bits-per-pixel (see
Table 8-3:, “32-bit Address Increments for Color Depth” ). The horizontal coordinates start
at pixel 0.
Program the PIP
+
Window X End Position so that
PIP
+
Window X End Position = x ÷ (32 ÷ bits-per-pixel)
Note
Truncate the fractional part of the above equation.
In SwivelView 90°, these bits set the vertical coordinates (y) of the PIP
+
window’s bottom
edge. Increasing y moves the bottom edge downward in 1 line steps. The vertical coordi-
nates start at line 0.
Program the PIP
+
Window X End Position so that
PIP
+
Window X End Position = y
PIP
+
Window X End Position Register 0
REG[8Ch] Read/Write
PIP
+
Window X End Position Bits 7-0
76543210
PIP
+
Window X End Position Register 1
REG[8Dh] Read/Write
n/a
PIP
+
Window X End Position
Bits 9-8
7 6 5 4 3 210
Table 8-3: 32-bit Address Increments for Color Depth
Bits-Per-Pixel (Color Depth) Pixel Increment (X)
1 bpp 32
2 bpp 16
4 bpp 8
8 bpp 4
16 bpp 2