MLT2 User Manual
20
www.terasic.com
April 12, 2016
Chapter 4
ePhoto Demonstration
This chapter describes how to use MTL2 to design a simple HDL code to implement a photo viewer.
The demonstration can support the following Terasic FPGA boards:
DE2-115
4
4
.
.
1
1
O
O
p
p
e
e
r
r
a
a
t
t
i
i
o
o
n
n
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
This demonstration implements a simple photo viewer. Before running this demonstration, three
800x480 photos should be vertically merged into one 800x1440 photo and be stored in FLASH of
the FPGA board in advance. In this demonstration, users can browse each photo by using single
touch "move right" or "move left" gesture to select the previous or next photo, as shown in
Figure
4-1
.
.
Figure 4-1 Select Next Photo by East Gesture
Also, users can use two-point zoom-in and zoom-out gestures to zoom the photo displayed, as
shown in
Figure 4-2.
Summary of Contents for MTL2
Page 1: ...p ...