History log of /haiku/src/add-ons/media/media-add-ons/usb_webcam/CamDevice.h
Revision Date Author Comments
# c5a66905 07-Apr-2011 Jérôme Duval <korli@users.berlios.de>

* style fixes.
* added SuggestVideoFrame() so that this can be overriden.


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


# 591eab0a 18-Jul-2009 François Revol <revol@free.fr>

- add PowerOnSensor() virtual,
- Add Or/And reg helpers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31626 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


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

Turns out my QuickCam is not a usual quickcam with an WTV600 chip but an NW80x based one...


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


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

- style cleanup (remove // -----, 2 lines between funcs)
- hooks to handle probing sensor chips instead of hardcoding them.
- more urls for reference drivers (the macam driver would be interesting but it's GPL and ObjC :-( )...


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


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

- some code to support isochronous, not yet functional.
- some code for quickcam, not yet functional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25319 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


# 6bb8b29f 09-Jan-2008 François Revol <revol@free.fr>

Make CamFrame a subclass of BMallocIO to add a timestamp field.
Set the field on allocation and pass it around.
Still disabled as CodyCam drops everything, I should probably drop old frames from the buffer...
for now it uses system_time() to make CodyCam happy.


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


# f6e4cbb9 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


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


# 61433d84 20-Jun-2007 Jérôme Duval <korli@users.berlios.de>

missing comment token


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


# 830d9677 12-May-2007 François Revol <revol@free.fr>

added CamdDevice::WaitFrame() which will be needed to rewrite teh producer frame generator thread


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


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

cleaned up includes; removed useless files; switched from Zeta's BVector to BList.


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


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

more Zeta vs Haiku USB Kit cleanup


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


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

remove zeta-specific stuff from the use of USB Kit, USBKit.h is all we need.


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


# 2c9bd703 28-Aug-2006 François Revol <revol@free.fr>

Current version of my USB Webcam driver. WORK IN PROGRESS!
Uses the USB Kit (userland API, needs libusb) to publish a
media node representing the webcam.
It currently only works with my Sonix webcam (3Euro cheapo
cam), but is modular enough to easily expand it, some code
is already there to detect Quickcams.
For now you should be able to build it under Zeta with the
makefile provided.
Making a Jamfile might get tricky as several source files are
created by the makefile itself to include addons and censors
in the build.


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


# c5a669052f4a927ac82f9d8bc3134e680601c9ce 07-Apr-2011 Jérôme Duval <korli@users.berlios.de>

* style fixes.
* added SuggestVideoFrame() so that this can be overriden.


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


# 591eab0abaea8ce61974be399f187e84f329f18a 18-Jul-2009 François Revol <revol@free.fr>

- add PowerOnSensor() virtual,
- Add Or/And reg helpers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31626 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


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

Turns out my QuickCam is not a usual quickcam with an WTV600 chip but an NW80x based one...


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


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

- style cleanup (remove // -----, 2 lines between funcs)
- hooks to handle probing sensor chips instead of hardcoding them.
- more urls for reference drivers (the macam driver would be interesting but it's GPL and ObjC :-( )...


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


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

- some code to support isochronous, not yet functional.
- some code for quickcam, not yet functional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25319 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


# 6bb8b29f4808742e25b256451e77ada26ed136a4 09-Jan-2008 François Revol <revol@free.fr>

Make CamFrame a subclass of BMallocIO to add a timestamp field.
Set the field on allocation and pass it around.
Still disabled as CodyCam drops everything, I should probably drop old frames from the buffer...
for now it uses system_time() to make CodyCam happy.


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


# f6e4cbb95290a74b33d012600438b84742b0e572 15-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote BeBuild.h which had "a few" consequences (got rid of all those class
definitions).
* Minor cleanup here and there.


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


# 61433d845939fb5f36f0017d8eb1184e40ed86d4 20-Jun-2007 Jérôme Duval <korli@users.berlios.de>

missing comment token


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


# 830d96771792994ee013957b02a2207400d60680 12-May-2007 François Revol <revol@free.fr>

added CamdDevice::WaitFrame() which will be needed to rewrite teh producer frame generator thread


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


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

cleaned up includes; removed useless files; switched from Zeta's BVector to BList.


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


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

more Zeta vs Haiku USB Kit cleanup


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


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

remove zeta-specific stuff from the use of USB Kit, USBKit.h is all we need.


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


# 2c9bd70310636a2ce913fba5ef02a51008c06ef5 28-Aug-2006 François Revol <revol@free.fr>

Current version of my USB Webcam driver. WORK IN PROGRESS!
Uses the USB Kit (userland API, needs libusb) to publish a
media node representing the webcam.
It currently only works with my Sonix webcam (3Euro cheapo
cam), but is modular enough to easily expand it, some code
is already there to detect Quickcams.
For now you should be able to build it under Zeta with the
makefile provided.
Making a Jamfile might get tricky as several source files are
created by the makefile itself to include addons and censors
in the build.


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