*********************************************************************************************************
CONTENT of the MJPEG application distribution
*********************************************************************************************************
 * ./monolithic -- the sequential version of the application, written in C
 * ./examplemjpeg -- the parallel version of the application specified in a DOL format:
   * ./examplemjpeg/examplemjpeg.xml -- parallel version in XML
   * ./examplemjpeg/examplemjpeg.dot -- the task graph of the application in dot format 
   					(use the dotty tool to visualize the graph). 
                                        This file is present here just for illustration; 
                                        Normally it is automatically generated during 
                                        DOL execution (http://www.tik.ee.ethz.ch/~shapes/dol.html). 
   * ./examplemjpeg/src -- code of the different parallel processes, written in C


*********************************************************************************************************
HOW TO COMPILE and RUN the MJPEG application
*********************************************************************************************************
TEST MOVIE: For the MJPEG example, the test movie is parsed from a header file (fileString.h),
            included in this distribution.

I. The sequential version
*************************
cd ./monolithic
make
./main

II. The parallel version 
*************************
1. Install the DOL package from http://www.tik.ee.ethz.ch/~shapes/dol.html. 
In the package you can find: 
 * installation instructions, 
 * a few basic examples of parallel applications coded in DOL, 
 * and directions how to synthesie and execute DOL parallel applications in different environments. 

The first step is to functionally execute the application in a SystemC functional simulation, which is 
automatically generated by the DOL environment starting from the (DOL) parallel application description.

2. In order to visualize the results after the MJPEG application execution, 
make sure that the following directives are present in the generated Makefile:
 * -DVIEWER;
 * -L/usr/X11R6/lib -lpthread -lX11

If these directives were not included in the (standard) generated Makefile, 
you just need to recompile and reexecute the application.


*********************************************************************************************************
CONTACT
*********************************************************************************************************
Please feel free to contact any of the following persons 
for questions about the benchmarks, the DOL, or other related activities:

 * Iuliana Bacivarov (bacivarov@tik.ee.ethz.ch)
 * Wolfgang Haid (haid@tik.ee.ethz.ch)
 * Kai Huang (huang@tik.ee.ethz.ch)
