[Query] What is the best way to handle V4L2_PIX_FMT_NV12 buffers?

2011-03-05 Thread Aguirre, Sergio
Hi, I was curious in how to handle properly buffers of pixelformat V4L2_PIX_FMT_NV12. I see that the standard convention for determining a bytesize of an image buffer is: bytesperline * height However, for NV12 case, the bytes per line is equal to the width, _but_ the actual buffer size is:

Re: [PATCH 0/13] lirc_zilog: Ref-counting and locking cleanup

2011-03-05 Thread Jarod Wilson
On Feb 17, 2011, at 8:11 PM, Andy Walls wrote: > The following 13 patches are a substantial rework of lirc_zilog > reference counting, object allocation and deallocation, and object > locking. > > With these changes, devices can now disappear out from under lircd + > lirc_dev + lirc_zilog with no

Re: BUG at mm/mmap.c:2309 when cx18.ko and cx18-alsa.ko loaded

2011-03-05 Thread Andy Walls
On Sat, 2011-03-05 at 16:59 -0500, Andy Walls wrote: > On Thu, 2011-03-03 at 21:06 -0500, Andy Walls wrote: > > Hi, > > > > I got a BUG when loading the cx18.ko module (which in turn requests the > > cx18-alsa.ko module) on a kernel built from this repository > > > > http://git.linuxtv.org/me

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Sylwester Nawrocki
Hi Mauro, On 03/05/2011 07:14 PM, Mauro Carvalho Chehab wrote: > Em 05-03-2011 11:29, Sylwester Nawrocki escreveu: >> Hi David, >> >> On 03/05/2011 02:04 PM, David Cohen wrote: >>> Hi Hans, >>> >>> On Sat, Mar 5, 2011 at 1:52 PM, Hans Verkuil wrote: On Friday, March 04, 2011 21:10:05 Mauro

Re: BUG at mm/mmap.c:2309 when cx18.ko and cx18-alsa.ko loaded

2011-03-05 Thread Andy Walls
On Thu, 2011-03-03 at 21:06 -0500, Andy Walls wrote: > Hi, > > I got a BUG when loading the cx18.ko module (which in turn requests the > cx18-alsa.ko module) on a kernel built from this repository > > http://git.linuxtv.org/media_tree.git staging/for_v2.6.39 > > which I beleive is based on

Re: V4L2 'brainstorming' meeting in Warsaw, March 2011

2011-03-05 Thread Laurent Pinchart
Hi Hans, On Saturday 05 March 2011 17:02:13 Hans Verkuil wrote: > On Monday, February 28, 2011 19:12:00 Laurent Pinchart wrote: > > On Monday 28 February 2011 19:03:39 Hans Verkuil wrote: > > > On Monday, February 28, 2011 18:11:47 Marek Szyprowski wrote: > > [snip] > > > > > > 4. Agenda > > > >

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Laurent Pinchart
Hi Mauro, On Saturday 05 March 2011 19:22:28 Mauro Carvalho Chehab wrote: > Em 05-03-2011 10:02, Laurent Pinchart escreveu: > > Hi Mauro, > > > > Thanks for the review. Let me address all your concerns in a single mail. > > > > - ioctl numbers > > > > I'll send you a patch that reserves a range

[cron job] v4l-dvb daily build: ERRORS

2011-03-05 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:Sat Mar 5 19:00:27 CET 2011 git hash:88a763df226facb74fdb254563e30e9efb64275c gcc version: i686-linux-gcc (GCC) 4.5.

Re: isp or soc-camera for image co-processors

2011-03-05 Thread Sakari Ailus
Bhupesh SHARMA wrote: > Hi Sakari, Laurent and Guennadi, Hi Bhupesh and others, >> ... >> > Are there are reference drivers that I can use for my study? The OMAP3 ISP driver. >>> >>> Thanks, I will go through the same. >> >> The major difference in this to OMAP 3 is that the OMAP 3

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Mauro Carvalho Chehab
Em 05-03-2011 10:02, Laurent Pinchart escreveu: > Hi Mauro, > > Thanks for the review. Let me address all your concerns in a single mail. > > - ioctl numbers > > I'll send you a patch that reserves a range in Documentation/ioctl/ioctl- > number.txt and update include/linux/media.h accordingly.

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Mauro Carvalho Chehab
Em 05-03-2011 11:29, Sylwester Nawrocki escreveu: > Hi David, > > On 03/05/2011 02:04 PM, David Cohen wrote: >> Hi Hans, >> >> On Sat, Mar 5, 2011 at 1:52 PM, Hans Verkuil wrote: >>> On Friday, March 04, 2011 21:10:05 Mauro Carvalho Chehab wrote: Em 03-03-2011 07:25, Laurent Pinchart escreve

Re: scan file norway, bergen

2011-03-05 Thread Christoph Pfister
Added, thanks. Christoph 2011/2/28 Thomas Amland : > -- Forwarded message -- > From: Thomas Amland > Date: Mon, Feb 28, 2011 at 4:03 PM > Subject: scan file norway, bergen > To: linux-...@linuxtv.org > > > Created with w_scan, frequencies from http://www.ntv.no/dekningskart, > a

Re: [ANN] First draft of the agenda for the Warsaw meeting

2011-03-05 Thread Sylwester Nawrocki
On 03/05/2011 04:20 PM, Hans Verkuil wrote: > Hi all! > > Here is the first draft of the agenda for the Warsaw meeting. Next weekend > I'll prepare the final version. > > Please let me know any changes to/errors in the attendee list! > > I tried to order the agenda so we start gently (I hope!) a

Re: V4L2 'brainstorming' meeting in Warsaw, March 2011

2011-03-05 Thread Hans Verkuil
On Monday, February 28, 2011 19:12:00 Laurent Pinchart wrote: > On Monday 28 February 2011 19:03:39 Hans Verkuil wrote: > > On Monday, February 28, 2011 18:11:47 Marek Szyprowski wrote: > > [snip] > > > > 4. Agenda > > > > > > TBD, everyone is welcomed to put his items here :) > > > > I

Re: please update dvb-t es-Madrid scan file

2011-03-05 Thread Christoph Pfister
Please send a patch. Christoph 2011/2/28 Alberto Segura : > Hello, > > es-Madrid has to be updated: > > * Removing channels: > >  - EsMadrid TV (not functional) >  - Onda 6 (now "la10") >  - CNN+ (now "Gran Hermano 24h") >  - 40 Latino (inexistent) >  - Telecinco Sport (inexistent) >  - Telecinc

Re: Patches an media build tree

2011-03-05 Thread Steffen Barszus
On Sun, 16 Jan 2011 16:37:38 -0200 Mauro Carvalho Chehab wrote: > Em 15-01-2011 11:46, Helmut Auer escreveu: > > Hello List > > > > How long does it usually take til patches are integrated into the > > media build tree ( after posting these here ) ? I'm just wondering > > because I miss some pat

[ANN] First draft of the agenda for the Warsaw meeting

2011-03-05 Thread Hans Verkuil
Hi all! Here is the first draft of the agenda for the Warsaw meeting. Next weekend I'll prepare the final version. Please let me know any changes to/errors in the attendee list! I tried to order the agenda so we start gently (I hope!) and mix large and small items. I tried to name the main 'pro

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Sylwester Nawrocki
Hi David, On 03/05/2011 02:04 PM, David Cohen wrote: > Hi Hans, > > On Sat, Mar 5, 2011 at 1:52 PM, Hans Verkuil wrote: >> On Friday, March 04, 2011 21:10:05 Mauro Carvalho Chehab wrote: >>> Em 03-03-2011 07:25, Laurent Pinchart escreveu: ... v4l: Group media bus pixel codes by types

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Hans Verkuil
On Saturday, March 05, 2011 14:04:21 David Cohen wrote: > Hi Hans, > > On Sat, Mar 5, 2011 at 1:52 PM, Hans Verkuil wrote: > > On Friday, March 04, 2011 21:10:05 Mauro Carvalho Chehab wrote: > >> Em 03-03-2011 07:25, Laurent Pinchart escreveu: > >> > Hi Mauro, > >> > > >> > The following changes

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread David Cohen
Hi Hans, On Sat, Mar 5, 2011 at 1:52 PM, Hans Verkuil wrote: > On Friday, March 04, 2011 21:10:05 Mauro Carvalho Chehab wrote: >> Em 03-03-2011 07:25, Laurent Pinchart escreveu: >> > Hi Mauro, >> > >> > The following changes since commit >> > 88a763df226facb74fdb254563e30e9efb64275c: >> > >> >  

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Laurent Pinchart
Hi Mauro, Thanks for the review. Let me address all your concerns in a single mail. - ioctl numbers I'll send you a patch that reserves a range in Documentation/ioctl/ioctl- number.txt and update include/linux/media.h accordingly. - private ioctls As already explained by David, the private ioc

[GIT PATCHES FOR 2.6.39] cx23885, altera-ci, stv0367: uncorrected blocks counter and other fixes

2011-03-05 Thread Igor M. Liplianin
The following changes since commit 88a763df226facb74fdb254563e30e9efb64275c: [media] dw2102: prof 1100 corrected (2011-03-02 16:56:54 -0300) are available in the git repository at: git://linuxtv.org/liplianin/media_tree.git dual_dvb_t_c_ci_rf-1 Abylay Ospan (5): cx23885: Altera FPGA CI

Re: [RFC/PATCH v7 1/5] Changes in include/linux/videodev2.h for MFC 5.1

2011-03-05 Thread Hans Verkuil
On Friday, March 04, 2011 19:56:35 Kamil Debski wrote: > Hi, > > > -Original Message- > > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > > Sent: 04 March 2011 17:39 > > To: Kamil Debski > > Cc: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org; > > m.szypr

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Hans Verkuil
On Friday, March 04, 2011 21:49:32 Mauro Carvalho Chehab wrote: > Em 03-03-2011 07:25, Laurent Pinchart escreveu: > > Hi Mauro, > > > > The following changes since commit 88a763df226facb74fdb254563e30e9efb64275c: > > > > [media] dw2102: prof 1100 corrected (2011-03-02 16:56:54 -0300) > > > > a

RE: [RFC/PATCH v7 1/5] Changes in include/linux/videodev2.h for MFC 5.1

2011-03-05 Thread Jaeryul Oh
Hi, I commented as below. > -Original Message- > From: Kamil Debski [mailto:k.deb...@samsung.com] > Sent: Saturday, March 05, 2011 3:57 AM > To: 'Laurent Pinchart' > Cc: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org; Marek > Szyprowski; kyungmin.p...@samsung.com; jaeryul..

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-03-05 Thread Andrew de Quincey
Perhaps it depends on the characteristics of the transmissions being received? I'm in the UK. 2011/3/5 Antti Palosaari : > Switching channels for long time seems to hang device (no errors seen but it > does not lock anymore), I don't know why. It is not very easy to reproduce. > For me it will tak

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-03-05 Thread adq
2011/3/5 Juan Jesús García de Soria Lucena : > Hi, Andrew. > > This is what happens to me with both the KWorld dual tuner (when using only > one tuner) and the Avermedia Volar Black (single tuner), both based on > AF9015. > > I also got corrupted streams with the KWorld when capturing via both tune

Re: [GIT PULL FOR 2.6.39] Media controller and OMAP3 ISP driver

2011-03-05 Thread Hans Verkuil
On Friday, March 04, 2011 21:10:05 Mauro Carvalho Chehab wrote: > Em 03-03-2011 07:25, Laurent Pinchart escreveu: > > Hi Mauro, > > > > The following changes since commit 88a763df226facb74fdb254563e30e9efb64275c: > > > > [media] dw2102: prof 1100 corrected (2011-03-02 16:56:54 -0300) > > > > a

Re: [PATCH/RFC 0/5] [media] s5p-tvout: Add S5P TVOUT driver

2011-03-05 Thread Hans Verkuil
Hi! Sorry for not replying earlier. To be honest, there is not much I can say yet. The main new part in this driver is the HDMI/CEC support. And that is one of the topics of the upcoming Warsaw brainstorm meeting (several of your Samsung colleagues will be attending). An RFC for CEC support has

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-03-05 Thread Antti Palosaari
On 03/05/2011 03:43 AM, adq wrote: +static int af9015_lock_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) +{ + int result; + struct dvb_usb_adapter *adap = fe->dvb->priv; + struct af9015_state *state = adap->dev->priv; + + if (enable) + if (mutex_lock_int

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-03-05 Thread Antti Palosaari
On 03/05/2011 03:51 AM, adq wrote: As you say though. its just the tuners, so adding the locking into the gate ctrl as you suggested makes perfect sense. Attached is v3 implementing this; it seems to be working fine here. Unfortunately even with this fix, I'm still seeing the problem I was try

Re: [patch] Fix AF9015 Dual tuner i2c write failures

2011-03-05 Thread Antti Palosaari
Switching channels for long time seems to hang device (no errors seen but it does not lock anymore), I don't know why. It is not very easy to reproduce. For me it will take generally few days just tune from channel to channel in loop. Antti On 03/05/2011 10:56 AM, Juan Jesús García de Soria L