[Spca50x-devs] Re: your patch for PAC207
- Date: Tue, 23 May 2006 10:53:41 +0200
- From: "Jindra Fucik" <fulda@xxxxxxxxx>
- Subject: [Spca50x-devs] Re: your patch for PAC207
Hi!
Part in PR are not complete patch, only pointing to main problem.
Full patch you can download here:
http://logout.sh.cvut.cz/~fulda/jfu_spca5xx-20060301_pac207.patch.gz
If you need to know where problem is:
- camera sends packets of data (1023 bites or less)
- driver try to find "frame begin" sequence
- if found, finish "current frame" and discards end of packet.
- new frame begins at the begin of new packet (<-- this is wrong)
begin of frame is point of problem - frame starts not at next frame, but at
"frame begin" sequence
My patch is not so good, What I do is:
- camera sends packets of data (1023 bites or less)
- driver try to find "frame begin" sequence
- if found, RE-START "current frame" and discard begin of packet
- reading frame to next "frame begin" sequence
- if found, finish "current frame" and discards end of packet.
It mean, I'm discarding every odd frames - this is hack, not fix.
I have one "test computer" with freebsd, if you want, I can give you acces
to this, here is pac207 cammera.
Jindra
----- Original Message -----
From: "Mizuno Takafumi" <taka-qce@xxxxxxx>
To: <fulda@xxxxxxxxx>
Cc: <taka-qce@xxxxxxx>
Sent: Monday, May 22, 2006 5:26 PM
Subject: your patch for PAC207
Hi!
I found your patch at the following;
http://www.freebsd.org/cgi/query-pr.cgi?pr=97302
The problem with PAC207 is not only FreeBSD.
I have known this problem by other user, but I have no idea.
Could I apply your patch to my patchset ?
and Please try the following, let me know the results on your webcam.
http://www.medias.ne.jp/~takam/bsd/spca5xx-bsd-0.6a.patch.gz
Excuse my bad English.
Thanks a lot.
<---- Takafumi Mizuno ----- ------- - - - -- - -- - -
<--- taka-qce@xxxxxxx / taka@xxxxxxxxxxxxxxxx ---- -- - -
<-- * A blessed luckstone * ---- -------- - -- -- --- - - - -
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs