1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:p="urn:schemas-microsoft-com:office:powerpoint"
xmlns:a="urn:schemas-microsoft-com:office:access"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema"
xmlns:b="urn:schemas-microsoft-com:office:publisher"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet"
xmlns:odc="urn:schemas-microsoft-com:office:odc"
xmlns:oa="urn:schemas-microsoft-com:office:activation"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:"
xmlns:Repl="http://schemas.microsoft.com/repl/"
xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/"
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml"
xmlns:ppda="http://www.passport.com/NameSpace.xsd"
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/"
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp"
xmlns:udc="http://schemas.microsoft.com/data/udc"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"
xmlns:ec="http://www.w3.org/2001/04/xmlenc#"
xmlns:sp="http://schemas.microsoft.com/sharepoint/"
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap"
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile"
xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st=""
xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List
href="Getting%20Started%20-%20Running%20the%20Image%20Decoders%20Demo_files/filelist.xml">
<title>Getting Started: Running the Image Decoders demo</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>C12109</o:Author>
<o:LastAuthor>Microchip</o:LastAuthor>
<o:Revision>103</o:Revision>
<o:TotalTime>605</o:TotalTime>
<o:Created>2008-03-30T00:26:00Z</o:Created>
<o:LastSaved>2011-06-16T02:12:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>269</o:Words>
<o:Characters>1534</o:Characters>
<o:Company>Microchip Technology Inc</o:Company>
<o:Lines>12</o:Lines>
<o:Paragraphs>3</o:Paragraphs>
<o:CharactersWithSpaces>1800</o:CharactersWithSpaces>
<o:Version>11.9999</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>90</w:Zoom>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;
mso-font-alt:"lr ";
mso-font-charset:128;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;
mso-font-charset:128;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
font-size:16.0pt;
font-family:Arial;
mso-font-kerning:16.0pt;}
h2
{mso-style-link:"Heading 2 Char";
mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:2;
font-size:14.0pt;
font-family:Arial;
font-style:italic;}
h3
{mso-style-link:"Heading 3 Char";
mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:3;
font-size:13.0pt;
font-family:Arial;}
p.MsoToc1, li.MsoToc1, div.MsoToc1
{mso-style-update:auto;
mso-style-noshow:yes;
mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoToc2, li.MsoToc2, div.MsoToc2
{mso-style-update:auto;
mso-style-noshow:yes;
mso-style-next:Normal;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:12.0pt;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoToc3, li.MsoToc3, div.MsoToc3
{mso-style-update:auto;
mso-style-noshow:yes;
mso-style-next:Normal;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:24.0pt;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoCaption, li.MsoCaption, div.MsoCaption
{mso-style-noshow:yes;
mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap
{mso-style-noshow:yes;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
background:navy;
font-size:10.0pt;
font-family:Tahoma;
mso-fareast-font-family:"Times New Roman";}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
span.Heading2Char
{mso-style-name:"Heading 2 Char";
mso-style-locked:yes;
mso-style-link:"Heading 2";
mso-ansi-font-size:14.0pt;
mso-bidi-font-size:14.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
mso-ansi-language:EN-US;
mso-fareast-language:EN-US;
mso-bidi-language:AR-SA;
font-weight:bold;
font-style:italic;}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-locked:yes;
mso-style-link:"Heading 3";
mso-ansi-font-size:13.0pt;
mso-bidi-font-size:13.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
mso-ansi-language:EN-US;
mso-fareast-language:EN-US;
mso-bidi-language:AR-SA;
font-weight:bold;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-locked:yes;
mso-style-link:"Plain Text";
font-family:"Courier New";
mso-ascii-font-family:"Courier New";
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";
mso-ansi-language:EN-US;
mso-fareast-language:EN-US;
mso-bidi-language:AR-SA;}
p.element10, li.element10, div.element10
{mso-style-name:element10;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"MS Mincho";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 65.95pt 1.0in 65.95pt;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1811633656;
mso-list-template-ids:-1076721994;}
@list l0:level1 lfo2
{mso-level-start-at:2;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="41986"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoPlainText align=center style='text-align:center'><a
name="_Toc194573682"><b style='mso-bidi-font-weight:normal'><u><span
style='font-size:16.0pt;font-family:Arial'>Getting Started: Running the Image
Decoders demo</span></u></b></a><b style='mso-bidi-font-weight:normal'><u><span
style='font-size:16.0pt;font-family:Arial'><o:p></o:p></span></u></b></p>
<p class=MsoPlainText><span style='font-size:16.0pt;font-family:Arial'><o:p> </o:p></span></p>
<h2><a href="Getting%20Started%20-%20Required%20Hardware.htm"><span
style='mso-bookmark:_Toc276094190'>Required Hardware</span><span
style='mso-bookmark:_Toc276094190'></span></a><![if !supportNestedAnchors]><a
name="_Toc276094190"></a><![endif]></h2>
<h2><a href="Getting%20Started%20-%20Configuring%20the%20Hardware%20Common.htm"><span
style='mso-bookmark:_Toc276094191'>Configuring the Hardware</span><span
style='mso-bookmark:_Toc276094191'></span></a><![if !supportNestedAnchors]><a
name="_Toc276094191"></a><![endif]></h2>
<h2><a href="Getting%20Started%20-%20Demo%20Compatibility%20Matrix.htm">Demo
Compatibility Matrix</a></h2>
<p class=MsoPlainText><span style='font-family:Arial'><o:p> </o:p></span></p>
<p class=MsoPlainText><a name="running_the_demo"></a><a name="_Toc276094193"><span
style='mso-bookmark:running_the_demo'><span class=Heading2Char><span
style='font-size:14.0pt'>Running the Demo</span></span></span></a><span
style='mso-bookmark:running_the_demo'></span><span style='mso-bookmark:_Toc276094193'></span><span
style='font-family:Arial'>:<o:p></o:p></span></p>
<p class=MsoPlainText style='margin-left:.5in'><span style='font-family:Arial'>This
demo shows the image decoding capabilities of Image Decoders Library. The
demo decodes various bitmap and jpeg images and demonstrates the usage of the
image decode API with various options like fitting into an area or cropping
into an area, etc. All the images are stored in the internal flash as constant
arrays of bytes declared in FlashImageData.c/.h files (FlashImageData.c/h files
are generated using the tool Graphics Resource Converter with some manual
modifications). The demo does not use Microchips MDD file system but provides
the required file system APIs to access the image files stored in the ROM
through a separate layer (FlashImage.c/.h). <o:p></o:p></span></p>
<p class=MsoPlainText style='margin-left:.5in'><span style='font-family:Arial'><o:p> </o:p></span></p>
<p class=MsoPlainText style='margin-left:.5in'><a name="_Toc195786561"></a><a
name="_Toc195786501"></a><a name="_Toc195786411"><span style='mso-bookmark:
_Toc195786501'><span style='mso-bookmark:_Toc195786561'><b style='mso-bidi-font-weight:
normal'><span style='font-family:Arial'>Demo Procedure <o:p></o:p></span></b></span></span></a></p>
<p class=MsoPlainText style='margin-left:.5in'><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><span
style='font-family:Arial'>Connect the necessary hardware and program with the
correct pre-generated hex from the Precompiled Hex folder<o:p></o:p></span></span></span></span></p>
<p class=MsoPlainText style='margin-left:.5in'><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><span
style='font-family:Arial'>After programming the demo will loop through
different screens showing the effects of different parameters to the decoding
API. <o:p></o:p></span></span></span></span></p>
<p class=MsoNormal><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><b
style='mso-bidi-font-weight:normal'><o:p> </o:p></b></span></span></span></p>
<p class=MsoNormal><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><b
style='mso-bidi-font-weight:normal'>Trademarks:</b></span></span></span><span
style='mso-bookmark:_Toc195786411'><span style='mso-bookmark:_Toc195786501'><span
style='mso-bookmark:_Toc195786561'><b style='mso-bidi-font-weight:normal'><span
style='font-family:Arial'><o:p></o:p></span></b></span></span></span></p>
<p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><i><span
style='font-size:10.0pt;font-family:Arial;color:black'>The Microchip name and
logo, the Microchip logo, MPLAB, and PIC are registered trademarks of Microchip
Technology Incorporated in the <st1:place w:st="on"><st1:country-region w:st="on">U.S.A.</st1:country-region></st1:place>
and other countries.<o:p></o:p></span></i></span></span></span></p>
<p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><i><span
style='font-size:10.0pt;font-family:Arial;color:black'>PICDEM and PICTail are
trademarks of Microchip Technology Incorporated in the <st1:country-region
w:st="on"><st1:place w:st="on">U.S.A.</st1:place></st1:country-region> and
other countries.<o:p></o:p></span></i></span></span></span></p>
<p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><i><span
style='font-size:10.0pt;font-family:Arial;color:black'>SD is a trademark of the
SD Association in the U.S.A and other countries<o:p></o:p></span></i></span></span></span></p>
<p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:_Toc195786411'><span
style='mso-bookmark:_Toc195786501'><span style='mso-bookmark:_Toc195786561'><i><span
style='font-size:10.0pt;font-family:Arial;color:black'>Microsoft, Windows,
Excel, and Windows Vista are either registered trademarks or trademarks of
Microsoft Corporation in the <st1:country-region w:st="on"><st1:place w:st="on">United
States</st1:place></st1:country-region> and/or other countries.</span></i></span></span></span><i><span
style='font-size:10.0pt;font-family:Arial;color:black'><o:p></o:p></span></i></p>
</div>
</body>
</html>