Epson S1D13708 Camera Accessories User Manual


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