El Lunes, 11 de Enero de 2010, Jean-Francois Moine escribió: > On Mon, 11 Jan 2010 09:37:29 +0100 > > Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > This is the infamous zc3xx bottom of the image is missing in 320x240 > > problem, with several sensors the register settings we took from the > > windows driver will only give you 320x232 (iirc), we tried changing > > them to get 320x240, but then the camera would not stream. Most > > likely some timing issue between bridge and sensor. > > > > I once had a patch fixing this by actually reporting the broken modes > > as 320x232, but that never got applied as it breaks app which are > > hardcoded to ask for 320x240. libv4l has had the ability to extend > > the 320x232 image to 320x240 for a while now (by adding a few black > > lines at the top + bottom), fixing the hardcoded apps problem. > > > > So I think such a patch can and should be applied now. This will get > > rid of the jpeg decompression errors reported by libv4l and in case > > if yuv mode the ugly green bar with some random noise in it at the > > bottom. > > > > I'm afraid my patch is most likely lost, but I can create a new one > > if you want, I have access to quite a few zc3xx camera's, and more > > over what resolution they are actually streaming at can be deducted > > from the register settings in the driver. > > Hi Hans, > > As you may see in Jose Alberto's message, the problem occurs with > 640x480 and, yes, the image bottom is lacking, but also the right side. > > I did not lose your patch, but I did not apply it because most of the > time, the webcams work in the best resolution (VGA) and the associated > problem has not found yet a good resolution... > > Regards. > I take another image with 640x480 and the bad bottom lines are 8. The right side look right this time. The good sizes are: 320x240->320x232 640x480->640x472 Jose Alberto
Attachment:
image2.dat
Description: JPEG image