Download LSP 2.10 Davinci Linux VPFE Capture Driver
Transcript
Contents 1 2 3 Introduction......................................................................................................................... 6 1.1 EVM Configuration for Video Capture .................................................................................. 7 1.2 Supported Features ....................................................................................................... 8 1.3 Constraints ................................................................................................................. 8 Driver Overview ................................................................................................................... 9 2.1 Driver Architecture ........................................................................................................ 9 2.2 Design ..................................................................................................................... 10 Initialization 2.2.2 Opening and Closing of Driver ............................................................................ 11 2.2.3 Buffer Management ......................................................................................... 11 2.2.4 Configuration and Control .................................................................................. 13 2.2.5 IOCTLs Handling ............................................................................................ 16 2.2.6 ISR Handling................................................................................................. 28 Decoders.................................................................................................................. 30 3.1.1 Data Structures and API for Decoder Interface ......................................................... 30 3.1.2 Supported Decoders ........................................................................................ 33 3.1.3 Adding New Decoder Support ............................................................................. 34 User Interface .................................................................................................................... 35 4.1 API ......................................................................................................................... 35 4.2 Data Structures .......................................................................................................... 35 4.3 4.2.1 CCDC Configuration ........................................................................................ 35 4.2.2 CCDC Control ............................................................................................... 35 4.2.3 MT9T001 Parameter Structure ............................................................................ 36 4.2.4 MT9P031 Parameter Structure ............................................................................ 36 4.2.5 TVP5146 Parameter Structure ............................................................................ 37 4.2.6 TVP7002 Parameter Structure ............................................................................ 37 4.2.7 Request Buffer Structure for V4L2 ........................................................................ 37 4.2.8 Buffer Structure for V4L2 4.2.9 Query Capability Structure for V4L2 ...................................................................... 39 4.2.10 Input Structure for V4L2 .................................................................................... 39 4.2.11 Standard Structure for V4L2 ............................................................................... 40 4.2.12 Format Description Structure for V4L2 ................................................................... 40 4.2.13 Format Structure for V4L2 ................................................................................. 41 4.2.14 Query Control Structure for V4L2 ......................................................................... 41 4.2.15 Control Structure for V4L2 ................................................................................. 42 .................................................................................. 38 Enumerations and Defines ............................................................................................. 42 4.3.1 5 6 11 Portability .......................................................................................................................... 30 3.1 4 .................................................................................................. 2.2.1 Possible Standards for Different Decoders .............................................................. 42 Driver Files ........................................................................................................................ 43 Build and Installation .......................................................................................................... 44 6.1 Build Steps ............................................................................................................... SPRUGP6 – June 2009 Submit Documentation Feedback Table of Contents 44 3