property_ids.h
Go to the documentation of this file.
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* property_ids.h - Property ID list
*
* This file is auto-generated. Do not edit.
*/
#ifndef __LIBCAMERA_PROPERTY_IDS_H__
#define __LIBCAMERA_PROPERTY_IDS_H__
#include <stdint.h>
#include <libcamera/controls.h>
namespace libcamera {
namespace properties {
enum {
LOCATION = 1,
ROTATION = 2,
};
enum LocationValues {
CameraLocationFront = 0,
CameraLocationBack = 1,
CameraLocationExternal = 2,
};
extern const Control<int32_t> Location;
extern const Control<int32_t> Rotation;
extern const ControlIdMap properties;
} /* namespace properties */
} /* namespace libcamera */
#endif /* __LIBCAMERA_PROPERTY_IDS_H__ */
libcamera::Control
Describe a control and its intrinsic properties.
Definition: controls.h:251
controls.h
Framework to manage controls related to an object.
libcamera::ControlIdMap
std::unordered_map< unsigned int, const ControlId * > ControlIdMap
A map of numerical control ID to ControlId.
Definition: controls.h:294
libcamera::properties::properties
const ControlIdMap properties
List of all supported libcamera properties.
Definition: property_ids.cpp:419
libcamera::properties::LocationValues
LocationValues
Supported Location values.
Definition: property_ids.h:26
libcamera::properties::CameraLocationBack
@ CameraLocationBack
The camera is mounted on the back side of the device, facing away from the user.
Definition: property_ids.h:28
libcamera::properties::CameraLocationFront
@ CameraLocationFront
The camera is mounted on the front side of the device, facing the user.
Definition: property_ids.h:27
libcamera::properties::CameraLocationExternal
@ CameraLocationExternal
The camera is attached to the device in a way that allows it to be moved freely.
Definition: property_ids.h:29
libcamera::properties::Rotation
const Control< int32_t > Rotation
The camera rotation is expressed as the angular difference in degrees between two reference systems,...
libcamera::properties::Location
const Control< int32_t > Location
Camera mounting location.