Web lists-archives.org

Re: question for soc-camera driver




Hi
My camera is mt9v022.It is Master parallel,Monochrome and 8bit data
bus width.I do not send output to X server and to framebuffer.
If i request 4 buffers,I can get the first frame.But the sencond frame
and the third frame is black.Others is wrong.
If i request 5 buffers,I can get the first frame.But the sencond
frame, the third frame and the forth frame is black.Others is
wrong,and so on.

2008/4/5 Guennadi Liakhovetski <g.liakhovetski@xxxxxx>:
> Hi
>
>
>
>  On Fri, 4 Apr 2008, ?КЖн wrote:
>
>  > Now soc-camera driver can work on my pxa270.I wrote a program to test
>  > the driver.Only the first frame is right,but others is wrong.The
>  > program that I wrote come from Video for Linux Two API
>  > Specification,and work well on other v4l2-driver.
>
>  With what camera are you using the driver? Is it one of mt9m001 / mt9v022
>  or another one? In what mode is it connected to the CPU? Master parallel?
>  Monochrome or colour? How many bits data bus width? Why are you writing
>  your own programme and not using an existing one like xawtv, mplayer or
>  gstreamer? It would be much easier to diagnose our problem if you took
>  mplayer and provided the exact command line and output.
>
>  How wrong are the frames? If they are shifted, you might have a problem
>  with buffer size calculation somewhere. If you get distorted images, you
>  might be getting FIFO overflows. Are you sending output over some library,
>  to the X server, or directly to the framebuffer?
>
>  See, you need to provide much more information so we could help you.
>
>  Thanks
>  Guennadi
>  ---
>  Guennadi Liakhovetski
>



-- 
致
礼
冯鑫

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list