Epson S1D13708 Camera Accessories User Manual


 
Epson Research and Development Page 43
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
+
Y Start Position
The PIP
+
Y Start Position bits determine the vertical start position of the PIP
+
window in
0° and 180° SwivelView orientations. These bits determine the horizontal start position in
90° and 270° SwivelView. For further information on defining the value of the Y Start
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 Start Position is incremented in 1 line increments. For 90° and 270°
SwivelView the Y Start Position is incremented by Y pixels where Y is relative to the current
color depth.
In SwivelView 0°, these bits set the vertical coordinates (y) of the PIP
+
windows’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 Y Start Position so that
PIP
+
Window Y Start Position = y
In SwivelView 90°, 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-2:, “32-bit Address Increments for Color Depth” ). The horizontal coordinates
start at pixel 0.
Program the PIP
+
Window Y Start Position so that
PIP
+
Window Y Start Position = (panel height - x - 1) ÷ (32 ÷ bits-per-pixel)
Note
Truncate the fractional part of the above equation.
PIP
+
Window Y Start Position Register 0
REG[88h] Read/Write
PIP
+
Window Y Start Position Bits 7-0
76543210
PIP
+
Window Y Start Position Register 1
REG[89h] Read/Write
n/a
PIP
+
Window Y Start Position
Bits 9-8
7 6 5 4 3 210
Table 8-2: 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