[RFC] API for controlling Scenemode Preset

2011-03-30 Thread Kim, HeungJun
Hello everyone, This is a suggestion about the preset for the scenemode of camera. It's just one API, and its role determines which current scenemode preset of camera is. The kinds of scenemode are various at each camera. But, as you look around camera, the each scenemode has common name and the

RE: v4l: Buffer pools

2011-03-30 Thread Jonghun Han
Hi all, The followings are Samsung S.LSI requirement for memory provider. 1. User space API 1.1. New memory management(MM) features should includes followings to the user space.: UMP A. user space API for memory allocation from system memory: UMP Any user process can allocate memory fro

[PATCH dvb-apps] Add initial transponder for Net Digital

2011-03-30 Thread Mauro Carvalho Chehab
Adds the initial transponder used on Net Digital on Sao Paulo state (specifically at Sao Jose dos Campos). The other transponders are automatically obtained, so, there's no need to add them all. Signed-off-by: Mauro Carvalho Chehab diff --git a/util/scan/dvb-c/br-Net-Digital b/util/scan/dvb-c/

[PATCH dvb-apps] Fix scan handling for EN 300468 charsets

2011-03-30 Thread Mauro Carvalho Chehab
It always bothered me that scan tables produced in Brazil were full of "reverse interrogation" character, due to accents, like: R�dio instead of: Rádio This is due to the lack of properly interpreting the charset and calling iconv to handle it. If, for any reason, the iconv can't

RE: [RFC/PATCH v7 3/5] MFC: Add MFC 5.1 V4L2 driver

2011-03-30 Thread Jaeryul Oh
Hi, Kamil I found some mal-functional points. > -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Kamil Debski > Sent: Friday, March 04, 2011 8:26 PM > To: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Paolo Santinelli
OK! Thanks Paolo 2011/3/30 Guennadi Liakhovetski : > On Wed, 30 Mar 2011, Paolo Santinelli wrote: > >> Hi Guennadi, >> >> Am I wrong or do  I have to add some functions ? >> >> I have hand applied the changes at the soc_camera.c and soc_camera.h >> files. At a fist glance to these files seems th

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Guennadi Liakhovetski
On Wed, 30 Mar 2011, Paolo Santinelli wrote: > Hi Guennadi, > > Am I wrong or do I have to add some functions ? > > I have hand applied the changes at the soc_camera.c and soc_camera.h > files. At a fist glance to these files seems that I have to add the > function: > > .set_livecrop() Yes,

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Paolo Santinelli
Hi Guennadi, Am I wrong or do I have to add some functions ? I have hand applied the changes at the soc_camera.c and soc_camera.h files. At a fist glance to these files seems that I have to add the function: .set_livecrop() and probably even something more: CC drivers/media/video/soc_

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Kim HeungJun
Hi Sakari, 2011. 3. 30., 오후 8:37, Sakari Ailus 작성: > Kim, HeungJun wrote: >> Hi Sakari, > > Hi HeungJun, > >> 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: >>> Kim, HeungJun wrote: >> [snip] I think it's not different method to turn on/off, whatever the mode name is. But, the mode name

[cron job] v4l-dvb daily build: ERRORS

2011-03-30 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Wed Mar 30 19:00:35 CEST 2011 git hash:b328817a2a391d1e879c4252cd3f11a352d3f3bc gcc version: i686-linux-gcc (GCC) 4.5

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Paolo Santinelli
Hi Guennadi, thank you very much for the patch. I am going to apply it in order to start toying with the new capability. I think it is a useful capability. I'll let you know. Again thank you. Paolo 2011/3/30 Guennadi Liakhovetski : > On Tue, 29 Mar 2011, Paolo Santinelli wrote: > >> Hi Guenna

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi David, On Wednesday 30 March 2011 16:57:30 David Cohen wrote: > On Wed, Mar 30, 2011 at 5:18 PM, Sakari Ailus wrote: > >> On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: > >>> Laurent Pinchart wrote: > On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: > > Hans Verkuil wrote

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread David Cohen
On Wed, Mar 30, 2011 at 5:18 PM, Sakari Ailus wrote: > Laurent Pinchart wrote: >> Hi Sakari, > > Heippa, Hello, My 2 cents below. > >> On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: >>> Laurent Pinchart wrote: On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: > Hans Verkui

[PATCH] rc-core: fix winbond-cir issues

2011-03-30 Thread David Härdeman
The conversion of winbond-cir to use rc-core seems to have missed a a few bits and pieces which were in my local tree. Kudos to Juan Jesús García de Soria Lucena for noticing. Signed-off-by: David Härdeman --- drivers/media/rc/winbond-cir.c | 20 +--- 1 files changed, 5 insert

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi Sakari, Heippa, > On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: >> Laurent Pinchart wrote: >>> On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: Hans Verkuil wrote: > On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: >>> [snip] >>> >>

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: > Laurent Pinchart wrote: > > Hi Sakari, > > Hi Laurent, > > Thanks for the comments! > > > On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: > > > > [snip] > > > >>V4L2_CID_FLASH_STROBE_MODE (menu; LED) > >> > >> Use hardware or

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: > Laurent Pinchart wrote: > > On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: > >> Hans Verkuil wrote: > >>> On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: > > [snip] > > > V4L2_CID_FLASH_TIMEOUT (integer; LED)

Re: OMAP3 ISP and tvp5151 driver.

2011-03-30 Thread Laurent Pinchart
Hi Loïc, On Wednesday 30 March 2011 13:05:08 Loïc Akue wrote: > Hi Laurent, > > > The OMAP3 ISP should support interleaving interlaced frames, but that's > > not implemented in the driver. You will need to at least implement > > interlaced frames support in the CCDC module to report field identif

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi Sakari, Hi Laurent, > On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: >> Hans Verkuil wrote: >>> On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: > > [snip] > V4L2_CID_FLASH_TIMEOUT (integer; LED) The flash controller provides timeout f

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Kim, HeungJun wrote: > Hi Sakari, Hi HeungJun, > 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: >> Kim, HeungJun wrote: > [snip] >>> I think it's not different method to turn on/off, whatever the mode name is. >>> But, the mode name DEDICATED is look more reasonable, because the reason >>> which is devi

Re: RFC: polling for events triggers read() in videobuf2-core: how to resolve?

2011-03-30 Thread Andy Walls
Hans Verkuil wrote: >I've been working on control events and while doing that I encountered >a >V4L2 API problem. > >Currently calling select() without REQBUFS having been called first >will >assume that you want to read (or write for output devices) and it will >start the DMA accordingly if supp

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi Sakari, Hi Laurent, Thanks for the comments! > On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: > > [snip] > >> V4L2_CID_FLASH_STROBE_MODE (menu; LED) >> >> Use hardware or software strobe. If hardware strobe is selected, the >> flash controller is a slave

Re: OMAP3 ISP outputs 5555 5555 5555 5555 ...

2011-03-30 Thread Bastian Hecht
2011/3/30 Laurent Pinchart : > Hi Bastian, > > On Wednesday 30 March 2011 11:41:44 Bastian Hecht wrote: >> 2011/3/29 Laurent Pinchart : >> > On Friday 25 March 2011 13:34:10 Bastian Hecht wrote: >> >> 2011/3/24 Bastian Hecht : >> >> > 2011/3/24 Laurent Pinchart : >> >> >> On Thursday 24 March 2011

RFC: polling for events triggers read() in videobuf2-core: how to resolve?

2011-03-30 Thread Hans Verkuil
I've been working on control events and while doing that I encountered a V4L2 API problem. Currently calling select() without REQBUFS having been called first will assume that you want to read (or write for output devices) and it will start the DMA accordingly if supported by the driver. This is

Re: OMAP3 ISP outputs 5555 5555 5555 5555 ...

2011-03-30 Thread Laurent Pinchart
Hi Bastian, On Wednesday 30 March 2011 11:41:44 Bastian Hecht wrote: > 2011/3/29 Laurent Pinchart : > > On Friday 25 March 2011 13:34:10 Bastian Hecht wrote: > >> 2011/3/24 Bastian Hecht : > >> > 2011/3/24 Laurent Pinchart : > >> >> On Thursday 24 March 2011 10:59:01 Bastian Hecht wrote: > >> >>>

Re: OMAP3 ISP outputs 5555 5555 5555 5555 ...

2011-03-30 Thread Bastian Hecht
2011/3/29 Laurent Pinchart : > Hi Bastian, > > On Friday 25 March 2011 13:34:10 Bastian Hecht wrote: >> 2011/3/24 Bastian Hecht : >> > 2011/3/24 Laurent Pinchart : >> >> On Thursday 24 March 2011 10:59:01 Bastian Hecht wrote: >> >>> 2011/3/22 Laurent Pinchart : >> >>> > On Tuesday 22 March 2011 17:

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip] > V4L2_CID_FLASH_STROBE_MODE (menu; LED) > > Use hardware or software strobe. If hardware strobe is selected, the > flash controller is a slave in the system where the sensor produces the > strobe signal to the flash.

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: > Hans Verkuil wrote: > > On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: [snip] > >>V4L2_CID_FLASH_TIMEOUT (integer; LED) > >> > >> The flash controller provides timeout functionality to shut down the led > >> in case

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: > Sakari Ailus wrote: > > Hans Verkuil wrote: > >> On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: > >>> Hi Hans, > >>> > >>> Many thanks for the comments! > > > > ... > > > >>> It occurred to me that an application might

Re: soc_camera dynamically cropping and scaling

2011-03-30 Thread Guennadi Liakhovetski
On Tue, 29 Mar 2011, Paolo Santinelli wrote: > Hi Guennadi, > > thank you for the quick answer. > > Here is what I mean with dynamic: I take "live" one frame at high > resolution, for example a picture at VGA or QVGA resolution, then a > sequence of frames that depict a cropped area (200x200 or

Re: [PATCH] v4l: Release module if subdev registration fails

2011-03-30 Thread Hans Verkuil
On Wednesday, March 30, 2011 09:48:21 Laurent Pinchart wrote: > If v4l2_device_register_subdev() fails, the reference to the subdev > module taken by the function isn't released. Fix this. > > Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil That is definitely for 2.6.39. Regards,

[PATCH] v4l: Release module if subdev registration fails

2011-03-30 Thread Laurent Pinchart
If v4l2_device_register_subdev() fails, the reference to the subdev module taken by the function isn't released. Fix this. Signed-off-by: Laurent Pinchart --- drivers/media/video/v4l2-device.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/v4l2-d

[PATCH/DRAFT 0/2] Add livecrop to soc-camera and to sh CEU

2011-03-30 Thread Guennadi Liakhovetski
This is just a dump of an idea, I've been toying with to support live zoom on soc-camera. I do not know, if we'll end up mainlining this, because the proper way to do this is to use MC / pad-level operations, and even if we do this, at least the second patch will have to be further split into 2

[PATCH/DRAFT 2/2] V4L: sh_mobile_ceu_camera: implement live cropping

2011-03-30 Thread Guennadi Liakhovetski
PRELIMINARY: break out spinlock changes; consider multiple completing feames, causing multiple complete() calles. Add live crop support to the sh_mobile_ceu driver. Signed-off-by: Guennadi Liakhovetski --- As I mentioned in the introductory mail, this is just a draft, that at the very least ha

[PATCH 1/2] V4L: soc-camera: add a livecrop host operation

2011-03-30 Thread Guennadi Liakhovetski
Add an soc-camera host livecrop operation to implement live zoom. If a host driver implements it, it should take care to preserve output frame format, then live crop doesn't break streaming. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/soc_camera.c | 20 ++-- in

[PATCH 2/2] media: s5p-hdmi: add support for frame buffer emulator

2011-03-30 Thread Marek Szyprowski
Add support for generic framebuffer emulator. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-tv/Kconfig |1 + drivers/media/video/s5p-tv/mixer.h |2 ++ drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 3 files changed, 13 i

[PATCH 1/2] media: vb2: add frame buffer emulator for video output devices

2011-03-30 Thread Marek Szyprowski
This patch adds generic frame buffer emulator for any video output device that uses videobuf2 framework. This emulator assumes that the driver is capable of working in single-buffering mode and use memory allocator that allows coherent memory mapping. Signed-off-by: Marek Szyprowski Signed-off-by

[RFC/PATCH 0/2] FrameBuffer emulator for V4L2/VideoBuf2

2011-03-30 Thread Marek Szyprowski
Hello, On V4L2 brainstorming meeting in Warsaw we discussed the need of a framebuffer userspace interface for video output devices. Such framebuffer interface is aimed mainly for legacy applications and/or interoperatibility with Xfbdev. I proposed to give the idea of generic fb-on-top-of-video-n