0001 # SPDX-License-Identifier: GPL-2.0
0002
0003 # Ignore header name
0004 ignore define _UAPI_DVBDMX_H_
0005
0006 # Ignore limit constants
0007 ignore define DMX_FILTER_SIZE
0008
0009 # dmx_pes_type_t enum symbols
0010 replace enum dmx_ts_pes :c:type:`dmx_pes_type`
0011 replace symbol DMX_PES_AUDIO0 :c:type:`dmx_pes_type`
0012 replace symbol DMX_PES_VIDEO0 :c:type:`dmx_pes_type`
0013 replace symbol DMX_PES_TELETEXT0 :c:type:`dmx_pes_type`
0014 replace symbol DMX_PES_SUBTITLE0 :c:type:`dmx_pes_type`
0015 replace symbol DMX_PES_PCR0 :c:type:`dmx_pes_type`
0016 replace symbol DMX_PES_AUDIO1 :c:type:`dmx_pes_type`
0017 replace symbol DMX_PES_VIDEO1 :c:type:`dmx_pes_type`
0018 replace symbol DMX_PES_TELETEXT1 :c:type:`dmx_pes_type`
0019 replace symbol DMX_PES_SUBTITLE1 :c:type:`dmx_pes_type`
0020 replace symbol DMX_PES_PCR1 :c:type:`dmx_pes_type`
0021 replace symbol DMX_PES_AUDIO2 :c:type:`dmx_pes_type`
0022 replace symbol DMX_PES_VIDEO2 :c:type:`dmx_pes_type`
0023 replace symbol DMX_PES_TELETEXT2 :c:type:`dmx_pes_type`
0024 replace symbol DMX_PES_SUBTITLE2 :c:type:`dmx_pes_type`
0025 replace symbol DMX_PES_PCR2 :c:type:`dmx_pes_type`
0026 replace symbol DMX_PES_AUDIO3 :c:type:`dmx_pes_type`
0027 replace symbol DMX_PES_VIDEO3 :c:type:`dmx_pes_type`
0028 replace symbol DMX_PES_TELETEXT3 :c:type:`dmx_pes_type`
0029 replace symbol DMX_PES_SUBTITLE3 :c:type:`dmx_pes_type`
0030 replace symbol DMX_PES_PCR3 :c:type:`dmx_pes_type`
0031 replace symbol DMX_PES_OTHER :c:type:`dmx_pes_type`
0032
0033 # Ignore obsolete symbols
0034 ignore define DMX_PES_AUDIO
0035 ignore define DMX_PES_VIDEO
0036 ignore define DMX_PES_TELETEXT
0037 ignore define DMX_PES_SUBTITLE
0038 ignore define DMX_PES_PCR
0039
0040 # dmx_input_t symbols
0041 replace enum dmx_input :c:type:`dmx_input`
0042 replace symbol DMX_IN_FRONTEND :c:type:`dmx_input`
0043 replace symbol DMX_IN_DVR :c:type:`dmx_input`
0044
0045 # Flags for struct dmx_sct_filter_params
0046 replace define DMX_CHECK_CRC :c:type:`dmx_sct_filter_params`
0047 replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params`
0048 replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params`
0049
0050 # some typedefs should point to struct/enums
0051 replace typedef dmx_filter_t :c:type:`dmx_filter`
0052 replace typedef dmx_pes_type_t :c:type:`dmx_pes_type`
0053 replace typedef dmx_input_t :c:type:`dmx_input`
0054
0055 replace symbol DMX_BUFFER_FLAG_HAD_CRC32_DISCARD :c:type:`dmx_buffer_flags`
0056 replace symbol DMX_BUFFER_FLAG_TEI :c:type:`dmx_buffer_flags`
0057 replace symbol DMX_BUFFER_PKT_COUNTER_MISMATCH :c:type:`dmx_buffer_flags`
0058 replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED :c:type:`dmx_buffer_flags`
0059 replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR :c:type:`dmx_buffer_flags`
0060
0061 replace symbol DMX_OUT_DECODER :c:type:`dmx_output`
0062 replace symbol DMX_OUT_TAP :c:type:`dmx_output`
0063 replace symbol DMX_OUT_TS_TAP :c:type:`dmx_output`
0064 replace symbol DMX_OUT_TSDEMUX_TAP :c:type:`dmx_output`
0065
0066 replace ioctl DMX_DQBUF dmx_qbuf