summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/percent.svg
AgeCommit message (Collapse)Author
2020-02-14qcam: assets: Provide initial icon setKieran Bingham
Provide simple clean icons from https://feathericons.com/ (https://github.com/feathericons/feather) These are provided under the MIT license. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> * * Python bindings - Enumerations */ #include <libcamera/libcamera.h> #include <pybind11/smart_holder.h> namespace py = pybind11; using namespace libcamera; void init_pyenums(py::module &m) { py::enum_<StreamRole>(m, "StreamRole") .value("StillCapture", StreamRole::StillCapture) .value("Raw", StreamRole::Raw) .value("VideoRecording", StreamRole::VideoRecording) .value("Viewfinder", StreamRole::Viewfinder); py::enum_<ControlType>(m, "ControlType") .value("None", ControlType::ControlTypeNone) .value("Bool", ControlType::ControlTypeBool) .value("Byte", ControlType::ControlTypeByte) .value("Integer32", ControlType::ControlTypeInteger32) .value("Integer64", ControlType::ControlTypeInteger64) .value("Float", ControlType::ControlTypeFloat) .value("String", ControlType::ControlTypeString) .value("Rectangle", ControlType::ControlTypeRectangle) .value("Size", ControlType::ControlTypeSize); }