1#ifndef _LINUX_VIDEO_DECODER_H
2#define _LINUX_VIDEO_DECODER_H
3
4struct video_decoder_capability {
5 __u32 flags;
6#define VIDEO_DECODER_PAL 1
7#define VIDEO_DECODER_NTSC 2
8#define VIDEO_DECODER_SECAM 4
9#define VIDEO_DECODER_AUTO 8
10#define VIDEO_DECODER_CCIR 16
11 int inputs;
12 int outputs;
13};
14
15
16
17
18
19#define DECODER_STATUS_GOOD 1
20#define DECODER_STATUS_COLOR 2
21#define DECODER_STATUS_PAL 4
22#define DECODER_STATUS_NTSC 8
23#define DECODER_STATUS_SECAM 16
24
25
26#define DECODER_GET_CAPABILITIES _IOR('d', 1, struct video_decoder_capability)
27#define DECODER_GET_STATUS _IOR('d', 2, int)
28#define DECODER_SET_NORM _IOW('d', 3, int)
29#define DECODER_SET_INPUT _IOW('d', 4, int)
30#define DECODER_SET_OUTPUT _IOW('d', 5, int)
31#define DECODER_ENABLE_OUTPUT _IOW('d', 6, int)
32#define DECODER_SET_PICTURE _IOW('d', 7, struct video_picture)
33
34#define DECODER_DUMP _IO('d', 192)
35
36
37#endif
38