Go to the documentation of this file.
29 #ifndef __V4L2_COMMON__
30 #define __V4L2_COMMON__
39 #define V4L2_SEL_TGT_CROP 0x0000
41 #define V4L2_SEL_TGT_CROP_DEFAULT 0x0001
43 #define V4L2_SEL_TGT_CROP_BOUNDS 0x0002
45 #define V4L2_SEL_TGT_COMPOSE 0x0100
47 #define V4L2_SEL_TGT_COMPOSE_DEFAULT 0x0101
49 #define V4L2_SEL_TGT_COMPOSE_BOUNDS 0x0102
51 #define V4L2_SEL_TGT_COMPOSE_PADDED 0x0103
54 #define V4L2_SEL_TGT_CROP_ACTIVE V4L2_SEL_TGT_CROP
55 #define V4L2_SEL_TGT_COMPOSE_ACTIVE V4L2_SEL_TGT_COMPOSE
56 #define V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL V4L2_SEL_TGT_CROP
57 #define V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL V4L2_SEL_TGT_COMPOSE
58 #define V4L2_SUBDEV_SEL_TGT_CROP_BOUNDS V4L2_SEL_TGT_CROP_BOUNDS
59 #define V4L2_SUBDEV_SEL_TGT_COMPOSE_BOUNDS V4L2_SEL_TGT_COMPOSE_BOUNDS
62 #define V4L2_SEL_FLAG_GE (1 << 0)
63 #define V4L2_SEL_FLAG_LE (1 << 1)
64 #define V4L2_SEL_FLAG_KEEP_CONFIG (1 << 2)
67 #define V4L2_SUBDEV_SEL_FLAG_SIZE_GE V4L2_SEL_FLAG_GE
68 #define V4L2_SUBDEV_SEL_FLAG_SIZE_LE V4L2_SEL_FLAG_LE
69 #define V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG V4L2_SEL_FLAG_KEEP_CONFIG