23 Mar, 2011

1 commit


22 Mar, 2011

25 commits

  • Multi-planar API was added to 2.6.39 version of Video for Linux 2 API.

    Signed-off-by: Pawel Osciak
    Signed-off-by: Mauro Carvalho Chehab

    Pawel Osciak
     
  • DocBook validation fix.

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

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

    Hans Verkuil
     
  • The xmlto validation produced a number of errors that are now fixed.
    Sadly, the DocBook/Makefile still adds --skip-validation to xmlto, so
    these errors are missed during a normal compile.

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

    Hans Verkuil
     
  • Added documentation for V4L2_PIX_FMT_NV12MT format. This is a YUV 4:2:0
    format with macro block size of 64x32 and specific order of macro blocks
    in the memory.

    Signed-off-by: Kamil Debski
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Kamil Debski
     
  • Add FCCs for the following pixel formats:

    - V4L2_PIX_FMT_SBGGR12
    - V4L2_PIX_FMT_SGBRG12
    - V4L2_PIX_FMT_SGRBG12
    - V4L2_PIX_FMT_SRGGB12

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Add codes and documentation for the following media bus formats:

    - V4L2_MBUS_FMT_SGBRG12_1X12
    - V4L2_MBUS_FMT_SGRBG12_1X12
    - V4L2_MBUS_FMT_SRGGB12_1X12

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • This patch adds the VIDIOC_SUBDEV_S_CROP and G_CROP ioctls to the
    userland API. CROPCAP is not implemented because it's redundant.

    Signed-off-by: Antti Koskipaa
    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Antti Koskipaa
     
  • The three new ioctl VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL,
    VIDIOC_SUBDEV_G_FRAME_INTERVAL and VIDIOC_SUBDEV_S_FRAME_INTERVAL can be
    used to enumerate and configure a subdev's frame rate from userspace.

    Two new video::g/s_frame_interval subdev operations are introduced to
    support those ioctls. The existing video::g/s_parm operations are
    deprecated and shouldn't be used anymore.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Add a userspace API to get, set and enumerate the media format on a
    subdev pad.

    The format at the output of a subdev usually depends on the format at
    its input(s). The try format operation is thus not suitable for probing
    format at individual pads, as it can't modify the device state and thus
    can't remember the format tried at the input to compute the output
    format.

    To fix the problem, pass an extra argument to the get/set format
    operations to select the 'try' or 'active' format.

    The try format is used when probing the subdev. Setting the try format
    must not change the device configuration but can store data for later
    reuse. Data storage is provided at the file-handle level so applications
    probing the subdev concurently won't interfere with each other.

    The active format is used when configuring the subdev. It's identical to
    the format handled by the usual get/set operations.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Stanimir Varbanov
    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Add images used by the V4L2 subdev userspace format API documentation.

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Drivers often need to associate pipeline objects to entities, and to
    take stream state into account when configuring entities and links. The
    pipeline API helps drivers manage that information.

    When starting streaming, drivers call media_entity_pipeline_start(). The
    function marks all entities connected to the given entity through
    enabled links, either directly or indirectly, as streaming. Similarly,
    when stopping the stream, drivers call media_entity_pipeline_stop().

    The media_entity_pipeline_start() function takes a pointer to a media
    pipeline and stores it in every entity in the graph. Drivers should
    embed the media_pipeline structure in higher-level pipeline structures
    and can then access the pipeline through the media_entity structure.

    Link configuration will fail with -EBUSY by default if either end of the
    link is a streaming entity, unless the link is marked with the
    MEDIA_LNK_FL_DYNAMIC flag.

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Create the following ioctl and implement it at the media device level to
    setup links.

    - MEDIA_IOC_SETUP_LINK: Modify the properties of a given link

    The only property that can currently be modified is the ENABLED link
    flag to enable/disable a link. Links marked with the IMMUTABLE link flag
    can not be enabled or disabled.

    Enabling or disabling a link has effects on entities' use count. Those
    changes are automatically propagated through the graph.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Stanimir Varbanov
    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Create the following two ioctls and implement them at the media device
    level to enumerate entities, pads and links.

    - MEDIA_IOC_ENUM_ENTITIES: Enumerate entities and their properties
    - MEDIA_IOC_ENUM_LINKS: Enumerate all pads and links for a given entity

    Entity IDs can be non-contiguous. Userspace applications should
    enumerate entities using the MEDIA_ENT_ID_FLAG_NEXT flag. When the flag
    is set in the entity ID, the MEDIA_IOC_ENUM_ENTITIES will return the
    next entity with an ID bigger than the requested one.

    Only forward links that originate at one of the entity's source pads are
    returned during the enumeration process.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Create the following ioctl and implement it at the media device level to
    query device information.

    - MEDIA_IOC_DEVICE_INFO: Query media device information

    The ioctl and its data structure are defined in the new kernel header
    linux/media.h available to userspace applications.

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • As video hardware pipelines become increasingly complex and
    configurable, the current hardware description through v4l2 subdevices
    reaches its limits. In addition to enumerating and configuring
    subdevices, video camera drivers need a way to discover and modify at
    runtime how those subdevices are connected. This is done through new
    elements called entities, pads and links.

    An entity is a basic media hardware building block. It can correspond to
    a large variety of logical blocks such as physical hardware devices
    (CMOS sensor for instance), logical hardware devices (a building block
    in a System-on-Chip image processing pipeline), DMA channels or physical
    connectors.

    A pad is a connection endpoint through which an entity can interact with
    other entities. Data (not restricted to video) produced by an entity
    flows from the entity's output to one or more entity inputs. Pads should
    not be confused with physical pins at chip boundaries.

    A link is a point-to-point oriented connection between two pads, either
    on the same entity or on different entities. Data flows from a source
    pad to a sink pad.

    Links are stored in the source entity. To make backwards graph walk
    faster, a copy of all links is also stored in the sink entity. The copy
    is known as a backlink and is only used to help graph traversal.

    The entity API is made of three functions:

    - media_entity_init() initializes an entity. The caller must provide an
    array of pads as well as an estimated number of links. The links array
    is allocated dynamically and will be reallocated if it grows beyond the
    initial estimate.

    - media_entity_cleanup() frees resources allocated for an entity. It
    must be called during the cleanup phase after unregistering the entity
    and before freeing it.

    - media_entity_create_link() creates a link between two entities. An
    entry in the link array of each entity is allocated and stores pointers
    to source and sink pads.

    When a media device is unregistered, all its entities are unregistered
    automatically.

    The code is based on Hans Verkuil initial work.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • The media_device structure abstracts functions common to all kind of
    media devices (v4l2, dvb, alsa, ...). It manages media entities and
    offers a userspace API to discover and configure the media device
    internal topology.

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Those ioctls passed away. Properly documented it.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • A few changes happened at videodev2.h:
    - Addition of multiplane API;
    - removal of VIDIOC_*_OLD ioctls;
    - a few more video standards.

    Update the file to reflect the latest changes.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • This feature will probably be moved to libv4l2.

    Signed-off-by: Pawel Osciak
    Signed-off-by: Mauro Carvalho Chehab

    Pawel Osciak
     
  • Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Add DocBook documentation for the new multi-planar API extensions to the
    Video for Linux 2 API DocBook.

    Signed-off-by: Pawel Osciak
    Signed-off-by: Mauro Carvalho Chehab

    Pawel Osciak
     
  • Correct ioctl return value handling and fix coding style issues.

    [mchehab@redhat.com: return -1 is OK, according with ioctl manpages. Reverting ioctl changes]
    Signed-off-by: Pawel Osciak
    Signed-off-by: Mauro Carvalho Chehab

    Pawel Osciak
     

22 Feb, 2011

1 commit


15 Feb, 2011

1 commit


23 Jan, 2011

1 commit


19 Jan, 2011

2 commits


15 Jan, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (47 commits)
    GRETH: resolve SMP issues and other problems
    GRETH: handle frame error interrupts
    GRETH: avoid writing bad speed/duplex when setting transfer mode
    GRETH: fixed skb buffer memory leak on frame errors
    GRETH: GBit transmit descriptor handling optimization
    GRETH: fix opening/closing
    GRETH: added raw AMBA vendor/device number to match against.
    cassini: Fix build bustage on x86.
    e1000e: consistent use of Rx/Tx vs. RX/TX/rx/tx in comments/logs
    e1000e: update Copyright for 2011
    e1000: Avoid unhandled IRQ
    r8169: keep firmware in memory.
    netdev: tilepro: Use is_unicast_ether_addr helper
    etherdevice.h: Add is_unicast_ether_addr function
    ks8695net: Use default implementation of ethtool_ops::get_link
    ks8695net: Disable non-working ethtool operations
    USB CDC NCM: Don't deref NULL in cdc_ncm_rx_fixup() and don't use uninitialized variable.
    vxge: Remember to release firmware after upgrading firmware
    netdev: bfin_mac: Remove is_multicast_ether_addr use in netdev_for_each_mc_addr
    ipsec: update MAX_AH_AUTH_LEN to support sha512
    ...

    Linus Torvalds
     

14 Jan, 2011

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    Documentation/trace/events.txt: Remove obsolete sched_signal_send.
    writeback: fix global_dirty_limits comment runtime -> real-time
    ppc: fix comment typo singal -> signal
    drivers: fix comment typo diable -> disable.
    m68k: fix comment typo diable -> disable.
    wireless: comment typo fix diable -> disable.
    media: comment typo fix diable -> disable.
    remove doc for obsolete dynamic-printk kernel-parameter
    remove extraneous 'is' from Documentation/iostats.txt
    Fix spelling milisec -> ms in snd_ps3 module parameter description
    Fix spelling mistakes in comments
    Revert conflicting V4L changes
    i7core_edac: fix typos in comments
    mm/rmap.c: fix comment
    sound, ca0106: Fix assignment to 'channel'.
    hrtimer: fix a typo in comment
    init/Kconfig: fix typo
    anon_inodes: fix wrong function name in comment
    fix comment typos concerning "consistent"
    poll: fix a typo in comment
    ...

    Fix up trivial conflicts in:
    - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
    - fs/ext4/ext4.h

    Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.

    Linus Torvalds
     

11 Jan, 2011

1 commit


08 Jan, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (58 commits)
    Input: wacom_w8001 - support pen or touch only devices
    Input: wacom_w8001 - use __set_bit to set keybits
    Input: bu21013_ts - fix misuse of logical operation in place of bitop
    Input: i8042 - add Acer Aspire 5100 to the Dritek list
    Input: wacom - add support for digitizer in Lenovo W700
    Input: psmouse - disable the synaptics extension on OLPC machines
    Input: psmouse - fix up Synaptics comment
    Input: synaptics - ignore bogus mt packet
    Input: synaptics - add multi-finger and semi-mt support
    Input: synaptics - report clickpad property
    input: mt: Document interface updates
    Input: fix double equality sign in uevent
    Input: introduce device properties
    hid: egalax: Add support for Wetab (726b)
    Input: include MT library as source for kerneldoc
    MAINTAINERS: Update input-mt entry
    hid: egalax: Add support for Samsung NB30 netbook
    hid: egalax: Document the new devices in Kconfig
    hid: egalax: Add support for Wetab
    hid: egalax: Convert to MT slots
    ...

    Fixed up trivial conflict in drivers/input/keyboard/Kconfig

    Linus Torvalds
     

07 Jan, 2011

1 commit

  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (255 commits)
    [media] radio-aimslab.c: Fix gcc 4.5+ bug
    [media] cx25821: Fix compilation breakage due to BKL dependency
    [media] v4l2-compat-ioctl32: fix compile warning
    [media] zoran: fix compiler warning
    [media] tda18218: fix compile warning
    [media] ngene: fix compile warning
    [media] DVB: IR support for TechnoTrend CT-3650
    [media] cx23885, cimax2.c: Fix case of two CAM insertion irq
    [media] ir-nec-decoder: fix repeat key issue
    [media] staging: se401 depends on USB
    [media] staging: usbvideo/vicam depends on USB
    [media] soc_camera: Add the ability to bind regulators to soc_camedra devices
    [media] V4L2: Add a v4l2-subdev (soc-camera) driver for OmniVision OV2640 sensor
    [media] v4l: soc-camera: switch to .unlocked_ioctl
    [media] v4l: ov772x: simplify pointer dereference
    [media] ov9640: fix OmniVision OV9640 sensor driver's priv data retrieving
    [media] ov9640: use macro to request OmniVision OV9640 sensor private data
    [media] ivtv-i2c: Fix two warnings
    [media] staging/lirc: Update lirc TODO files
    [media] cx88: Remove the obsolete i2c_adapter.id field
    ...

    Linus Torvalds
     

29 Dec, 2010

1 commit


27 Dec, 2010

1 commit


23 Dec, 2010

1 commit


16 Dec, 2010

1 commit