aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index a61edb353273..ac1ad33ba3e0 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -767,13 +767,13 @@ struct v4l2_crop {
767/* Selection targets */ 767/* Selection targets */
768 768
769/* Current cropping area */ 769/* Current cropping area */
770#define V4L2_SEL_TGT_CROP_ACTIVE 0x0000 770#define V4L2_SEL_TGT_CROP 0x0000
771/* Default cropping area */ 771/* Default cropping area */
772#define V4L2_SEL_TGT_CROP_DEFAULT 0x0001 772#define V4L2_SEL_TGT_CROP_DEFAULT 0x0001
773/* Cropping bounds */ 773/* Cropping bounds */
774#define V4L2_SEL_TGT_CROP_BOUNDS 0x0002 774#define V4L2_SEL_TGT_CROP_BOUNDS 0x0002
775/* Current composing area */ 775/* Current composing area */
776#define V4L2_SEL_TGT_COMPOSE_ACTIVE 0x0100 776#define V4L2_SEL_TGT_COMPOSE 0x0100
777/* Default composing area */ 777/* Default composing area */
778#define V4L2_SEL_TGT_COMPOSE_DEFAULT 0x0101 778#define V4L2_SEL_TGT_COMPOSE_DEFAULT 0x0101
779/* Composing bounds */ 779/* Composing bounds */
@@ -781,6 +781,10 @@ struct v4l2_crop {
781/* Current composing area plus all padding pixels */ 781/* Current composing area plus all padding pixels */
782#define V4L2_SEL_TGT_COMPOSE_PADDED 0x0103 782#define V4L2_SEL_TGT_COMPOSE_PADDED 0x0103
783 783
784/* Backward compatibility definitions */
785#define V4L2_SEL_TGT_CROP_ACTIVE V4L2_SEL_TGT_CROP
786#define V4L2_SEL_TGT_COMPOSE_ACTIVE V4L2_SEL_TGT_COMPOSE
787
784/** 788/**
785 * struct v4l2_selection - selection info 789 * struct v4l2_selection - selection info
786 * @type: buffer type (do not use *_MPLANE types) 790 * @type: buffer type (do not use *_MPLANE types)