LINUX DVB API

Version 3

Ralph J. K. Metzler

Marcus O. C. Metzler

Mauro Carvalho Chehab

Ported document to Docbook XML. 

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. A copy of the license is included in the chapter entitled "GNU Free Documentation License"

Revision History
Revision 2.0.02009-09-06mcc
Conversion from LaTex to DocBook XML. The contents is the same as the original LaTex version.
Revision 1.0.02003-07-24rjkm
Initial revision on LaTEX.

Table of Contents

1. Introduction
1.1. What you need to know
1.2. History
1.3. Overview
1.4. Linux DVB Devices
1.5. API include files
2. DVB Frontend API
2.1. Frontend Data Types
2.1.1. frontend type
2.1.2. frontend capabilities
2.1.3. frontend information
2.1.4. diseqc master command
2.1.5. diseqc slave reply
2.1.6. diseqc slave reply
2.1.7. SEC continuous tone
2.1.8. SEC tone burst
2.1.9. frontend status
2.1.10. frontend parameters
2.1.11. frontend events
2.2. Frontend Function Calls
2.2.1. open()
2.2.2. close()
2.2.3. FE_READ_STATUS
2.2.4. FE_READ_BER
2.2.5. FE_READ_SNR
2.2.6. FE_READ_SIGNAL_STRENGTH
2.2.7. FE_READ_UNCORRECTED_BLOCKS
2.2.8. FE_SET_FRONTEND
2.2.9. FE_GET_FRONTEND
2.2.10. FE_GET_EVENT
2.2.11. FE_GET_INFO
2.2.12. FE_DISEQC_RESET_OVERLOAD
2.2.13. FE_DISEQC_SEND_MASTER_CMD
2.2.14. FE_DISEQC_RECV_SLAVE_REPLY
2.2.15. FE_DISEQC_SEND_BURST
2.2.16. FE_SET_TONE
2.2.17. FE_SET_VOLTAGE
2.2.18. FE_ENABLE_HIGH_LNB_VOLTAGE
3. DVB Demux Device
3.1. Demux Data Types
3.1.1. dmx_output_t
3.1.2. dmx_input_t
3.1.3. dmx_pes_type_t
3.1.4. dmx_event_t
3.1.5. dmx_scrambling_status_t
3.1.6. struct dmx_filter
3.1.7. struct dmx_sct_filter_params
3.1.8. struct dmx_pes_filter_params
3.1.9. struct dmx_event
3.1.10. struct dmx_stc
3.2. Demux Function Calls
3.2.1. open()
3.2.2. close()
3.2.3. read()
3.2.4. write()
3.2.5. DMX_START
3.2.6. DMX_STOP
3.2.7. DMX_SET_FILTER
3.2.8. DMX_SET_PES_FILTER
3.2.9. DMX_SET_BUFFER_SIZE
3.2.10. DMX_GET_EVENT
3.2.11. DMX_GET_STC
4. DVB Video Device
4.1. Video Data Types
4.1.1. video_format_t
4.1.2. video_display_format_t
4.1.3. video stream source
4.1.4. video play state
4.1.5. struct video_event
4.1.6. struct video_status
4.1.7. struct video_still_picture
4.1.8. video capabilities
4.1.9. video system
4.1.10. struct video_highlight
4.1.11. video SPU
4.1.12. video SPU palette
4.1.13. video NAVI pack
4.1.14. video attributes
4.2. Video Function Calls
4.2.1. open()
4.2.2. close()
4.2.3. write()
4.2.4. VIDEO_STOP
4.2.5. VIDEO_PLAY
4.2.6. VIDEO_FREEZE
4.2.7. VIDEO_CONTINUE
4.2.8. VIDEO_SELECT_SOURCE
4.2.9. VIDEO_SET_BLANK
4.2.10. VIDEO_GET_STATUS
4.2.11. VIDEO_GET_EVENT
4.2.12. VIDEO_SET_DISPLAY_FORMAT
4.2.13. VIDEO_STILLPICTURE
4.2.14. VIDEO_FAST_FORWARD
4.2.15. VIDEO_SLOWMOTION
4.2.16. VIDEO_GET_CAPABILITIES
4.2.17. VIDEO_SET_ID
4.2.18. VIDEO_CLEAR_BUFFER
4.2.19. VIDEO_SET_STREAMTYPE
4.2.20. VIDEO_SET_FORMAT
4.2.21. VIDEO_SET_SYSTEM
4.2.22. VIDEO_SET_HIGHLIGHT
4.2.23. VIDEO_SET_SPU
4.2.24. VIDEO_SET_SPU_PALETTE
4.2.25. VIDEO_GET_NAVI
4.2.26. VIDEO_SET_ATTRIBUTES
5. DVB Audio Device
5.1. Audio Data Types
5.1.1. audio_stream_source_t
5.1.2. audio_play_state_t
5.1.3. audio_channel_select_t
5.1.4. struct audio_status
5.1.5. struct audio_mixer
5.1.6. audio encodings
5.1.7. struct audio_karaoke
5.1.8. audio attributes
5.2. Audio Function Calls
5.2.1. open()
5.2.2. close()
5.2.3. write()
5.2.4. AUDIO_STOP
5.2.5. AUDIO_PLAY
5.2.6. AUDIO_PAUSE
5.2.7. AUDIO_SELECT_SOURCE
5.2.8. AUDIO_SET_MUTE
5.2.9. AUDIO_SET_AV_SYNC
5.2.10. AUDIO_SET_BYPASS_MODE
5.2.11. AUDIO_CHANNEL_SELECT
5.2.12. AUDIO_GET_STATUS
5.2.13. AUDIO_GET_CAPABILITIES
5.2.14. AUDIO_CLEAR_BUFFER
5.2.15. AUDIO_SET_ID
5.2.16. AUDIO_SET_MIXER
5.2.17. AUDIO_SET_STREAMTYPE
5.2.18. AUDIO_SET_EXT_ID
5.2.19. AUDIO_SET_ATTRIBUTES
5.2.20. AUDIO_SET_KARAOKE
6. DVB CA Device
6.1. CA Data Types
6.1.1. ca_slot_info_t
6.1.2. ca_descr_info_t
6.1.3. ca_cap_t
6.1.4. ca_msg_t
6.1.5. ca_descr_t
6.2. CA Function Calls
6.2.1. open()
6.2.2. close()
7. DVB Network API
7.1. DVB Net Data Types
8. Kernel Demux API
8.1. Kernel Demux Data Types
8.1.1. dmx_success_t
8.1.2. TS filter types
8.1.3. dmx_ts_pes_t
8.1.4. demux_demux_t
8.1.5. Demux directory
8.2. Demux Directory API
8.2.1. dmx_register_demux()
8.2.2. dmx_unregister_demux()
8.2.3. dmx_get_demuxes()
8.3. Demux API
8.3.1. open()
8.3.2. close()
8.3.3. write()
8.3.4. allocate_ts_feed()
8.3.5. release_ts_feed()
8.3.6. allocate_section_feed()
8.3.7. release_section_feed()
8.3.8. descramble_mac_address()
8.3.9. descramble_section_payload()
8.3.10. add_frontend()
8.3.11. remove_frontend()
8.3.12. get_frontends()
8.3.13. connect_frontend()
8.3.14. disconnect_frontend()
8.4. Demux Callback API
8.4.1. dmx_ts_cb()
8.4.2. dmx_section_cb()
8.5. TS Feed API
8.5.1. set()
8.5.2. start_filtering()
8.5.3. stop_filtering()
8.6. Section Feed API
8.7. set()
8.8. allocate_filter()
8.9. release_filter()
8.10. start_filtering()
8.11. stop_filtering()
9. Examples
9.1. Tuning
9.2. The DVR device
A. GNU Free Documentation License
A.1. Preamble
A.2. Applicability and Definitions
A.3. Verbatim Copying
A.4. Copying in Quantity
A.5. Modifications
A.6. Combining Documents
A.7. Collections of Documents
A.8. Aggregation With Independent Works
A.9. Translation
A.10. Termination
A.11. Future Revisions of This License
A.12. ADDENDUM: How to use this License for your documents
List of Figures