FlashCap
FlashCap copied to clipboard
Added CameraControlProperty interface
trafficstars
An implementation of the CameraControlProperty interface, only tested on DirectShow.
I needed this for a thermal camera where it uses the Zoom property in two ways: to switch frame data to raw thermal values (for further processing by the application), and to calibrate the camera (it has an internal shutter for calibration).
Example usage for the thermal camera:
this.captureDevice.SetControlProperty(CameraControlProperty.Zoom, 0x8000); // 0x8000 = Calibrate
this.captureDevice.SetControlProperty(CameraControlProperty.Zoom, 0x8004); // 0x8004 = Raw mode
This is incomplete however I wanted to create this PR to start some discussion about how this could be integrated into the main repo in a correct way.
@macaba Thank you your PR!
I will review it within a couple of days, so please give me a moment.