Go to the documentation of this file.
13 #ifndef VPBE_DISPLAY_H
14 #define VPBE_DISPLAY_H
17 #include <linux/videodev2.h>
24 #define VPBE_DISPLAY_MAX_DEVICES 2
31 #define VPBE_DISPLAY_DRV_NAME "vpbe-display"
33 #define VPBE_DISPLAY_MAJOR_RELEASE 1
34 #define VPBE_DISPLAY_MINOR_RELEASE 0
35 #define VPBE_DISPLAY_BUILD 1
36 #define VPBE_DISPLAY_VERSION_CODE ((VPBE_DISPLAY_MAJOR_RELEASE << 16) | \
37 (VPBE_DISPLAY_MINOR_RELEASE << 8) | \
40 #define VPBE_DISPLAY_VALID_FIELD(field) ((V4L2_FIELD_NONE == field) || \
41 (V4L2_FIELD_ANY == field) || (V4L2_FIELD_INTERLACED == field))
44 #define VPBE_DISPLAY_H_EXP_RATIO_N 9
45 #define VPBE_DISPLAY_H_EXP_RATIO_D 8
46 #define VPBE_DISPLAY_V_EXP_RATIO_N 6
47 #define VPBE_DISPLAY_V_EXP_RATIO_D 5
50 #define VPBE_DISPLAY_ZOOM_4X 4
51 #define VPBE_DISPLAY_ZOOM_2X 2