diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-03-09 04:46:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 14:33:24 -0400 |
commit | 9080d5d3fa9888facd6898c6705b1a6713882955 (patch) | |
tree | 8c22e1810cd899e57ac132b38a6b262537a96bbc /include/linux/videodev2.h | |
parent | 1d53160111d821d5d924e220f6b5b423f938d617 (diff) |
[media] V4L: Improve the selection API documentation
Make the VIDIOC_G/S_SELECTION ioctls documentation more consistent
with the rest of media Docbook, use capital letters where necessary
and correct few minor errors.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 3fab6cacccbe..c9c9a4680cc5 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -762,20 +762,20 @@ struct v4l2_crop { | |||
762 | 762 | ||
763 | /* Selection targets */ | 763 | /* Selection targets */ |
764 | 764 | ||
765 | /* current cropping area */ | 765 | /* Current cropping area */ |
766 | #define V4L2_SEL_TGT_CROP_ACTIVE 0 | 766 | #define V4L2_SEL_TGT_CROP_ACTIVE 0x0000 |
767 | /* default cropping area */ | 767 | /* Default cropping area */ |
768 | #define V4L2_SEL_TGT_CROP_DEFAULT 1 | 768 | #define V4L2_SEL_TGT_CROP_DEFAULT 0x0001 |
769 | /* cropping bounds */ | 769 | /* Cropping bounds */ |
770 | #define V4L2_SEL_TGT_CROP_BOUNDS 2 | 770 | #define V4L2_SEL_TGT_CROP_BOUNDS 0x0002 |
771 | /* current composing area */ | 771 | /* Current composing area */ |
772 | #define V4L2_SEL_TGT_COMPOSE_ACTIVE 256 | 772 | #define V4L2_SEL_TGT_COMPOSE_ACTIVE 0x0100 |
773 | /* default composing area */ | 773 | /* Default composing area */ |
774 | #define V4L2_SEL_TGT_COMPOSE_DEFAULT 257 | 774 | #define V4L2_SEL_TGT_COMPOSE_DEFAULT 0x0101 |
775 | /* composing bounds */ | 775 | /* Composing bounds */ |
776 | #define V4L2_SEL_TGT_COMPOSE_BOUNDS 258 | 776 | #define V4L2_SEL_TGT_COMPOSE_BOUNDS 0x0102 |
777 | /* current composing area plus all padding pixels */ | 777 | /* Current composing area plus all padding pixels */ |
778 | #define V4L2_SEL_TGT_COMPOSE_PADDED 259 | 778 | #define V4L2_SEL_TGT_COMPOSE_PADDED 0x0103 |
779 | 779 | ||
780 | /** | 780 | /** |
781 | * struct v4l2_selection - selection info | 781 | * struct v4l2_selection - selection info |
@@ -785,7 +785,7 @@ struct v4l2_crop { | |||
785 | * @r: coordinates of selection window | 785 | * @r: coordinates of selection window |
786 | * @reserved: for future use, rounds structure size to 64 bytes, set to zero | 786 | * @reserved: for future use, rounds structure size to 64 bytes, set to zero |
787 | * | 787 | * |
788 | * Hardware may use multiple helper window to process a video stream. | 788 | * Hardware may use multiple helper windows to process a video stream. |
789 | * The structure is used to exchange this selection areas between | 789 | * The structure is used to exchange this selection areas between |
790 | * an application and a driver. | 790 | * an application and a driver. |
791 | */ | 791 | */ |