2018-08-30 22:20:04 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
2016-07-07 18:11:46 +08:00
|
|
|
# Ignore header name
|
|
|
|
ignore define _UAPI_DVBDMX_H_
|
|
|
|
|
|
|
|
# Ignore limit constants
|
|
|
|
ignore define DMX_FILTER_SIZE
|
|
|
|
|
2016-08-30 21:21:03 +08:00
|
|
|
# dmx_pes_type_t enum symbols
|
|
|
|
replace enum dmx_ts_pes :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_AUDIO0 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_VIDEO0 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_TELETEXT0 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_SUBTITLE0 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_PCR0 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_AUDIO1 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_VIDEO1 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_TELETEXT1 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_SUBTITLE1 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_PCR1 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_AUDIO2 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_VIDEO2 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_TELETEXT2 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_SUBTITLE2 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_PCR2 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_AUDIO3 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_VIDEO3 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_TELETEXT3 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_SUBTITLE3 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_PCR3 :c:type:`dmx_pes_type`
|
|
|
|
replace symbol DMX_PES_OTHER :c:type:`dmx_pes_type`
|
2016-07-07 18:11:46 +08:00
|
|
|
|
|
|
|
# Ignore obsolete symbols
|
|
|
|
ignore define DMX_PES_AUDIO
|
|
|
|
ignore define DMX_PES_VIDEO
|
|
|
|
ignore define DMX_PES_TELETEXT
|
|
|
|
ignore define DMX_PES_SUBTITLE
|
|
|
|
ignore define DMX_PES_PCR
|
|
|
|
|
|
|
|
# dmx_input_t symbols
|
2016-08-30 21:21:03 +08:00
|
|
|
replace enum dmx_input :c:type:`dmx_input`
|
|
|
|
replace symbol DMX_IN_FRONTEND :c:type:`dmx_input`
|
|
|
|
replace symbol DMX_IN_DVR :c:type:`dmx_input`
|
2016-07-07 18:11:46 +08:00
|
|
|
|
|
|
|
# Flags for struct dmx_sct_filter_params
|
2016-08-30 21:21:03 +08:00
|
|
|
replace define DMX_CHECK_CRC :c:type:`dmx_sct_filter_params`
|
|
|
|
replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params`
|
|
|
|
replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params`
|
2016-07-07 18:11:46 +08:00
|
|
|
|
|
|
|
# some typedefs should point to struct/enums
|
2016-08-30 21:21:03 +08:00
|
|
|
replace typedef dmx_filter_t :c:type:`dmx_filter`
|
|
|
|
replace typedef dmx_pes_type_t :c:type:`dmx_pes_type`
|
|
|
|
replace typedef dmx_input_t :c:type:`dmx_input`
|
2017-09-01 00:28:52 +08:00
|
|
|
|
2018-02-09 18:51:19 +08:00
|
|
|
replace symbol DMX_BUFFER_FLAG_HAD_CRC32_DISCARD :c:type:`dmx_buffer_flags`
|
|
|
|
replace symbol DMX_BUFFER_FLAG_TEI :c:type:`dmx_buffer_flags`
|
|
|
|
replace symbol DMX_BUFFER_PKT_COUNTER_MISMATCH :c:type:`dmx_buffer_flags`
|
|
|
|
replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED :c:type:`dmx_buffer_flags`
|
|
|
|
replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR :c:type:`dmx_buffer_flags`
|
|
|
|
|
|
|
|
replace symbol DMX_OUT_DECODER :c:type:`dmx_output`
|
|
|
|
replace symbol DMX_OUT_TAP :c:type:`dmx_output`
|
|
|
|
replace symbol DMX_OUT_TS_TAP :c:type:`dmx_output`
|
|
|
|
replace symbol DMX_OUT_TSDEMUX_TAP :c:type:`dmx_output`
|
2017-12-29 21:34:11 +08:00
|
|
|
|
|
|
|
replace ioctl DMX_DQBUF dmx_qbuf
|