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