Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=206ebaf32795cf1582b1e2ff2ec6a560c9e986b8
Commit:     206ebaf32795cf1582b1e2ff2ec6a560c9e986b8
Parent:     5eee72e88416ef11f55791626440ac3c9018c4c0
Author:     Hans Verkuil <[EMAIL PROTECTED]>
AuthorDate: Fri Apr 27 12:31:01 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:43:19 2007 -0300

    V4L/DVB (5272): Add V4L2_CAP_VIDEO_OUTPUT_POS capability
    
    Add V4L2_CAP_VIDEO_OUTPUT_POS capability and x, y position coordinates
    to struct v4l2_pix_format.
    This is needed to support positioning the MPEG/YUV output of the cx23415.
    
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 include/linux/videodev2.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 7b83d17..e4ed566 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -227,6 +227,7 @@ struct v4l2_capability
 #define V4L2_CAP_SLICED_VBI_CAPTURE    0x00000040  /* Is a sliced VBI capture 
device */
 #define V4L2_CAP_SLICED_VBI_OUTPUT     0x00000080  /* Is a sliced VBI output 
device */
 #define V4L2_CAP_RDS_CAPTURE           0x00000100  /* RDS data capture */
+#define V4L2_CAP_VIDEO_OUTPUT_POS       0x00000200  /* Video output can have 
x,y coords */
 
 #define V4L2_CAP_TUNER                 0x00010000  /* has a tuner */
 #define V4L2_CAP_AUDIO                 0x00020000  /* has audio support */
@@ -249,6 +250,8 @@ struct v4l2_pix_format
        __u32                   sizeimage;
        enum v4l2_colorspace    colorspace;
        __u32                   priv;           /* private data, depends on 
pixelformat */
+       __u32                   left;   /* only valid if 
V4L2_CAP_VIDEO_OUTPUT_POS is set */
+       __u32                   top;    /* only valid if 
V4L2_CAP_VIDEO_OUTPUT_POS is set */
 };
 
 /*      Pixel format         FOURCC                        depth  Description  
*/
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to