Epson S1D13708 Camera Accessories User Manual


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