Go to the documentation of this file.
16 #ifndef DAVINCIHD_DISPLAY_H
17 #define DAVINCIHD_DISPLAY_H
20 #include <linux/videodev2.h>
29 #define VPIF_DISPLAY_VERSION "0.0.2"
31 #define VPIF_VALID_FIELD(field) \
32 (((V4L2_FIELD_ANY == field) || (V4L2_FIELD_NONE == field)) || \
33 (((V4L2_FIELD_INTERLACED == field) || (V4L2_FIELD_SEQ_TB == field)) || \
34 (V4L2_FIELD_SEQ_BT == field)))
36 #define VPIF_DISPLAY_MAX_DEVICES (2)
37 #define VPIF_SLICED_BUF_SIZE (256)
38 #define VPIF_SLICED_MAX_SERVICES (3)
39 #define VPIF_VIDEO_INDEX (0)
40 #define VPIF_VBI_INDEX (1)
41 #define VPIF_HBI_INDEX (2)
44 #define VPIF_NUMOBJECTS (1)
47 #define ISALIGNED(a) (0 == ((a) & 7))