Re: [PULL] generic image bounds setting and alignment function

2009-06-17 Thread Trent Piepho
On Wed, 17 Jun 2009, Guennadi Liakhovetski wrote: > On Tue, 16 Jun 2009, Trent Piepho wrote: > > On Tue, 16 Jun 2009, Guennadi Liakhovetski wrote: > > > > 01/14: compat: handle __fls > > > > http://linuxtv.org/hg/~tap/v4l-dvb?cmd=changeset;node=c4b55ce6c273 > > > > > > > > 02/14: v4l2: Create helpe

Re: [PULL] generic image bounds setting and alignment function

2009-06-17 Thread Trent Piepho
On Wed, 17 Jun 2009, Guennadi Liakhovetski wrote: > On Tue, 16 Jun 2009, Trent Piepho wrote: > > /* up the smaller alignment until we have enough */ > do { > - if (walign <= halign && walign < wmaxa) { > + if (halign >= hmaxa || >

Re: [PULL] generic image bounds setting and alignment function

2009-06-17 Thread Guennadi Liakhovetski
On Tue, 16 Jun 2009, Trent Piepho wrote: > On Tue, 16 Jun 2009, Mauro Carvalho Chehab wrote: > > Em Tue, 16 Jun 2009 17:57:20 +0200 (CEST) > > Guennadi Liakhovetski escreveu: > > > On Sat, 30 May 2009, Trent Piepho wrote: > > > + if (walign + halign < salign) { > > > + /* Max walign where

Re: [PULL] generic image bounds setting and alignment function

2009-06-16 Thread Guennadi Liakhovetski
On Tue, 16 Jun 2009, Trent Piepho wrote: > On Tue, 16 Jun 2009, Guennadi Liakhovetski wrote: > > > 01/14: compat: handle __fls > > > http://linuxtv.org/hg/~tap/v4l-dvb?cmd=changeset;node=c4b55ce6c273 > > > > > > 02/14: v4l2: Create helper function for bounding and aligning images > > > http://linu

Re: [PULL] generic image bounds setting and alignment function

2009-06-16 Thread Trent Piepho
On Tue, 16 Jun 2009, Mauro Carvalho Chehab wrote: > Em Tue, 16 Jun 2009 17:57:20 +0200 (CEST) > Guennadi Liakhovetski escreveu: > > On Sat, 30 May 2009, Trent Piepho wrote: > > + if (walign + halign < salign) { > > + /* Max walign where there is still a valid width */ > > + u

Re: [PULL] generic image bounds setting and alignment function

2009-06-16 Thread Trent Piepho
On Tue, 16 Jun 2009, Guennadi Liakhovetski wrote: > > 01/14: compat: handle __fls > > http://linuxtv.org/hg/~tap/v4l-dvb?cmd=changeset;node=c4b55ce6c273 > > > > 02/14: v4l2: Create helper function for bounding and aligning images > > http://linuxtv.org/hg/~tap/v4l-dvb?cmd=changeset;node=b4d3ec8d363

Re: [PULL] generic image bounds setting and alignment function

2009-06-16 Thread Mauro Carvalho Chehab
Em Tue, 16 Jun 2009 17:57:20 +0200 (CEST) Guennadi Liakhovetski escreveu: > On Sat, 30 May 2009, Trent Piepho wrote: > > > Mauro, > > > > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb > > > > This series adds a function for bounding and alignment image sizes and > > modifies a number of

Re: [PULL] generic image bounds setting and alignment function

2009-06-16 Thread Guennadi Liakhovetski
On Sat, 30 May 2009, Trent Piepho wrote: > Mauro, > > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb > > This series adds a function for bounding and alignment image sizes and > modifies a number of drivers to use it. It came up when the pxa patches to > deal with the alignment issues for

Re: [PULL] generic image bounds setting and alignment function

2009-06-12 Thread Robert Jarzmik
Trent Piepho writes: > On Mon, 1 Jun 2009, Robert Jarzmik wrote: >> Trent Piepho writes: >> > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb >> If I'm not mistaken, these lines are an equivalent of : >> balign = 1 << align; >> if (align) >> x = ALIGN(x + 1 - balign

Re: [PULL] generic image bounds setting and alignment function

2009-06-06 Thread Guennadi Liakhovetski
Hi Mauro On Sat, 6 Jun 2009, Mauro Carvalho Chehab wrote: > Hi Guennadi, > > Em Wed, 3 Jun 2009 20:26:36 +0200 (CEST) > Guennadi Liakhovetski escreveu: > > > On Mon, 1 Jun 2009, Robert Jarzmik wrote: > > > > > Trent Piepho writes: > > > > > > > Mauro, > > > > > > > > Please pull from http:/

Re: [PULL] generic image bounds setting and alignment function

2009-06-06 Thread Mauro Carvalho Chehab
Hi Guennadi, Em Wed, 3 Jun 2009 20:26:36 +0200 (CEST) Guennadi Liakhovetski escreveu: > On Mon, 1 Jun 2009, Robert Jarzmik wrote: > > > Trent Piepho writes: > > > > > Mauro, > > > > > > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb > > > > > > This series adds a function for bounding an

Re: [PULL] generic image bounds setting and alignment function

2009-06-03 Thread Guennadi Liakhovetski
On Mon, 1 Jun 2009, Robert Jarzmik wrote: > Trent Piepho writes: > > > Mauro, > > > > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb > > > > This series adds a function for bounding and alignment image sizes and > > modifies a number of drivers to use it. It came up when the pxa patches to

Re: [PULL] generic image bounds setting and alignment function

2009-06-03 Thread Trent Piepho
On Mon, 1 Jun 2009, Robert Jarzmik wrote: > Trent Piepho writes: > > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb > > > > This series adds a function for bounding and alignment image sizes and > > modifies a number of drivers to use it. It came up when the pxa patches to > > deal with the

Re: [PULL] generic image bounds setting and alignment function

2009-06-01 Thread Robert Jarzmik
Trent Piepho writes: > Mauro, > > Please pull from http://linuxtv.org/hg/~tap/v4l-dvb > > This series adds a function for bounding and alignment image sizes and > modifies a number of drivers to use it. It came up when the pxa patches to > deal with the alignment issues for that driver were post