1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3 4<HEAD> 5<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>JPEG Codec Middleware (TMCCJPEG) Sample Demo</TITLE> 9</HEAD> 10 11<BODY> 12 13<H1>JPEG Codec Middleware (TMCCJPEG) Sample Demo</H1> 14 15<H2>Location</H2> 16<P> 17<CODE>$REVOLUTION_SDK_ROOT/build/demos/jpegdemo</CODE> 18</P> 19 20<H2>Compilation</H2> 21<p> 22From the <CODE>$REVOLUTION_SDK_ROOT/build/demos/jpegdemo</CODE> directory, enter <CODE>make</CODE>. The execution file (the ELF file) is created under <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/jpegdemo/decode_simple/bin/RVL</CODE>. (No special environment variable needs to be specified.) 23</p> 24 25<H2>Execution</H2> 26<P> 27From the <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/jpegdemo</CODE> directory, do the following. 28</P> 29 30<UL> 31 <LI>To simply run the application, execute the <CODE>ndrun</CODE> script with the ELF file as the argument.</LI> 32 <LI>To debug using CodeWarrior, do one of the following.</LI> 33<UL> 34<LI>Execute <CODE>$CWFOLDER/bin/IDE.exe</CODE> with the ELF file as an argument</LI> 35<LI>Launch <CODE>$CWFOLDER/bin/IDE.exe</CODE>, then drag the ELF file to it.</LI> 36<LI>Select the ELF file if it is associated with <CODE>$CWFOLDER/bin/IDE.exe</CODE>.</LI> 37</ul> 38 39</ul> 40 41<H2>Description</H2> 42<TABLE class="demo_list" border="1" > 43 <TBODY> 44 <TR> 45 <TH>decode_simple</TH> 46 <TD> A demo using the <CODE>tmccjpeg.a</CODE> JPEG decoder. The demo decodes <CODE>$DvdRoot/jpeg/sample.jpg</CODE> and displays it on the screen.</TD> 47 </TR> 48 </TBODY> 49</TABLE> 50 51<H2>See Also</H2> 52<P class="reference"> 53<A href="../tmccjpeg/list_tmccjpeg.html">JPEG Codec Middleware (TMCCJPEG) API Function List</A> 54</P> 55 56<H2>Revision History</H2> 57<P> 582009/10/20 Corrected errors.<BR> 2009/10/14 Initial version. 59</P> 60 61<hr><p>CONFIDENTIAL</p></body> 62</HTML> 63