Files
external_libcamera/include/libcamera/property_ids.h.in
Kieran Bingham 89916a486c libcamera: Support draft controls and properties
Extend the control and property framework to support exposing draft
controls and properties in a scoped namespace.

The controls/properties themselves will retain the same ordering in the
relevant enum/id maps - but the access to any draft control will require
explicitly referencing through its' draft:: namespace prefix.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
[Added missing hunk in control_ids.cpp.in and changed subject]
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
2020-10-26 17:51:54 +01:00

40 lines
590 B
C

/* 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 {
${ids}
};
${controls}
namespace draft {
${draft_controls}
} /* namespace draft */
extern const ControlIdMap properties;
} /* namespace properties */
} /* namespace libcamera */
#endif /* __LIBCAMERA_PROPERTY_IDS_H__ */