07 Apr, 2009

1 commit

  • Add support to the SQ-905 driver to pass back to user space the
    sensor orientation information obtained from the camera during init.
    Modifies gspca and the videodev2.h header to create the necessary
    API.

    [mchehab@redhat.com: Changed "Output is" to "Frames are" at the comments, as suggested at LMML]
    Signed-off-by: Adam Baker
    Signed-off-by: Mauro Carvalho Chehab

    Adam Baker
     

30 Mar, 2009

6 commits


03 Jan, 2009

1 commit

  • Since the i2c driver ID will be removed in the near future we have to
    modify the v4l2 debugging API to use the driver name instead of driver ID.

    Note that this API is not used in applications other than v4l2-dbg.cpp
    as it is for debugging and testing only.

    Should anyone use the old VIDIOC_G_CHIP_IDENT, then this will be logged
    with a warning that it is deprecated and will be removed in 2.6.30.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

30 Dec, 2008

7 commits


22 Oct, 2008

1 commit


12 Oct, 2008

3 commits


04 Sep, 2008

4 commits


17 Aug, 2008

1 commit

  • The exported copy of videodev2.h contains this line:

    #define #include

    This is because for some reason it defines __user for itself -- despite
    the fact that we remove all instances of __user when exporting headers.
    _All_ pointers in userspace are user pointers. Fix it by removing the
    unnecessary '#define __user' from the file.

    The new headers ivtv.h and ivtvfb.h would have the same problem... if
    whoever put them there had actually remembered to add them to the Kbuild
    file while he was at it. Fix those too, and export them as was
    presumably intended.

    Note that includes of are also stripped by the header
    export process, so those don't need to be conditional.

    Signed-off-by: David Woodhouse
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Hans Verkuil
    Signed-off-by: Linus Torvalds

    David Woodhouse
     

27 Jul, 2008

4 commits


20 Jul, 2008

4 commits


05 Jun, 2008

1 commit

  • These were removed in commit 26d507fcfef7f7d0cd2eec874a87169cc121c835:

    > -#define V4L2_CID_HCENTER (V4L2_CID_BASE+22)
    > -#define V4L2_CID_VCENTER (V4L2_CID_BASE+23)
    > -#define V4L2_CID_LASTP1 (V4L2_CID_BASE+24) /*
    > last CID + 1 */
    > +
    > +/* Deprecated, use V4L2_CID_PAN_RESET and V4L2_CID_TILT_RESET */
    > +#define V4L2_CID_HCENTER_DEPRECATED (V4L2_CID_BASE+22)
    > +#define V4L2_CID_VCENTER_DEPRECATED (V4L2_CID_BASE+23)

    But there was no warning in Documentation/feature-removal-schedule.txt
    and I'm receiving reports that it's breaking userspace apps (the
    gstreamer-v4l2 plugin breaks in Fedora rawhide). You can't just pull
    things from the published userspace API like that.

    Please can we revert the addition of _DEPRECATED to these ioctl
    definitions. Perhaps we can add a runtime warning if they actually get
    used? Or a compile-time warning if we can manage that?

    Signed-off-by: David Woodhouse
    Signed-off-by: Mauro Carvalho Chehab

    David Woodhouse
     

25 Apr, 2008

5 commits


18 Feb, 2008

1 commit

  • Fix compilation of user processes which includes videodev*.h but
    not includes linux/ioctl.h:

    v4l2ext_helper.c: In function 'process_ioctl':
    v4l2ext_helper.c:183: warning: implicit declaration of function '_IOWR'
    v4l2ext_helper.c:183: error: expected expression before 'struct'
    v4l2ext_helper.c:183: error: case label does not reduce to an integer constant

    Signed-off-by: Jiri Slaby
    Signed-off-by: Mauro Carvalho Chehab

    Jiri Slaby
     

22 Oct, 2007

1 commit