
11
CONTENTS
CHAPTER 1
OVERVIEW.......................................................................................................................
17
1.1
MIDDLEWARE ........................................................................................................
17
1.2
JPEG .......................................................................................................................
17
1.2.1
Overview ....................................................................................................
18
1.2.2
JPEG File Format ......................................................................................
34
1.3
OUTLINE OF SYSTEM...........................................................................................
41
1.3.1
Major Functions .........................................................................................
41
1.3.2
Package Contents......................................................................................
43
1.3.3
Operating Environment..............................................................................
47
1.3.4
Sample Program ........................................................................................
48
CHAPTER 2
LIBRARY SPECIFICATIONS ..........................................................................................
51
2.1
FUNCTION ..............................................................................................................
51
2.1.1
Differences in Library Operation Depending on VRAM (Image Memory)
Configuration..............................................................................................
52
2.1.2
JPEG Buffer ...............................................................................................
53
2.1.3
Precision of Operations .............................................................................
55
2.1.4
Compression Options ................................................................................
58
2.1.5
Options for Expansion ...............................................................................
59
2.1.6
Notes on Compression Test Option ..........................................................
60
2.2
LINK.........................................................................................................................
61
2.2.1
Selecting Library for Link...........................................................................
61
2.2.2
Specifying an Archive File .........................................................................
63
2.2.3
Advanced Library Specification .................................................................
65
2.2.4
Support for ABcond Instruction .................................................................
66
2.2.5
Added RGB Libraries (libjcr2.a, libjdr2.a) .................................................
67
2.2.6
Memory Map of Link ..................................................................................
68
2.2.7
Compile Option ..........................................................................................
68
2.3
MEMORY ................................................................................................................
69
2.3.1
CJINFO Structure ......................................................................................
70
2.3.2
DJINFO Structure ......................................................................................
73
2.3.3
APPINFO Structure ...................................................................................
76
2.3.4
MCU Buffer ................................................................................................
78
2.3.5
JPEG Buffer ...............................................................................................
79
2.3.6
Register Dispatch ......................................................................................
79
2.4
EXECUTING LIBRARY...........................................................................................
81