Epson S1D13708 Camera Accessories User Manual


 
Page 32 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
Main Window Display Start Address
The Main Window Display Start Address register represents a DWORD address which
points to the start of the main window image in the display buffer. An address of 0 is the
start of the display buffer. For the following SwivelView mode descriptions, the desired
byte address is the starting display address for the main window image.
In SwivelView 0°, program the start address
= desired byte address ÷ 4
In SwivelView 90°, program the start address
= ((desired byte address + (panel height × bpp ÷ 8)
+ ((4 - (panel height × bpp ÷ 8)) & 03h)) ÷ 4) - 1
In SwivelView 180°, program the start address
= ((desired byte address + (Main Window Stride × (panel height − 1))
+ (panel width × bpp ÷ 8) + ((4 - (panel width × bpp ÷ 8)) & 03h)) ÷ 4) - 1
In SwivelView 270°, program the start address
= (desired byte address + ((panel width - 1) × Main Window Stride)) ÷ 4
Note
Truncate all fractional values before writing to the address registers.
Note
SwivelView 0° and 180° require the panel width to be a multiple of 32 ÷ bits-per-pixel.
SwivelView 90° and 270° require the panel height to be a multiple of 32 ÷ bits-per-pix-
el. If this is not possible, refer to Section 7.3, “Limitations” .
Main Window Display Start Address Register 0
REG[74h] Read/Write
Main window Display Start Address Bits 7-0
76543210
Main Window Display Start Address Register 1
REG[75h] Read/Write
Main window Display Start Address Bits 15-8
76543210
Main Window Display Start Address Register 2
REG[76h] Read/Write
n/a
Main window
Display Start
Address
Bit 16
7 6 5 4 3 2 10