From 1a4f3a60796a6485bc3493701c7c09d8603c475b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 23 Jan 2007 21:20:15 +0000 Subject: [PATCH] Those headers should be autogenerated but I can't get it to work, put them in for now. Added a note in Jamfile. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19933 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../media/media-add-ons/usb_webcam/CamInternalAddons.h | 2 ++ .../usb_webcam/CamInternalColorSpaceTransforms.h | 1 + .../media/media-add-ons/usb_webcam/CamInternalSensors.h | 3 +++ src/add-ons/media/media-add-ons/usb_webcam/Jamfile | 5 +++++ 4 files changed, 11 insertions(+) create mode 100644 src/add-ons/media/media-add-ons/usb_webcam/CamInternalAddons.h create mode 100644 src/add-ons/media/media-add-ons/usb_webcam/CamInternalColorSpaceTransforms.h create mode 100644 src/add-ons/media/media-add-ons/usb_webcam/CamInternalSensors.h diff --git a/src/add-ons/media/media-add-ons/usb_webcam/CamInternalAddons.h b/src/add-ons/media/media-add-ons/usb_webcam/CamInternalAddons.h new file mode 100644 index 0000000000..34c61730cf --- /dev/null +++ b/src/add-ons/media/media-add-ons/usb_webcam/CamInternalAddons.h @@ -0,0 +1,2 @@ +B_WEBCAM_MKINTFUNC(quickcam) +B_WEBCAM_MKINTFUNC(sonix) diff --git a/src/add-ons/media/media-add-ons/usb_webcam/CamInternalColorSpaceTransforms.h b/src/add-ons/media/media-add-ons/usb_webcam/CamInternalColorSpaceTransforms.h new file mode 100644 index 0000000000..20323138dd --- /dev/null +++ b/src/add-ons/media/media-add-ons/usb_webcam/CamInternalColorSpaceTransforms.h @@ -0,0 +1 @@ +B_WEBCAM_DECLARE_CSTRANSFORM(BayerTransform, bayer) diff --git a/src/add-ons/media/media-add-ons/usb_webcam/CamInternalSensors.h b/src/add-ons/media/media-add-ons/usb_webcam/CamInternalSensors.h new file mode 100644 index 0000000000..22d326b9f8 --- /dev/null +++ b/src/add-ons/media/media-add-ons/usb_webcam/CamInternalSensors.h @@ -0,0 +1,3 @@ +B_WEBCAM_DECLARE_SENSOR(HDCS1000Sensor, hdcs1000) +B_WEBCAM_DECLARE_SENSOR(HV7131E1Sensor, hv7131e1) +B_WEBCAM_DECLARE_SENSOR(TAS5110C1BSensor, tas5110c1b) diff --git a/src/add-ons/media/media-add-ons/usb_webcam/Jamfile b/src/add-ons/media/media-add-ons/usb_webcam/Jamfile index 2c2d0a4686..eafa450056 100644 --- a/src/add-ons/media/media-add-ons/usb_webcam/Jamfile +++ b/src/add-ons/media/media-add-ons/usb_webcam/Jamfile @@ -2,6 +2,10 @@ SubDir HAIKU_TOP src add-ons media media-add-ons usb_webcam ; SetSubDirSupportedPlatformsBeOSCompatible ; +# note: when adding new addons, sensors +# or colorspace transforms, one should regenerate +# the *Internal*.h headers with the makefile. + # for USBKit.h UseLibraryHeaders usb ; @@ -45,6 +49,7 @@ local sensorsSources ; sensorsSources = hdcs1000.cpp hv7131e1.cpp tas5110c1b.cpp ; ## how to build header files from sources to include the list of built-in addons. +# but it doesn't seem to work for some reason... rule USBWebcamHeaderGen {