![](https://csdnimg.cn/release/download_crawler_static/10361976/bg12.jpg)
Contents
Smart Airbags .................................................................................................328
Collision Avoidance and Adaptive Cruise Control .......................................329
Lane Departure—A System Example ..................................................................331
Image Acquisition ..........................................................................................333
Memory and Data Movement ..................................................................333
Projection Correction .....................................................................................336
Image Filtering ..............................................................................................336
Edge Detection ...............................................................................................338
Straight Line Detection—Hough Transform .................................................339
Lane Tracking ................................................................................................342
Decision Making ............................................................................................343
Baseline JPEG Compression Overview .....................................................................344
Preprocessing .......................................................................................................344
Color Space ....................................................................................................344
Spatial Filtering ....................................................................................................345
Discrete Cosine Transform (DCT) .......................................................................346
Quantization .........................................................................................................347
Zigzag Sorting ......................................................................................................348
Coding the DC Coefficients .................................................................................349
Coding the AC Coefficients (Run-Length Coding) ..............................................350
Entropy Encoding ...............................................................................................350
Huffman Coding ............................................................................................351
JPEG File Interchange Format (JFIF) ..................................................................352
MPEG-2 Encoding .....................................................................................................353
Motion Estimation/Compensation .......................................................................354
Frame Types .........................................................................................................356
Format Conversion ...............................................................................................357
MPEG-2 Encoder Frameworks ............................................................................359
Code Optimization Study Using Open-Source Algorithms .......................................363
What Is Open Source? .........................................................................................363
What Is Ogg? .................................................................................................363
What Is Vorbis? ..............................................................................................364
What Is Speex? ..............................................................................................366
Optimizing Vorbis and Speex on Blackfin ...........................................................366
Compiler Optimization ..................................................................................368
System Optimization ......................................................................................370
Instruction Execution .....................................................................................370
Data Management ..........................................................................................371
Assembly Optimization .................................................................................372
xvii