Sparkring has worked on NXP's Trimedia platform for many years. We have developed a rich set of DSP libraries which can enable developpers much easier to create their own applications without dealing with the low-level details of pSOS, NDK and MPTK. We have utilize these libraries to create many applications. The complete list is in the end of this page.
One example of our product using these DSP libraries is the multimedia elevator controller which has been installed in Tainan Far Estern Plaza Hotel. The picture of running screen is shown below.
If you need further information, please do not hestitate to contact with us.
GUI Screen
Picture taken in the multimedia elevator controller
Introduction
Many objects are developed. They include text label, image label, text button, image button, input text, container, page, screen, key event, progress bar, slider, rolling menu, image grid, image manager, file manager, clock, calendar, marquee, bar chart, timeout event, and key event. It is in C based Object-Oriented design which enables programmers to easily design, extend, modify and reuse these existing software components. The widget set is also designed in page based instead of window based. A page based system is more suitable to consumer electronic devices. The light software structure provides better performance and portability. It is very easy to migrate to other frame buffer based system. Low level details are hidden to make the programmer much easier to develop their own products.
There image loaders are integrated with widget set. Hardware scaling mechanism, such as MBS (Memory Based Scalar) has been adapted to enable fancy zooming and moving effects. Supports for graphic and video layers are both provided. Pixel-based alpha-bending effect in PNG can be used to generate novel graphic user interface.
The original 2D graphic engine library provided by NXP is wrapped. so that
it is integrated with our widget set. 2D graphic operators, such as
3ROP, Box, Fill, Blit, Text, Font, are provided. Fonts from Arphic
are also provided. Currently 5 languages are supported: English, France,
Germany, Spanish and Italian. We can also support Traditional Chinese,
Simplified Chinese, Japanese, Korean, Thai, Arabic and Hind with Arphic fonts.
Many 3D transformation visual effects are also supported to provide
customers brand new experiences.
Utilizing TCP/IP stack from Uniconi and Atheros AR-5414 based 802.11 a/b/g
mini-PCI card, we can support both Wifi and LAN connection abilities.
Auto-scan Wifi interface is provided. Static IP, DHCP and Auto-IP are
also supported.
uPNP compatible client and server can be built with uPNP library.
A tiny HTTP server is already included in this uPNP library.
Network upgrading ability can also be provided.
A software upgrading mechanism on Trimedia's pSOS environment is provided. Not only the program but also the data files can be also updated through SD/CF card readers or any other available storage. Upgrading through network can also be provided.
An OpenCV compatible software library is provided. It also includes a face recognition mechanism. By integrated with Trimedia's fast hardware support, it can be used to build fast computer vision and patter recognition applications. Since it is compatible with OpenCV, many OpenCV applications can be executed in this environment.
Dynamic Time Wrapping (DTW) is used in this library. A simple record/match voice command mechanism can be built. By using this library, voice commands similar with mobile phones' are available on Trimedia platforms. Since audio-in interface is built-in, no extra hardware cost is needed.
A SQLite 3.0 compatible library is provided. It is working on Trimedia platform for both Bffs and FAT32 file system. Cooperated with Sparkring developed SPZ file system, it enables the programmers to build a small database on NAND storage on board.
An Expat compatible library is provided to parse any XML file system. Sparkring has developed a XML based system parameter setting mechanism based on this XML library. uPNP library is also based on this XML library.
Program Example:
#include "spWidget.h"
#define W 100
#define H 100
#define X 100
#define Y 30
tmMain()
{
sp_text_label *text_label;
sp_system_init("ntsc", 1024*1024*20);
text_label = sp_text_label_new(main_screen.pages[0] , X, Y, W, H , "Example");
sp_text_label_show(text_label) ;
sp_screen_main_loop();
}
Trimedia Library List |
|
Graphic User Interface (GUI) |
Hardware accelerated 2D graphic library. Image rendering: support JPEG, PNG, GIF and BMP. Frame-buffer based window system. IR remote control (Philips and NEC). GPIO button. USB mouse and keyboard. Smooth marquee. File system browser with icons. Analog clock and alarm. Calendar. Voice recording. |
---|---|
Video/Audio Decoder |
Video: MPEG1/2/4, H-264, WMV. Audio: MP3, AAC, WMA, AC3, G711, LPCM. System: Program Stream (PS), Transport Stream (TS), AVI. |
Audio Encoder |
MP3 and WAV |
Audio Processing |
Equalizer Voice command |
Image Decoder |
JPEG, PNG, GIF, BMP Hardware accelerated zoom-In/zoom-Out Queued decoding mechanism |
Computer Vision |
OpenCV library Face detection |
Networking |
LAN driver. Atheros Wifi driver: 802.11 a/b/g. Auto Access Point (AP) scanning and connection. DHCP/Auto IP. uPNP client. It can work with Microsoft Media Player 11. uPNP server. It can work with Microsoft Media Player 11. YouTube gateway. Bit-Torrent (BT) peer-to-peer (P2P) client. Internet Radio. |
Content Management |
Content Manager Server (CMS) on PC. Scheduled media playing controlled by CMS. |
DVB-T Player |
Electronic Program Guide (EPG). Auto channel scanning |
Video Output |
Direct LCD panel TTL and LVDS LCD resolution up to 1366 x 768 Composite, component, S-video, VGA, DVI, HDMI |
Database |
SQL-lite compatible. |
XML Parser |
libexpat compatible |
Software Update |
SD/CF updatable l Network updateable |
Position Sensor |
Vertical/Horizontial. |
Touch Panel |
USB controlled, single touch. |