2
1. Introduction................................................................................................................................... 4
2. Software Components ................................................................................................................... 5
2.1. Installation Procedure ..................................................................................................... 6
2.1.1. Driver Installation ............................................................................................................ 6
2.1.2. Loading the Driver........................................................................................................... 6
2.1.3. Using the Driver from the Command Line...................................................................... 6
2.1.4. Using the Driver from Applications ................................................................................ 7
3. Demo Applications .................................................................................................................... 7
4. Functions Reference..................................................................................................................... 7
4.1. Standard Functions............................................................................................................... 7
4.2. Control Codes........................................................................................................................ 8
4.2.1. Video Functions......................................................................................................... 8
SX16_IOC_SET_INPUT........................................................................................................... 8
SX16_IOC_SET_INPUT_TYPE............................................................................................... 8
SX16_IOC_GET_INPUT_STATUS......................................................................................... 8
SX16_IOC_SET_VIDEO_SYSTEM ........................................................................................ 9
SX16_IOC_SET_BITRATE...................................................................................................... 9
SX16_IOC_SET_MPEG ........................................................................................................... 9
SX16_IOC_SET_N.................................................................................................................. 10
SX16_IOC_SET_M................................................................................................................. 10
SX16_IOC_SET_STREAM_TYPE ........................................................................................ 10
SX16_IOC_SET_VBR ............................................................................................................ 11
SX16_IOC_RW_STOP ........................................................................................................... 11
SX16_IOC_RW_PAUSE ........................................................................................................ 11
SX16_IOC_RW_RESUME..................................................................................................... 12
SX16_IOC_RW_RESET......................................................................................................... 12
SX16_IOC_SET_BRIGHTNESS............................................................................................ 12
SX16_IOC_SET_CONTRAST ............................................................................................... 12
SX16_IOC_SET_SATURATION........................................................................................... 13
SX16_IOC_SET_COLORBARS ............................................................................................ 13
4.2.2. Text Overlay Functions............................................................................................ 13
SX16_IOC_GET_CAPTION_SETTINGS.............................................................................. 13
SX16_IOC_SET_CAPTION_WINDOW................................................................................ 14
SX16_IOC_SET_CAPTION_XSTART ................................................................................. 14
SX16_IOC_SET_CAPTION_YSTART ................................................................................. 14
SX16_IOC_SET_CAPTION_SCALE .................................................................................... 15
SX16_IOC_SET_CAPTION_COLOR.................................................................................... 15
SX16_IOC_SET_CAPTION_TRANSPARENCY ................................................................. 16
SX16_IOC_SET_CAPTION_TEXT....................................................................................... 16
SX16_IOC_SET_CAPTION_ON ........................................................................................... 16
4.2.3. Audio Functions....................................................................................................... 17
SX16_IOC_SET_AUDIO_VOLUME .................................................................................... 17
SX16_IOC_SET_AUDIO_MUTE .......................................................................................... 17