History log of /haiku/src/add-ons/media/media-add-ons/usb_webcam/sensors/tas5110c1b.cpp
Revision Date Author Comments
# 628ddb27 25-Sep-2021 Franck LeCodeur <cassisian@gmail.com>

usb_webcam: Fix warnings and enable Werror

Done as part of #9460

Change-Id: I45f53451c91d63f5e5170234c75a831472cfffc7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4501
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# fb086488 28-Aug-2009 François Revol <revol@free.fr>

- style fixes,
- fix error handling in CamDevice.cpp,
- implemented PowerOnSensor() for Sonix,
- add a ProbeByIICSignature method to CamSensor, that takes a list of regs and values to match, as some Linux drivers do,
- add (unfinished, mostly copied from TAS5110C1B) support for TAS5130D1B sensor,
- add (unfinished) support for PAS106 sensor, probe by IIC signature as the Linux driver does,
- add probing by IIC signature for the HV7131E1 sensor as the Linux driver does,
- use -lusb for BeOS (actually ZETA) builds, don't try to use the Haiku USB Kit,
- for the TAS5110C1B sensor, use remove code dup and call SetVideoFrame(), tweaked the values to match those sniffed from the XP driver,
- disabled gain control for now on sonix, doesn't seem to work on all models.
This gets another sonix-based webcam working, partially at least, so if you want to get one to try until UVC works, try this one:
http://www.macally.com/EN/product/ArticleShow.asp?ArticleID=119
We should at least have one webcam supported in the alpha :D
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32795 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1830cbd 30-Sep-2008 François Revol <revol@free.fr>

Add missing copyrights.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27812 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0866ac7e 07-May-2008 François Revol <revol@free.fr>

- point to logitech opensource website
- cleanup
- handle frame size suggestions (Codycam gets QVGA now, and eXposer doesn't complain), though the picture is not centered nor scaled yet.
- added a stat text parameter to show actual frame rate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25359 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c38af24c 05-May-2008 François Revol <revol@free.fr>

- Finaly got sensor gain to work for mine...
- added brightness and contrast parameters for sn9cxxx according to a linux driver, but doesn't seem to work for mine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25323 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a486abdc 04-May-2008 François Revol <revol@free.fr>

- don't hardcode frame size, use the maximum available instead. Setting it at connection won't work yet.
- Added hooks to handle device and sensor-specific parameters
- Added gain controls for my webcam, oddly none seem to work correctly except green gain :^)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25315 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 601cedce 23-Jan-2007 François Revol <revol@free.fr>

move those down a bit to simplify jamfile writing (where are my wildcards ??)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19921 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb086488a9cfb386e73a31e0303940f0176df11c 28-Aug-2009 François Revol <revol@free.fr>

- style fixes,
- fix error handling in CamDevice.cpp,
- implemented PowerOnSensor() for Sonix,
- add a ProbeByIICSignature method to CamSensor, that takes a list of regs and values to match, as some Linux drivers do,
- add (unfinished, mostly copied from TAS5110C1B) support for TAS5130D1B sensor,
- add (unfinished) support for PAS106 sensor, probe by IIC signature as the Linux driver does,
- add probing by IIC signature for the HV7131E1 sensor as the Linux driver does,
- use -lusb for BeOS (actually ZETA) builds, don't try to use the Haiku USB Kit,
- for the TAS5110C1B sensor, use remove code dup and call SetVideoFrame(), tweaked the values to match those sniffed from the XP driver,
- disabled gain control for now on sonix, doesn't seem to work on all models.
This gets another sonix-based webcam working, partially at least, so if you want to get one to try until UVC works, try this one:
http://www.macally.com/EN/product/ArticleShow.asp?ArticleID=119
We should at least have one webcam supported in the alpha :D
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32795 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1830cbd577f57e8c92e5fea206d5dbf777a67a0 30-Sep-2008 François Revol <revol@free.fr>

Add missing copyrights.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27812 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0866ac7e91ed776223ec00160e60faaa8a9682e6 07-May-2008 François Revol <revol@free.fr>

- point to logitech opensource website
- cleanup
- handle frame size suggestions (Codycam gets QVGA now, and eXposer doesn't complain), though the picture is not centered nor scaled yet.
- added a stat text parameter to show actual frame rate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25359 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c38af24ceadc7935c37043e4a0b137542762f90d 05-May-2008 François Revol <revol@free.fr>

- Finaly got sensor gain to work for mine...
- added brightness and contrast parameters for sn9cxxx according to a linux driver, but doesn't seem to work for mine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25323 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a486abdce0e5725976184dd2752d42caa432fbb3 04-May-2008 François Revol <revol@free.fr>

- don't hardcode frame size, use the maximum available instead. Setting it at connection won't work yet.
- Added hooks to handle device and sensor-specific parameters
- Added gain controls for my webcam, oddly none seem to work correctly except green gain :^)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25315 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 601cedce6a523a42fb302c8cf6eb794dcea0e013 23-Jan-2007 François Revol <revol@free.fr>

move those down a bit to simplify jamfile writing (where are my wildcards ??)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19921 a95241bf-73f2-0310-859d-f6bbb57e9c96