US 11,914,985 B2
Camera capabilities API framework and shared OEM repository system
Weijing Liu, Foshan (CN); Xiangying Ma, Laguna Beach, CA (US); Brent Mills, Vashon, WA (US); and Tuo Wang, Irvine, CA (US)
Assigned to Snap Inc., Santa Monica, CA (US)
Filed by Snap Inc., Santa Monica, CA (US)
Filed on Jul. 30, 2021, as Appl. No. 17/444,083.
Application 17/444,083 is a continuation of application No. PCT/CN2020/135215, filed on Dec. 10, 2020.
Prior Publication US 2022/0188092 A1, Jun. 16, 2022
Int. Cl. G06F 9/44 (2018.01); G06F 8/20 (2018.01); G06F 8/65 (2018.01); H04N 23/617 (2023.01)
CPC G06F 8/65 (2013.01) [G06F 8/20 (2013.01); H04N 23/617 (2023.01)] 14 Claims
OG exemplary drawing
 
1. A method of handling a hardware request in a computing device including one or more processors, comprising:
receiving a request for a hardware-related function from an application service module;
determining if the hardware-related function can be provided by an OEM-specific SDK;
based on a determination that the hardware-related function can be provided by an OEM-specific SDK, providing commands and parameters related to the hardware-related function to the OEM-specific SDK; and
based on a determination that the hardware-related function cannot be provided by an OEM-specific SDK, providing commands and parameters related to the hardware-related function to an operating system hardware abstraction layer,
wherein the determining if the hardware-related function can be provided by an OEM-specific SDK is performed by integration code comprising a group of operating system hardware control interfaces that are standard to an operating system and a group of custom OEM hardware control interfaces corresponding to the OEM-specific SDK.