Closed Bug 965427 Opened 7 years ago Closed 3 years ago

[Camera][Gecko] Expose optical image stabilization (OIS) settings

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mikeh, Unassigned)

References

Details

Expose image stabilization settings to JS:
- capability-supported attribute
- current setting attribute
Blocks: 966764
OIS is not a standard and not a general feature.
Because of that, we can not make it generalized.
However, for vendor's extension, we can provide a general API like set(key, value).
If some vendors want to customize its own device, they can use it like set('ois', 'on'), set('ois', 'off'). The pair of key/value might be depending on the vendor's solutions.

As a result, I think we don't need to add an OIS-specific API.
I think it's better to consider the set(key,value) API.
I expect the APIs to support the various usage by various vendors are the followings.
 - set(String key, int value)
 - set(String key, String value)
 - set(String key, boolean value) //optional
 - get(String key)    //returns String value
 - getInt(String key) //returns int value

The similar APIs are already defined in Android.
In case of MADAI project, OIS APIs is not needed.
It's working fine by itself.
Assignee: mhabicher → nobody
blocking-b2g: 1.4? → ---
If this is not required, please remove it from dependency list of madai tracking bug.
Flags: needinfo?(jjoons79)
Flags: needinfo?(hiro7998)
No longer blocks: 966764
Flags: needinfo?(jjoons79)
Flags: needinfo?(hiro7998)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.