Hardware Reference
In-Depth Information
mpeg2
osview
xeyes
power control manager
application
X server
OS
SMP Linux
driver
UART
LAN
ATA
DU
USB
GPIO
Memory (DRAM)
hardware
CPU #3
CPU #0
CPU #1
CPU #2
Fig. 6.28
RP-2 application software architecture
Fig. 6.29
Display image of RP-2 application
interface (GUI) program implemented using the X toolkit of the X-window system.
A mouse is used as a pointing device. Figure 6.28 shows the software architecture of
the RP-2 application.
A display image of the application is shown in Fig. 6.29 . It consists of three win-
dows; they are those of the main application, system monitor, and “xeyes.”
Figure 6.30 shows the main application window, which has two parts. One is the
area to display both the MPEG-2 video and a histogram to show the current speed in
fps up to 40 fps. This area is an instance of a custom widget class of the X toolkit. The
contents of the “/dev/fb1” frame buffer device are mapped to this area. The other part
 
Search WWH ::




Custom Search