09 Jun, 2013

1 commit


21 May, 2013

1 commit


15 Apr, 2013

3 commits


05 Apr, 2013

1 commit


31 Mar, 2013

1 commit


29 Mar, 2013

2 commits


25 Mar, 2013

5 commits


24 Mar, 2013

2 commits


22 Mar, 2013

1 commit

  • A lot of SOCs including Texas Instruments Davinci family mainly use
    video decoders as input devices. This patch adds a flag
    'MEDIA_ENT_T_V4L2_SUBDEV_DECODER' media entity type for decoder's.
    Along side updates the documentation for this media entity type.

    Signed-off-by: Manjunath Hadli
    Signed-off-by: Lad, Prabhakar
    Reviewed-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Manjunath Hadli
     

06 Mar, 2013

1 commit


06 Feb, 2013

5 commits

  • The documentation suggested that if the control value is wrong only
    ERANGE can be returned. But in some cases (an invalid menu index)
    EINVAL can also be returned. Clarify this.

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

    Hans Verkuil
     
  • The documentation of the error_idx field was incomplete and confusing.
    This patch improves it.

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

    Hans Verkuil
     
  • Fixed the following errors (with exception of the SVG errors):
    GEN /home/hans/work/src/v4l/media-git/Documentation/DocBook//v4l2.xml
    rm -rf Documentation/DocBook/index.html; echo '

    Linux Kernel HTML Documentation

    ' >> Documentation/DocBook/index.html && echo '

    Kernel Version: 3.8.0-rc1

    ' >> Documentation/DocBook/index.html && cat Documentation/DocBook/media_api.html >> Documentation/DocBook/index.html
    /tmp/x.xml:883: element revremark: validity error : Element structname is not declared in revremark list of possible children
    /tmp/x.xml:883: element revremark: validity error : Element xref is not declared in revremark list of possible children
    /tmp/x.xml:9580: element xref: validity error : Element xref was declared EMPTY this one has content
    /tmp/x.xml:13508: element link: validity error : Element link does not carry attribute linkend
    /tmp/x.xml:13508: element link: validity error : No declaration for attribute linked of element link
    /tmp/x.xml:16986: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
    /tmp/x.xml:17003: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
    /tmp/x.xml:17022: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set

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

    Hans Verkuil
     
  • The struct v4l2_capability card field stores the device name. That name
    can be hardcoded in drivers, or be retrieved directly from the device.
    The later is very common with USB devices. As several devices already
    report names that include non-ASCII characters, update the field
    description to use UTF-8.

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

    Laurent Pinchart
     
  • This patch adds a helper function that allows to modify range,
    i.e. minimum, maximum, step and default value of a v4l2 control,
    after the control has been created and initialized. This is helpful
    in situations when range of a control depends on user configurable
    parameters, e.g. camera sensor absolute exposure time depending on
    an output image resolution and frame rate.
    v4l2_ctrl_modify_range() function allows to modify range of an
    INTEGER, BOOL, MENU, INTEGER_MENU and BITMASK type controls.
    Based on a patch from Hans Verkuil http://patchwork.linuxtv.org/patch/8654.

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

    Sylwester Nawrocki
     

25 Jan, 2013

1 commit

  • * v4l_for_linus: (464 commits)
    [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures
    [media] uvcvideo: Cleanup leftovers of partial revert
    [media] uvcvideo: Return -EACCES when trying to set a read-only control
    Linux 3.8-rc3
    mm: reinstante dropped pmd_trans_splitting() check
    cred: Remove tgcred pointer from struct cred
    drm/ttm: fix fence locking in ttm_buffer_object_transfer
    ARM: clps711x: Fix bad merge of clockevents setup
    ARM: highbank: save and restore L2 cache and GIC on suspend
    ARM: highbank: add a power request clear
    ARM: highbank: fix secondary boot and hotplug
    ARM: highbank: fix typos with hignbank in power request functions
    ARM: dts: fix highbank cpu mpidr values
    ARM: dts: add device_type prop to cpu nodes on Calxeda platforms
    drm/prime: drop reference on imported dma-buf come from gem
    xen/netfront: improve truesize tracking
    ARM: mx5: Fix MX53 flexcan2 clock
    ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array
    sctp: fix Kconfig bug in default cookie hmac selection
    EDAC: Cleanup device deregistering path
    ...

    Conflicts:
    drivers/media/pci/dm1105/dm1105.c
    drivers/media/platform/soc_camera/mx2_camera.c

    Mauro Carvalho Chehab
     

24 Jan, 2013

1 commit

  • The DVBv3 statistics parameters are limited on several ways:
    - It doesn't provide any way to indicate the used measure,
    so userspace need to guess how to calculate/use it;
    - Only a limited set of stats are supported;
    - Can't be called in a way to require them to be filled
    all at once (atomic reads from the hardware), with may
    cause troubles on interpreting them on userspace;
    - On some OFDM delivery systems, the carriers can be
    independently modulated, having different properties.
    Currently, there's no way to report per-layer stats.
    To address the above issues, adding a new DVBv5-based stats API.
    While here, correct inner code nomenclature on a few places.

    Reviewed-by: Antti Palosaari
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

06 Jan, 2013

1 commit

  • It has been over 3 years since the V4L2_CID_[HV]CENTER were deprecated.
    Clean up the DocBook and remove the V4L2_CID_VCENTER_DEPRECATED,
    V4L2_CID_VCENTER_DEPRECATED control related paragraphs.
    Remove the V4L2_CID_[HV]CENTER controls definitions from v4l2-controls.h,
    these controls are not used by any driver in the mainline now.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from the kernel documentation.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

21 Dec, 2012

3 commits

  • This patch adds definition of media bus code for YUV pixel format
    transferred in 30-bit samples where each component has 10 bits width.

    [mchehab@redhat.com: fix a merge conflict at v4l2-mediabus.h]
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park

    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Correct a typo. v4l2_plane.m.userptr is unsigned long, not __unsigned long.

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

    Sakari Ailus
     
  • Define video buffer flags for different timestamp types. Everything up to
    now have used either realtime clock or monotonic clock, without a way to
    tell which clock the timestamp was taken from.
    Also document that the clock source of the timestamp in the timestamp field
    depends on buffer flags.

    [mchehab@redhat.com: fix a few wrong references to Kernel 3.8 - as this patch
    is meant for 3.9]
    Signed-off-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Acked-by: Hans Verkuil

    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     

19 Dec, 2012

3 commits

  • add new macro V4L2_PIX_FMT_SGRBG10ALAW8 and associated formats
    to represent Bayer format frames compressed by A-LAW algorithm,
    add V4L2_PIX_FMT_UV8 to represent storage of CbCr data (UV interleaved)
    only.

    Signed-off-by: Manjunath Hadli
    Signed-off-by: Lad, Prabhakar
    Acked-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Manjunath Hadli
     
  • Error: no ID for constraint linkend: V4L2-PIX-FMT-NV12MT-16X16.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • add new enum entries for supporting the media-bus formats on dm365.
    These include some bayer and some non-bayer formats.
    V4L2_MBUS_FMT_YDYUYDYV8_1X16 and V4L2_MBUS_FMT_UV8_1X8 are used
    internal to the hardware by the resizer.
    V4L2_MBUS_FMT_SBGGR10_ALAW8_1X8 represents the bayer ALAW format
    that is supported by dm365 hardware.

    Signed-off-by: Manjunath Hadli
    Signed-off-by: Lad, Prabhakar
    Acked-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Manjunath Hadli
     

26 Nov, 2012

2 commits


29 Oct, 2012

1 commit


17 Oct, 2012

1 commit


06 Oct, 2012

3 commits