# SPDX-License-Identifier: LGPL-2.1-or-later## Copyright (C) 2019, Google Inc.#%YAML 1.1
---
controls:
- Location:type: int32_t
description:|
Camera mounting location
enum:
- name: CameraLocationFront
value:0description:|
The camera is mounted on the front side of the device, facing the
user
- name: CameraLocationBack
value:1description:|
The camera is mounted on the back side of the device, facing away
from the user
- name: CameraLocationExternal
value:2description:|
The camera is attached to the device in a way that allows it to
be moved freely
- Rotation:type: int32_t
description:|
The camera rotation is expressed as the angular difference in degrees
between two reference systems, one relative to the camera module, and
one defined on the external world scene to be captured when projected
on the image sensor pixel array.
A camera sensor has a 2-dimensional reference system 'Rc' defined by
its pixel array read-out order. The origin is set to the first pixel
being read out, the X-axis points along the column read-out direction