DocID026161 Rev 4
65/111
UM1743Demonstration functional description (STM324x9I-EVAL, STM324xG-EVAL, STM32F429I-
110
When the video player is started, the following actions are executed:
•
The graphical components are initialized:
–
The video frame
–
The control buttons
–
The list box field
•
Memory is allocated to save the video list (pVideoList) and the file information
(pFileInfo).
Figure 55. Video player module startup
summarizes the different actions behind each control button.
Table 18. Video module controls
Button
Preview
Description
Play button
Checks if the video size is not supported
Supported video size: 0 < xSize < 1024 and 0 < ySize < 768
Changes the video player state to “VIDEO_PLAY”
Reads the video file from storage unit
Replaces play button by pause button
Pause button
Pauses the video file stream
Changes the video player state to “VIDEO_PAUSE”
Replaces pause button by play button
Stop button
Closes the video file from storage unit
Stops video playing
Changes the video player state to “VIDEO_IDLE”
Previous button
Points to the previous video file
Stops video playing
Changes the video player state to “VIDEO_IDLE”
069