Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a69880eb authored by Christopher N. Hesse's avatar Christopher N. Hesse Committed by bonuzzz
Browse files

videodev2: Add Digital Video Timings API definitions for Exynos userspace libs

Change-Id: I4f26e7d6a2f57a4b217d44a7405e85ea056fad7e
(cherry picked from commit 705926aa3c4fcfd37305cb119e5581e63500028b)
parent 88061f95
Loading
Loading
Loading
Loading
+71 −0
Original line number Diff line number Diff line
@@ -962,6 +962,77 @@ struct v4l2_standard {
	__u32		     reserved[4];
};

/*
 *	V I D E O	T I M I N G S	D V	P R E S E T
 */
struct v4l2_dv_preset {
    __u32	preset;
    __u32	reserved[4];
};

/*
 *	D V	P R E S E T S	E N U M E R A T I O N
 */
struct v4l2_dv_enum_preset {
    __u32	index;
    __u32	preset;
    __u8	name[32]; /* Name of the preset timing */
    __u32	width;
    __u32	height;
    __u32	reserved[4];
};

/*
 * 	D V	P R E S E T	V A L U E S
 */
#define		V4L2_DV_INVALID		0
#define		V4L2_DV_480P59_94	1 /* BT.1362 */
#define		V4L2_DV_576P50		2 /* BT.1362 */
#define		V4L2_DV_720P24		3 /* SMPTE 296M */
#define		V4L2_DV_720P25		4 /* SMPTE 296M */
#define		V4L2_DV_720P30		5 /* SMPTE 296M */
#define		V4L2_DV_720P50		6 /* SMPTE 296M */
#define		V4L2_DV_720P59_94	7 /* SMPTE 274M */
#define		V4L2_DV_720P60		8 /* SMPTE 274M/296M */
#define		V4L2_DV_1080I29_97	9 /* BT.1120/ SMPTE 274M */
#define		V4L2_DV_1080I30		10 /* BT.1120/ SMPTE 274M */
#define		V4L2_DV_1080I25		11 /* BT.1120 */
#define		V4L2_DV_1080I50		12 /* SMPTE 296M */
#define		V4L2_DV_1080I60		13 /* SMPTE 296M */
#define		V4L2_DV_1080P24		14 /* SMPTE 296M */
#define		V4L2_DV_1080P25		15 /* SMPTE 296M */
#define		V4L2_DV_1080P30		16 /* SMPTE 296M */
#define		V4L2_DV_1080P50		17 /* BT.1120 */
#define		V4L2_DV_1080P60		18 /* BT.1120 */

#define		V4L2_DV_480P60			19
#define		V4L2_DV_1080I59_94		20
#define		V4L2_DV_1080P59_94		21

#define		V4L2_DV_720P60_FP		22
#define		V4L2_DV_720P60_SB_HALF		23
#define		V4L2_DV_720P60_TB		24
#define		V4L2_DV_720P59_94_FP		25
#define		V4L2_DV_720P59_94_SB_HALF	26
#define		V4L2_DV_720P59_94_TB		27
#define		V4L2_DV_720P50_FP		28
#define		V4L2_DV_720P50_SB_HALF		29
#define		V4L2_DV_720P50_TB		30
#define		V4L2_DV_1080P24_FP		31
#define		V4L2_DV_1080P24_SB_HALF		32
#define		V4L2_DV_1080P24_TB		33
#define		V4L2_DV_1080P23_98_FP		34
#define		V4L2_DV_1080P23_98_SB_HALF	35
#define		V4L2_DV_1080P23_98_TB		36
#define		V4L2_DV_1080I60_SB_HALF		37
#define		V4L2_DV_1080I59_94_SB_HALF	38
#define		V4L2_DV_1080I50_SB_HALF		39
#define		V4L2_DV_1080P60_SB_HALF		40
#define		V4L2_DV_1080P60_TB		41
#define		V4L2_DV_1080P30_FP		42
#define		V4L2_DV_1080P30_SB_HALF		43
#define		V4L2_DV_1080P30_TB		44

/*
 *	D V 	B T	T I M I N G S
 */