RE: Need help with V4L2 USERPTR method

2008-11-28 Thread Jadav, Brijesh R
; davinci-linux-open-source@linux.davincidsp.com Subject: Re: Need help with V4L2 USERPTR method I am not getting any error after hardcoding buffer size to 884736, and able to dequeue and enque buffer successfully, but this buffer does not contain any frame data. On Fri, Nov 28, 2008 at 5:10 PM

Re: Need help with V4L2 USERPTR method

2008-11-28 Thread Mr. V R
ED] On Behalf Of > Andrea Gasparini > Sent: Friday, November 28, 2008 4:55 PM > To: davinci-linux-open-source@linux.davincidsp.com > Cc: Mr. V R > Subject: Re: Need help with V4L2 USERPTR method > > Hi, > > Mr. V R spiffera, alle Friday 28 November 2008 circa: > > 1. T

Re: Need help with V4L2 USERPTR method

2008-11-28 Thread Mr. V R
Hi Andrea, Thanks for reply. 1) DVSDK 1.30 kernel does not provide CONFIG_CAPTURE_DAVINCIHD ( I could not find in autoconfig.h or KConfig anywhere, but Makefile mentions about it). Do I have to apply patch to enable support this? (I tried tweak it manually but looks like I have to disable part of

RE: Need help with V4L2 USERPTR method

2008-11-28 Thread Jadav, Brijesh R
Behalf Of Andrea Gasparini Sent: Friday, November 28, 2008 4:55 PM To: davinci-linux-open-source@linux.davincidsp.com Cc: Mr. V R Subject: Re: Need help with V4L2 USERPTR method Hi, Mr. V R spiffera, alle Friday 28 November 2008 circa: > 1. The sample code without modification in buffer size wo

Re: Need help with V4L2 USERPTR method

2008-11-28 Thread Andrea Gasparini
Hi, Mr. V R spiffera, alle Friday 28 November 2008 circa: > 1. The sample code without modification in buffer size works well with > MMAP but fails in USERPTR > 2. If we provide buffer more then or equal to 884736, capture is > possible with USERPTR, but driver does not copy frame in the buffer.