Page 48
Epson Research and Development
Vancouver Design Center
S1D13706 Programming Notes and Examples
X31B-G-003-03 Issue Date: 01/02/23
8.3 Picture-In-Picture-Plus Examples
8.3.1 SwivelView 0° (Landscape Mode)
Figure 8-2: Picture-in-Picture Plus with SwivelView disabled
SwivelView 0
°
(or landscape) is a mode in which both the main and sub-window are non-
rotated. The images for each window are typically placed consecutively, with the main
window image starting at address 0 and followed by the sub-window image. In addition,
both images must start at addresses which are dword-aligned (the last two bits of the
starting address must be 0).
Note
It is possible to use the same image for both the main window and sub-window. To do
so, set the sub-window line address offset registers to the same value as the main win-
dow line address offset registers.
Example 5:Program the main window and sub-window registers for a 320x240 pan-
el at 4 bpp, with the sub-window positioned at (80, 60) with a width of
160 and a height of 120.
1. Confirm the main window coordinates are valid.
The horizontal coordinates must be a multiple of 32
÷
bpp.
320
÷
(32
÷
4) = 40
Main window horizontal coordinate is valid.
2. Confirm the sub-window coordinates are valid.
The horizontal coordinates and horizontal width must be a multiple of 32
÷
bpp.
80
÷
(32
÷
4) = 10
sub-window
main-window
sub-window y start position
panel’s origin
sub-window y end position
sub-window x start position
sub-window x end position
0° SwivelView
TM
(REG[85h],REG[84h])
(REG[8Dh],REG[8Ch])
(REG[91h],REG[90h])
(REG[89h],REG[88h])