Files
external_libcamera/include/libcamera/control_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
579 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* control_ids.h - Control ID list
*
* This file is auto-generated. Do not edit.
*/
#ifndef __LIBCAMERA_CONTROL_IDS_H__
#define __LIBCAMERA_CONTROL_IDS_H__
#include <stdint.h>
#include <libcamera/controls.h>
namespace libcamera {
namespace controls {
enum {
${ids}
};
${controls}
extern const ControlIdMap controls;
namespace draft {
${draft_controls}
} /* namespace draft */
} /* namespace controls */
} /* namespace libcamera */
#endif /* __LIBCAMERA_CONTROL_IDS_H__ */