MT9D131 Developer Guide
About this Guide
Table of Contents
List of Figures
List of Tables
Introduction to Registers
Two-Wire Serial Interface
Overview
Example: 16-Bit Register Read
Example: 16-Bit Register Write
Accessing the Firmware Drivers' Variables
Initializing the MT9D131
Power-up Sequence
Hard Reset Sequence
Soft Reset Sequence
Standby Sequence
PLL Setup
Identifying Chip Version
Context Switching and Output Configuration
Context Switch and Setup
Changing the Output Resolution
Selecting Output Data Formats
Raw Bayer Data Output
Output Format and Timing
Decimation, Zoom, and Pan
Enabling Special Effects
Mirroring the Image
Column and Row Skip
Binning
Configuring Pad Slew
Capturing Still Pictures
Capturing Videos
Enabling and Capturing JPEG
Switching Between JPEG 4:2:2, 4:2:0, and Monochrome
Gamma and Contrast
Gamma
Contrast
Lens Shading and Correction
Introduction
Lens Shading Approach
Setup
Preset and Load
Setup Conditions
Calibration
Result
Verification
Related Register List
Auto Exposure
Overview
Preview Mode
Scene-Evaluative Mode
AE Sport Mode
Calibrating the AE Exposure Value (EV) Reference
Modifying the Image Brightness
Speeding Up and Slowing Down AE Adjustments
Maintaining Specific Frame Rates
Using Manual Exposure and Manual Gain
Flicker Avoidance
Background
Using the Flicker Detection Driver
Color Correction
Auto White Balance
Changing the Color Saturation
Speeding Up or Slowing Down AWB
Using a Static CCM
Performing Color Calibration
Related Register List
Mode Driver-Setting Up Preview (A) and Capture (B) Modes
MT9D131 Register Wizard
Procedure
Histogram Driver
Seting Up the Histogram Driver Variable
Flash Strobe, Mechanical Shutter, and Global Reset
Still Capture Using Xenon/LED Flash with User-defined Image Quality Settings
Still Capture Using LED Flash with Automatic White Balance and Exposure Control
Using the Test Patterns
Disabling All Firmware Drivers
JPEG Functionality
Enabling or Disabling the JPEG Output
Setting the JPEG Color Format
Setting the Restart Marker Interval
Getting the JPEG Status
Getting the JPEG Data Length
Handling JPEG Errors
Reading or Writing to the JPEG Quantization and Huffman Table Memories
Programming the Quantization Table
Translating Between Qscale and Quality Factor
Programming the Customized Huffman Table
Appending the JPEG Header
Sample C Code
JPEG Power Saving
Appendix A-Frequently Asked Questions
Initializing FAQs
Context Switching and Output Configuration
Gamma and Contrast
Lens Shading and Correction
Auto Exposure
Flicker Avoidance
Color Correction
Mode Driver Preview and Driver
Flash Strobe, Mechanical Shutter, and Global Reset
JPEG Functionality
Miscellaneous FAQs
Appendix B-Glossary of Terms
Revision History