[mediacapture-image] Focus Distance Constraint

dsanders11 has just created a new issue for https://github.com/w3c/mediacapture-image:

== Focus Distance Constraint ==
I think focus distance is a key feature that is still missing from the spec, especially since `focusMode` set to `manual` doesn't make a whole lot of sense if you can't then specify a manual focus distance. 

There's API support via all currently used APIs:
* Windows DirectShow ([get range](https://msdn.microsoft.com/en-us/library/windows/desktop/dd376301(v=vs.85).aspx) and [set](https://msdn.microsoft.com/en-us/library/windows/desktop/dd376335(v=vs.85).aspx))
* V4L2 (Linux) via [V4L2_CID_FOCUS_ABSOLUTE](http://elixir.free-electrons.com/linux/v3.0/ident/V4L2_CID_FOCUS_ABSOLUTE)
* Android via [LENS_FOCUS_DISTANCE](https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.html#LENS_FOCUS_DISTANCE) in `android.hardware.camera2`

I've created PR #175 to add a focus distance to the spec.

Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/176 using your GitHub account

Received on Tuesday, 16 May 2017 12:41:02 UTC