08 Jun, 2007

2 commits


23 May, 2007

1 commit


28 Apr, 2007

4 commits


01 Mar, 2007

4 commits


21 Feb, 2007

6 commits

  • videodev2.h contains just the V4L2 API structs and defines.
    By allowing this header file to be dual GPL/BSD will enable sharing
    userspace apps between Linux and *BSD systems. It will also allow developing
    newer BSD licensed drivers that can be shared on Linux and *BSD.
    It should be noticed that most of the current V4L drivers, and v4l core
    itself are GPL only. This won't be changed by this patch.

    Signed-off-by: Michael H. Schimek
    Signed-off-by: Gerd Hoffmann
    Signed-off-by: Bill Dirks
    Signed-off-by: Hans Verkuil
    Signed-off-by: Martin Rubli
    Signed-off-by: Mauro Carvalho Chehab

    Michael Schimek
     
  • Remove a section containing basically ideas for future sliced VBI standards.
    This can be resurrected should any of this be actually implemented. For now
    it only pollutes this header file.

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

    Hans Verkuil
     
  • The Sliced VBI API is no longer marked experimental. Introduced in 2.6.14
    and with only a single modification in 2.6.19 I think we can consider this
    API to be solid.

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

    Hans Verkuil
     
  • Maybe someday there will be a device with a register address space >
    32-bits, or maybe an i2c device which uses a protocol > 4 bytes long to
    address its registers.

    Signed-off-by: Trent Piepho
    Signed-off-by: Mauro Carvalho Chehab

    Trent Piepho
     
  • The direct register access ioctls were defined as kernel internal only,
    but they are very useful for debugging hardware from userspace and are
    used as such. Officially export them.

    VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER
    Definition of ioctl and struct v4l2_register is moved from v4l2-common.h
    to videodev2.h.

    Types used in struct v4l2_register are changed to the userspace
    exportable versions (u32 -> __u32, etc).

    Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move
    the check into the video_ioctl2() dispatcher so it doesn't need to be
    duplicated in each driver's call-back function. CAP_SYS_ADMIN check is
    added to pvrusb2 (which doesn't use video_ioctl2).

    Signed-off-by: Trent Piepho
    Signed-off-by: Mauro Carvalho Chehab

    Trent Piepho
     
  • Bill Dirks asked me to update his entries at kernel files, since
    he change his e-mail.
    I've also updated a few web broken links or obsolete info to the curent
    sites where V4L drivers and API are being discussed currently.

    CC: Bill Dirks
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

16 Jan, 2007

1 commit

  • There's a problem, pointed by Meelis Roos , that, on ppc32 arch,
    with some gcc versions (noticed with prerelease 4.1.2 20061115), compilation
    fails, due the lack of __ucmpdi2 to do the required 64-bit comparision.
    This patch takes some sugestions made by Andrew Morton ,
    Stelian Pop and Segher Boessenkool

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

10 Dec, 2006

1 commit


14 Oct, 2006

1 commit


04 Oct, 2006

2 commits


26 Sep, 2006

2 commits


11 Sep, 2006

1 commit

  • V4L1 support should be disabled when no CONFIG_VIDEO_V4L1_COMPAT is defined,
    to allow checking for broken V4L2 ports. This is very important during the
    migration phase for V4L2 API.
    However, userspace apps should be capable of using both APIs, since they need
    to test at runtime, via VIDIOCGCAP ioctl, if V4L1 is supported. So, when
    __KERNEL__ is not defined, those ioctls and corresponding structs should be
    visible.
    This patch also removes the obsolete defines HAVE_V4L1 and HAVE_V4L2, that
    where causing some confusion, and were replaced by CONFIG_VIDEO_V4L1_COMPAT
    and CONFIG_VIDEO_V4L2.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

30 Jul, 2006

1 commit


26 Jun, 2006

2 commits

  • V4L2_CID_MPEG_STREAM_VBI_FMT controls if and how VBI data is embedded in
    an MPEG stream. Currently only one format is supported: the format designed
    for the ivtv driver. This should be extended with new standard formats
    (such as defined for DVB) in the future.

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

    Hans Verkuil
     
  • HM12 is a YUV 4:1:1 format used by the cx2341x MPEG encoder/decoder for
    the raw YUV input/output. The Y and UV planes are broken up in 16x16
    macroblocks and each macroblock is transmitted in turn (row by row).

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

    Hans Verkuil
     

25 Jun, 2006

8 commits


13 May, 2006

1 commit

  • V4L1 API is depreciated and should be removed soon from kernel. This patch
    adds two new options, one to disable V4L1 drivers, and another to disable
    V4L1 compat module. This way, it would be easy to check what still depends
    on V4L1 stuff, allowing also to test if app works fine with V4L2 only support.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

02 Apr, 2006

1 commit


29 Mar, 2006

1 commit

  • Mark the f_ops members of inodes as const, as well as fix the
    ripple-through this causes by places that copy this f_ops and then "do
    stuff" with it.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

25 Mar, 2006

1 commit

  • Add a new audio mode V4L2_TUNER_MODE_LANG1_LANG2 (used by VIDIOC_G/S_TUNER).
    This mode allows the user to select both languages of a bilingual transmission,
    one language on the left, one on the right audio channel. If there is no
    bilingual transmission, or it is not supported, then this mode should act like
    V4L2_TUNER_MODE_STEREO.
    This mode is introduced for PVR-like drivers where it is useful to be able to
    record both languages of a bilingual broadcast.

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

    Hans Verkuil