[patch] [media] pluto2: remove some dead code

2012-04-17 Thread Dan Carpenter
buf[] is a 4 character array. Perhaps this was some debugging code from back in the day? Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c index e1f20c2..f148b19 100644 --- a/drivers/media/dvb/pluto2/pluto2.c +++ b/drivers/media/dvb

[PATCH 10/12] drivers: staging: media: easycap: easycap_ioctl: Include version.h header

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/staging/media/easycap/easycap_ioctl.c: 2442: need linux/version.h If we take a look at the code, we will see the macro KERNEL_VERSION be used. So, we need this include. Cc: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman Cc: Cc: Signed-off

[PATCH 09/12] drivers: staging: media: as102: as102_usb_drv.h: Remove include of version.h

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/staging/media/as102/as102_usb_drv.h: 20 linux/version.h not needed. If we take a look at the code, we can agree to remove it. Cc: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman Cc: Cc: Signed-off-by: Marcos Paulo de Souza --- drivers/st

[PATCH 08/12] drivers: staging: media: as102: as102fe.c: Remove include of version.h

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/staging/media/as102/as102_fe.c: 20 linux/version.h not needed. If we take a look at the code, we can agree to remove this include. Cc: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman Cc: Cc: Signed-off-by: Marcos Paulo de Souza --- drive

[PATCH 07/12] drivers: media: video: tm6000: tm6000.h: Include version.h header

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/media/video/tm6000/tm6000.h: 401: need linux/version.h If we take a look at the code, we can see the use of the macro KERNEL_VERSION. So, we need this include. In this patch too, the headers of the file were reordered in alphabetic order. N

[PATCH 06/12] drivers: media: video: tlg2300: pd-video.c: Include version.h header

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/media/video/tlg2300/pd-video.c: 1669: need linux/version.h If we take a look at the code, we can see that this file uses the macro KERNEL_VERSION. So, we need this include. Cc: Mauro Carvalho Chehab Cc: Huang Shijie Cc: Kang Yong Cc: Zha

[PATCH 05/12] drivers: media: video: adp1653.c: Remove unneeded include of version.h

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/media/video/adp1653.c: 37 linux/version.h not needed. After we take a look at the code, we can afree to remove it. Cc: Mauro Carvalho Chehab Cc: Signed-off-by: Marcos Paulo de Souza --- drivers/media/video/adp1653.c |1 - 1 files ch

[PATCH 04/12] drivers: media: radio: radio-keene.c: Remove unneeded include of version.h

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that: drivers/media/radio/radio-keene.c: 31 linux/version.h not needed. After take a look in the code, we can agree to remove it. Cc: Mauro Carvalho Chehab Cc: Signed-off-by: Marcos Paulo de Souza --- drivers/media/radio/radio-keene.c |1 - 1 fil

[PATCH 03/12] drivers: media: dvb: ddbridge: ddbridge-code: Remove unneeded include of version.h

2012-04-17 Thread Marcos Paulo de Souza
The output of "make versioncheck" told us that the file drivers/media/dvb/ddbridge/ddbridge-code.c has a incorrect include of version.h: linux/drivers/media/dvb/ddbridge/ddbridge-core.c: 34 linux/version.h not needed. After take a look in the code, we can agree to remove it. Cc: Mauro Carvalho C

Re: [PATCH 2/4] [Media] Create new control class for FM RX.

2012-04-17 Thread Joonyoung Shim
On 04/18/2012 07:17 AM, manjunatha_ha...@ti.com wrote: From: Manjunatha Halli Also this patch adds CID's for below new FM features, 1) FM RX - De-Emphasis filter mode and RDS AF switch 2) FM TX - RDS Alternate frequency set. The subject of this patch is about FM RX, but it inc

[PATCH 2/4] [Media] Create new control class for FM RX.

2012-04-17 Thread manjunatha_halli
From: Manjunatha Halli Also this patch adds CID's for below new FM features, 1) FM RX - De-Emphasis filter mode and RDS AF switch 2) FM TX - RDS Alternate frequency set. Signed-off-by: Manjunatha Halli --- drivers/media/video/v4l2-ctrls.c | 18 ++ include/linu

[PATCH 3/4] [Documentation] Add documentation for V4L2 FM new features,

2012-04-17 Thread manjunatha_halli
From: Manjunatha Halli The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch 3) New FM TX CID - RDS Alternate frequency set. Signed-off-by: Manjunatha Halli --- Documentation/DocBook/media/v4l/compat.xml

[PATCH 4/4] [Media] WL12xx: Add support for FM new features.

2012-04-17 Thread manjunatha_halli
From: Manjunatha Halli This patch adds below features to TI's V4l2 FM driver for Wilink chipsets, 1) FM RX Set frequency allows to set frequency anywhere between 65.5 MHz till 108 MHz (if chip is Wilink8 then till 164.55 MHz) 2) FM RX seek caters for band switch 3

[PATCH 0/4] [Media] Radio: Fixes and New features for FM

2012-04-17 Thread manjunatha_halli
From: Manjunatha Halli Mauro and the list, This patchset sreates new control class 'V4L2_CTRL_CLASS_FM_RX' for FM RX. Also this patches set introduces 3 new CID's for FM RX and FM TX. Also this patch adds few new features to TI's FM driver fetures are listed below, 1) FM TX RDS Support (

[PATCH 1/4] [Media] WL128x: Add support for FM TX RDS

2012-04-17 Thread manjunatha_halli
From: Manjunatha Halli This patch adds support for following FM TX RDS features, 1. Radio Text 2. PS Name 3. PI Code 4. PTY Code. Along with above this patch fixes few other minor issues(like fm tx get frequency, unnecessary error messages etc). Signed-off-by: Manjunatha Hal

v4l-cx23885-enc.fw

2012-04-17 Thread Britney Fransen
I am not sure where to report this so if this is the wrong place and someone can point me in the right direction it would be appreciated. http://www.linuxtv.org/downloads/firmware/v4l-cx23885-enc.fw & http://www.linuxtv.org/downloads/firmware/v4l-cx23885-avcore-01.fw look to be the same file wi

Re: v4l2 Device with H264 support

2012-04-17 Thread Pieter De Wit
On Tue, 17 Apr 2012, Rémi Denis-Courmont wrote: Le mardi 17 avril 2012 23:30:43 Pieter De Wit, vous avez écrit : Thanks for the reply. I suspect that there is some tricks needed to get the h264 stream from this device, into something of a player. At least for UVC devices, it's pretty damn str

Re: v4l2 Device with H264 support

2012-04-17 Thread Rémi Denis-Courmont
Le mardi 17 avril 2012 23:30:43 Pieter De Wit, vous avez écrit : > Thanks for the reply. I suspect that there is some tricks needed to get > the h264 stream from this device, into something of a player. At least for UVC devices, it's pretty damn straight forward. You just need to set pixel format

Re: v4l2 Device with H264 support

2012-04-17 Thread Pieter De Wit
On Tue, 17 Apr 2012, Rémi Denis-Courmont wrote: Hello, On Tue, 17 Apr 2012 12:02:25 +1200 (NZST), Pieter De Wit wrote: I would like to stream H264 from a v4l2 device that does hardware encoding. ffmpeg and all of those doesn't seem to understand H264, but v4l2 "does". If I run qv4l2, it sho

[no subject]

2012-04-17 Thread Ibrahim Eser
subscribe linux-media -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 9/9] omap3isp: preview: Shorten shadow update delay

2012-04-17 Thread Sakari Ailus
Hi Laurent, On Tue, Apr 17, 2012 at 06:09:27PM +0200, Laurent Pinchart wrote: > Hi Sakari, > > On Tuesday 17 April 2012 17:26:00 Sakari Ailus wrote: > > Hi Laurent, > > > > Many thanks for the patch!! > > And thank you for the review. > > > On Mon, Apr 16, 2012 at 03:29:54PM +0200, Laurent Pin

cron job: media_tree daily build: WARNINGS

2012-04-17 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Tue Apr 17 19:00:18 CEST 2012 git hash:f4d4e7656b26a6013bc5072c946920d2e2c44e8e gcc version: i686-linux-gcc (GC

Re: [RFC] [PATCH] v4l2: use unsigned rather than enums in ioctl() structs

2012-04-17 Thread Mauro Carvalho Chehab
On Thu, 12 Apr 2012 11:55:12 -0300, Mauro Carvalho Chehab wrote: > I can see only two viable fixes for it: > > 1) add a typedef for the enum, using the sizeof(enum) in order to select > the > size of the used integer. > > Pros: > - Patch is easy to write/easy to review; > - Won't chan

Re: [PATCH 08/11] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-04-17 Thread Laurent Pinchart
Hi Marek, On Tuesday 17 April 2012 13:25:56 Marek Szyprowski wrote: > On Tuesday, April 17, 2012 2:41 AM Laurent Pinchart wrote: > > (snipped) > > > > >> +static struct vm_area_struct *vb2_dc_get_user_vma( > > > >> + unsigned long start, unsigned long size) > > > >> +{ > > > >> + struc

[Patch] bttv: Enable radio if the card description has no radio flag but the tuner has FM

2012-04-17 Thread Nils Kassube
Some bttv cards (e.g. card=24) have a tuner which can receive FM radio but the card description doesn't have the has_radio flag set, because the description is used for cards with and without FM capability. The function bttv_init_tuner can detect the tuner either automatically or by insmod opti

Re: [PATCH 10/15] V4L: Add camera 3A lock control

2012-04-17 Thread Sakari Ailus
Hi Sylwester, On Tue, Apr 17, 2012 at 12:09:51PM +0200, Sylwester Nawrocki wrote: > The V4L2_CID_3A_LOCK bitmask control allows applications to pause > or resume the automatic exposure, focus and wite balance adjustments. > It can be used, for example, to lock the 3A adjustments right before > a s

Re: [PATCH v3 9/9] omap3isp: preview: Shorten shadow update delay

2012-04-17 Thread Laurent Pinchart
Hi Sakari, On Tuesday 17 April 2012 17:26:00 Sakari Ailus wrote: > Hi Laurent, > > Many thanks for the patch!! And thank you for the review. > On Mon, Apr 16, 2012 at 03:29:54PM +0200, Laurent Pinchart wrote: > > When applications modify preview engine parameters, the new values are > > applied

Re: [PATCH] [Trivial] Documentation: Add newline at end-of-file to files lacking one

2012-04-17 Thread Mauro Carvalho Chehab
Em 16-04-2012 18:35, Jesper Juhl escreveu: > This patch simply adds a newline character at end-of-file to those > files in Documentation/ that currently lack one. > > This is done for a few different reasons: > > A) It's rather annoying when you do "cat some_file.txt" that your >prompt/cursor

Re: [PATCH] [Trivial] Documentation: Add newline at end-of-file to files lacking one

2012-04-17 Thread Rob Landley
On 04/16/2012 04:35 PM, Jesper Juhl wrote: > This patch simply adds a newline character at end-of-file to those > files in Documentation/ that currently lack one. > > This is done for a few different reasons: > > A) It's rather annoying when you do "cat some_file.txt" that your >prompt/cursor

Re: [PATCH] Fix QUERYMENU regression

2012-04-17 Thread Sakari Ailus
Hi Hans, On Tue, Apr 17, 2012 at 02:41:58PM +0200, Hans Verkuil wrote: > Hi Sakari, > > This patch fixes a regression in VIDIOC_QUERYMENU introduced when the > __s64 value field was added to the union. On a 64-bit system this will > change the size of this v4l2_querymenu structure from 44 to 48 b

[PATCH] Fix QUERYMENU regression

2012-04-17 Thread Hans Verkuil
Hi Sakari, This patch fixes a regression in VIDIOC_QUERYMENU introduced when the __s64 value field was added to the union. On a 64-bit system this will change the size of this v4l2_querymenu structure from 44 to 48 bytes, thus breaking the ABI. By adding the packed attribute it is working again.

Re: [PATCH v3 9/9] omap3isp: preview: Shorten shadow update delay

2012-04-17 Thread Sakari Ailus
Hi Laurent, Many thanks for the patch!! On Mon, Apr 16, 2012 at 03:29:54PM +0200, Laurent Pinchart wrote: > When applications modify preview engine parameters, the new values are > applied to the hardware by the preview engine interrupt handler during > vertical blanking. If the parameters are be

Re: [RFC 05/13] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-04-17 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 10 April 2012 15:10:39 Tomasz Stanislawski wrote: > This patch adds support for exporting a dma-contig buffer using > DMABUF interface. > > Signed-off-by: Tomasz Stanislawski > Signed-off-by: Kyungmin Park > --- > drivers/media/video/videobuf2-dma-c

Re: [RFC] HDMI-CEC proposal

2012-04-17 Thread Oliver Schinagl
Yes, the library to talk to the device is opensource, the hardware, not so much. :) On 17-04-12 15:31, Anssi Hannula wrote: 12.04.2012 23:36, Oliver Schinagl kirjoitti: Since a lot of video cards dont' support CEC at all (not even connected), don't have hdmi, but work perfectly fine with dvi->

[PATCH] Fix QUERYMENU regression

2012-04-17 Thread Hans Verkuil
(resent as my first attempt didn't reach the mailinglist for some reason) Hi Sakari, This patch fixes a regression in VIDIOC_QUERYMENU introduced when the __s64 value field was added to the union. On a 64-bit system this will change the size of this v4l2_querymenu structure from 44 to 48 bytes, t

Re: [RFC] HDMI-CEC proposal

2012-04-17 Thread Anssi Hannula
12.04.2012 23:36, Oliver Schinagl kirjoitti: > Since a lot of video cards dont' support CEC at all (not even > connected), don't have hdmi, but work perfectly fine with dvi->hdmi > adapters, CEC can be implemented in many other ways (think media centers) > > One such exammple is using USB/Arduino

Re: dvb lock patch

2012-04-17 Thread Josu Lazkano
2012/3/24 Mauro Carvalho Chehab : > Em 04-03-2012 17:49, Josu Lazkano escreveu: >> Hello all, I am using this patch to get virtual adapters for DVB >> devices: >> https://aur.archlinux.org/packages/sa/sascng-linux3-patch/sascng-linux3-patch.tar.gz >> >> Here is more info: https://aur.archlinux.org

Re: [PATCH 04/15] V4L: Add camera white balance preset control

2012-04-17 Thread Hans de Goede
Hi, On 04/17/2012 12:09 PM, Sylwester Nawrocki wrote: Add V4L2_CID_WHITE_BALANCE_PRESET control for camera white balance presets. The following items are defined: - V4L2_WHITE_BALANCE_NONE, - V4L2_WHITE_BALANCE_INCANDESCENT, - V4L2_WHITE_BALANCE_FLUORESCENT, - V4L2_WHITE_BALANCE_HORIZON

Re: [RFC 04/13] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-04-17 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 10 April 2012 15:10:38 Tomasz Stanislawski wrote: > This patch adds the setup of sglist list for MMAP buffers. > It is needed for buffer exporting via DMABUF mechanism. > > This patch depends on dma_get_pages extension to DMA api. > > Signed-off-by: T

Re: [RFC 02/13] v4l: vb2: add buffer exporting via dmabuf

2012-04-17 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 10 April 2012 15:10:36 Tomasz Stanislawski wrote: > This patch adds extension to videobuf2-core. It allow to export a mmap > buffer as a file descriptor. > > Signed-off-by: Tomasz Stanislawski > Signed-off-by: Kyungmin Park > --- > drivers/media/vid

Re: [RFC 03/13] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-04-17 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 10 April 2012 15:10:37 Tomasz Stanislawski wrote: > From: Marek Szyprowski > > Let mmap method to use dma_mmap_coherent call. This patch depends on DMA > mapping redesign patches because the usage of dma_mmap_coherent breaks > dma-contig allocator fo

Re: [RFC 01/13] v4l: add buffer exporting via dmabuf

2012-04-17 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 10 April 2012 15:10:35 Tomasz Stanislawski wrote: > This patch adds extension to V4L2 api. It allow to export a mmap buffer as > file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset > used by mmap and return a file descriptor on s

Re: [PATCH 01/15] V4L: Extend V4L2_CID_COLORFX with more image effects

2012-04-17 Thread Sylwester Nawrocki
On 04/17/2012 12:51 PM, Rémi Denis-Courmont wrote: > On Tue, 17 Apr 2012 12:09:42 +0200, Sylwester Nawrocki > wrote: >> This patch adds definition of additional color effects: >> - V4L2_COLORFX_AQUA, >> - V4L2_COLORFX_ART_FREEZE, >> - V4L2_COLORFX_SILHOUETTE, >> - V4L2_COLORFX_SOLARIZATION, >>

RE: [PATCH 08/11] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-04-17 Thread Marek Szyprowski
Hi Laurent, On Tuesday, April 17, 2012 2:41 AM Laurent Pinchart wrote: (snipped) > > >> +static struct vm_area_struct *vb2_dc_get_user_vma( > > >> +unsigned long start, unsigned long size) > > >> +{ > > >> +struct vm_area_struct *vma; > > >> + > > >> +/* current->mm->mmap

Datasheets?

2012-04-17 Thread James Courtier-Dutton
Hi, Does anyone know where I can get data sheets for the following chips: 1) CONEXANT CX23885 2) Trident CX24117 They are used on video/DVB capture cards. Kind Regards James -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kern

Re: [media] tda10071: NXP TDA10071 DVB-S/S2 driver

2012-04-17 Thread Antti Palosaari
Moikka Dan, and thank you. Comments below. On 17.04.2012 13:33, Dan Carpenter wrote: Hi Antti, Smatch complains about a potential information leak. I was hoping you could take a look. The patch de8e42035014: "[media] tda10071: NXP TDA10071 DVB-S/S2 driver" from Aug 1, 2011, leads to the follo

Re: [PATCH 01/15] V4L: Extend V4L2_CID_COLORFX with more image effects

2012-04-17 Thread Rémi Denis-Courmont
On Tue, 17 Apr 2012 12:09:42 +0200, Sylwester Nawrocki wrote: > This patch adds definition of additional color effects: > - V4L2_COLORFX_AQUA, > - V4L2_COLORFX_ART_FREEZE, > - V4L2_COLORFX_SILHOUETTE, > - V4L2_COLORFX_SOLARIZATION, > - V4L2_COLORFX_ANTIQUE, There starts to be a lot

re: [media] tda10071: NXP TDA10071 DVB-S/S2 driver

2012-04-17 Thread Dan Carpenter
Hi Antti, Smatch complains about a potential information leak. I was hoping you could take a look. The patch de8e42035014: "[media] tda10071: NXP TDA10071 DVB-S/S2 driver" from Aug 1, 2011, leads to the following warning: drivers/media/dvb/frontends/tda10071.c:322 tda10071_diseqc_send_master_c

[PATCH 10/15] V4L: Add camera 3A lock control

2012-04-17 Thread Sylwester Nawrocki
The V4L2_CID_3A_LOCK bitmask control allows applications to pause or resume the automatic exposure, focus and wite balance adjustments. It can be used, for example, to lock the 3A adjustments right before a still image is captured, for pre-focus, etc. The applications can control each of the algori

[PATCH 01/15] V4L: Extend V4L2_CID_COLORFX with more image effects

2012-04-17 Thread Sylwester Nawrocki
This patch adds definition of additional color effects: - V4L2_COLORFX_AQUA, - V4L2_COLORFX_ART_FREEZE, - V4L2_COLORFX_SILHOUETTE, - V4L2_COLORFX_SOLARIZATION, - V4L2_COLORFX_ANTIQUE, - V4L2_COLORFX_ARBITRARY. The control's type in the documentation is changed from 'enum' to 'menu' - V4L2_CI

[PATCH 09/15] V4L: Add camera scene mode control

2012-04-17 Thread Sylwester Nawrocki
Add control for the scene mode feature available in image sensor with more advanced ISP firmware. The V4L2_CID_SCENE_MODE menu control allows to select a set of parameters or a specific image processing and capture control algorithm optimized for common image capture conditions. Signed-off-by: Heu

[PATCH 15/15] vivi: Add controls

2012-04-17 Thread Sylwester Nawrocki
This patch is just for testing the new controls, it is NOT intended for merging upstream. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/vivi.c | 111 +++- 1 file changed, 110 insertions(+), 1 deletion(-) diff --g

[PATCH 08/15] V4L: Add camera exposure metering control

2012-04-17 Thread Sylwester Nawrocki
The V4L2_CID_EXPOSURE_METERING control allows to determine a method used by the camera for measuring the amount of light available for automatic exposure. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Documentation/DocBook/media/v4l/controls.xml | 29 +

[PATCH 12/15] V4L: Add auto focus targets to the subdev selections API

2012-04-17 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Documentation/DocBook/media/v4l/dev-subdev.xml | 27 +++- .../media/v4l/vidioc-subdev-g-selection.xml| 14 -- include/linux/v4l2-subdev.h|4 +++ 3 files changed,

[PATCH 13/15] V4L: Add camera auto focus controls

2012-04-17 Thread Sylwester Nawrocki
Add following auto focus controls: - V4L2_CID_AUTO_FOCUS_START - single-shot auto focus start - V4L2_CID_AUTO_FOCUS_STOP - single-shot auto focus stop - V4L2_CID_AUTO_FOCUS_STATUS - automatic focus status - V4L2_CID_AUTO_FOCUS_AREA - automatic focus area selection - V4L2_CID_AUTO_FOCUS_DISTA

[PATCH 07/15] V4L: Add camera ISO sensitivity controls

2012-04-17 Thread Sylwester Nawrocki
Add ISO sensitivity and ISO auto/manual controls. The sensitivity values are related to level of amplification of the analog signal between image sensor and ADC. These controls allow to support sensors exposing an interface to accept the ISO values directly. Signed-off-by: Sylwester Nawrocki Sign

[PATCH 05/15] V4L: Add camera wide dynamic range control

2012-04-17 Thread Sylwester Nawrocki
The V4L2_CID_WIDE_DYNAMIC_RANGE camera class control allows to control the camera wide dynamic range (WDR, HDR) feature. It can be used to enable/disable WDR. For the WDR technique selection separate menu control should be added. Signed-off-by: HeungJun Kim Signed-off-by: Sylwester Nawrocki Sign

[PATCH 06/15] V4L: Add camera image stabilization control

2012-04-17 Thread Sylwester Nawrocki
The V4L2_CID_IMAGE_STABILIZATION control allows to control the camera's image stabilization feature. It can be used to enable/disable image stabilization. If the image stabilization technique selection control is needed, a separate menu control should be added. Signed-off-by: HeungJun Kim Signed-

[PATCH 04/15] V4L: Add camera white balance preset control

2012-04-17 Thread Sylwester Nawrocki
Add V4L2_CID_WHITE_BALANCE_PRESET control for camera white balance presets. The following items are defined: - V4L2_WHITE_BALANCE_NONE, - V4L2_WHITE_BALANCE_INCANDESCENT, - V4L2_WHITE_BALANCE_FLUORESCENT, - V4L2_WHITE_BALANCE_HORIZON, - V4L2_WHITE_BALANCE_DAYLIGHT, - V4L2_WHITE_BALANCE_FLASH

[PATCH 11/15] V4L: Add auto focus targets to the selections API

2012-04-17 Thread Sylwester Nawrocki
The camera automatic focus algorithms may require setting up a spot or rectangle coordinates or multiple such parameters. The automatic focus selection targets are introduced in order to allow applications to query and set such coordinates. Those selections are intended to be used together with th

[PATCH 03/15] V4L: Add camera exposure bias control

2012-04-17 Thread Sylwester Nawrocki
The camera may in some conditions incorrectly determine the exposure, and a manual automatic exposure correction may be needed. This patch adds V4L2_CID_AUTO_EXPOSURE_BIAS control which allows to add some offset in the automatic exposure control loop, to compensate for frame under- or over-exposure

[PATCH 00/15] V4L camera control enhancements

2012-04-17 Thread Sylwester Nawrocki
Hello, this is a second iteration of my camera control patches. Besides the previous ones, it also includes the scene mode and 3A lock controls. The 3A lock bitmask control allows to lock/unlock automatic exposure, white balance and focus adjustments. It is useful for pre-focus for instance. I

[PATCH 02/15] V4L: Add helper function for standard integer menu controls

2012-04-17 Thread Sylwester Nawrocki
This patch adds v4l2_ctrl_new_std_int_menu() helper function which can be used in drivers for creating standard integer menu control. It is similar to v4l2_ctrl_new_std_menu(), except it doesn't have a mask parameter and an additional qmenu parameter allows passing an array of signed 64-bit integer

Re: [PATCH v2 01/13] davinci: vpif: add check for genuine interrupts in the isr

2012-04-17 Thread Laurent Pinchart
Hi Manjunath, Thanks for the patch. On Tuesday 17 April 2012 14:22:59 Manjunath Hadli wrote: > As the same interrupt is shared between capture and display devices, > sometimes we get isr calls where the interrupt might not genuinely belong > to capture or display. Hence, add a condition in the is

Re: [PATCH v2 05/13] davinci: vpif display: declare contiguous region of memory handled by dma_alloc_coherent

2012-04-17 Thread Laurent Pinchart
Hi Manjunath, Thanks for the patch. On Tuesday 17 April 2012 14:23:03 Manjunath Hadli wrote: > add support to declare contiguous region of memory to be handled > when requested by dma_alloc_coherent call. The user can specify > the size of the buffers with an offset from the kernel image > using

Re: [PATCH v2 07/13] davinci: vpif: add support to use videobuf_iolock()

2012-04-17 Thread Laurent Pinchart
Hi Manjunath, Thanks for the patch. On Tuesday 17 April 2012 14:23:05 Manjunath Hadli wrote: > add support to use videobuf_iolock() instead of VPIF > defined vpif_uservirt_to_phys API. Use videobuf_to_dma_contig > API for both memory-mapped and userptr buffer allocations. > Correspondingly remove