Re: question for soc-camera driver
- Date: Tue, 22 Apr 2008 16:25:29 +0200 (CEST)
- From: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
- Subject: Re: question for soc-camera driver
On Sat, 19 Apr 2008, ·ëöÎ wrote:
> Thanks I will try according to what you said. Mybe I can find why I
> have this problem.But a driver come from MontaVista can also work
> well.No frame is dropped.
>
> Now I find MontaVista driver have a problem.I execute VIDIOC_REQBUFS
> failed After I execute VIDIOC_STREAMOFF and munmap() .This time
> soc-camera driver can work well.You can give me some advice.
I looked at the Montavista driver you provided. It does indeed initialize
some registers slightly differently, but all those values are either
default, i.e., would be implicitly the same in the pxa-camera driver, or
are explicitly overwritten in the driver. So, I cannot see how first using
the Montavista driver and then switching to the pxa-camera driver can
change performance of the latter.
One thing you might find interesting - they seem to be configuring the
capture interface to run at 13MHz, which is close enough to my 10MHz
guess. So, make sure you're not configuring anything higher in your
platform code. But, again, it does get reconfigured when pxa-camera is
loaded, so, it wouldn't produce the improvement you describe.
Thanks
Guennadi
---
Guennadi Liakhovetski
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list