W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2017

[mediacapture-image] Focus Distance Constraint

From: David Sanders via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 May 2017 12:40:56 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-229018231-1494938454-sysbot+gh@w3.org>
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:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 May 2017 12:41:03 UTC