Commit | Line | Data |
---|---|---|
f2ac8ce8 MCC |
1 | # SPDX-License-Identifier: GPL-2.0 |
2 | ||
ada66bc1 MCC |
3 | # Ignore header name |
4 | ignore define _UAPI_DVBDMX_H_ | |
5 | ||
6 | # Ignore limit constants | |
7 | ignore define DMX_FILTER_SIZE | |
8 | ||
836cf1db MCC |
9 | # dmx_pes_type_t enum symbols |
10 | replace enum dmx_ts_pes :c:type:`dmx_pes_type` | |
11 | replace symbol DMX_PES_AUDIO0 :c:type:`dmx_pes_type` | |
12 | replace symbol DMX_PES_VIDEO0 :c:type:`dmx_pes_type` | |
13 | replace symbol DMX_PES_TELETEXT0 :c:type:`dmx_pes_type` | |
14 | replace symbol DMX_PES_SUBTITLE0 :c:type:`dmx_pes_type` | |
15 | replace symbol DMX_PES_PCR0 :c:type:`dmx_pes_type` | |
16 | replace symbol DMX_PES_AUDIO1 :c:type:`dmx_pes_type` | |
17 | replace symbol DMX_PES_VIDEO1 :c:type:`dmx_pes_type` | |
18 | replace symbol DMX_PES_TELETEXT1 :c:type:`dmx_pes_type` | |
19 | replace symbol DMX_PES_SUBTITLE1 :c:type:`dmx_pes_type` | |
20 | replace symbol DMX_PES_PCR1 :c:type:`dmx_pes_type` | |
21 | replace symbol DMX_PES_AUDIO2 :c:type:`dmx_pes_type` | |
22 | replace symbol DMX_PES_VIDEO2 :c:type:`dmx_pes_type` | |
23 | replace symbol DMX_PES_TELETEXT2 :c:type:`dmx_pes_type` | |
24 | replace symbol DMX_PES_SUBTITLE2 :c:type:`dmx_pes_type` | |
25 | replace symbol DMX_PES_PCR2 :c:type:`dmx_pes_type` | |
26 | replace symbol DMX_PES_AUDIO3 :c:type:`dmx_pes_type` | |
27 | replace symbol DMX_PES_VIDEO3 :c:type:`dmx_pes_type` | |
28 | replace symbol DMX_PES_TELETEXT3 :c:type:`dmx_pes_type` | |
29 | replace symbol DMX_PES_SUBTITLE3 :c:type:`dmx_pes_type` | |
30 | replace symbol DMX_PES_PCR3 :c:type:`dmx_pes_type` | |
31 | replace symbol DMX_PES_OTHER :c:type:`dmx_pes_type` | |
ada66bc1 MCC |
32 | |
33 | # Ignore obsolete symbols | |
34 | ignore define DMX_PES_AUDIO | |
35 | ignore define DMX_PES_VIDEO | |
36 | ignore define DMX_PES_TELETEXT | |
37 | ignore define DMX_PES_SUBTITLE | |
38 | ignore define DMX_PES_PCR | |
39 | ||
40 | # dmx_input_t symbols | |
836cf1db MCC |
41 | replace enum dmx_input :c:type:`dmx_input` |
42 | replace symbol DMX_IN_FRONTEND :c:type:`dmx_input` | |
43 | replace symbol DMX_IN_DVR :c:type:`dmx_input` | |
ada66bc1 | 44 | |
ada66bc1 | 45 | # Flags for struct dmx_sct_filter_params |
836cf1db MCC |
46 | replace define DMX_CHECK_CRC :c:type:`dmx_sct_filter_params` |
47 | replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params` | |
48 | replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params` | |
ada66bc1 MCC |
49 | |
50 | # some typedefs should point to struct/enums | |
836cf1db MCC |
51 | replace typedef dmx_filter_t :c:type:`dmx_filter` |
52 | replace typedef dmx_pes_type_t :c:type:`dmx_pes_type` | |
53 | replace typedef dmx_input_t :c:type:`dmx_input` | |
bb98e6d2 | 54 | |
9c171cdf MCC |
55 | replace symbol DMX_BUFFER_FLAG_HAD_CRC32_DISCARD :c:type:`dmx_buffer_flags` |
56 | replace symbol DMX_BUFFER_FLAG_TEI :c:type:`dmx_buffer_flags` | |
57 | replace symbol DMX_BUFFER_PKT_COUNTER_MISMATCH :c:type:`dmx_buffer_flags` | |
58 | replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED :c:type:`dmx_buffer_flags` | |
59 | replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR :c:type:`dmx_buffer_flags` | |
60 | ||
61 | replace symbol DMX_OUT_DECODER :c:type:`dmx_output` | |
62 | replace symbol DMX_OUT_TAP :c:type:`dmx_output` | |
63 | replace symbol DMX_OUT_TS_TAP :c:type:`dmx_output` | |
64 | replace symbol DMX_OUT_TSDEMUX_TAP :c:type:`dmx_output` | |
3f3c11c3 MCC |
65 | |
66 | replace ioctl DMX_DQBUF dmx_qbuf |