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 {