/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2020, Google Inc. * * formats.h - Formats * * This file is auto-generated. Do not edit. */ #ifndef __LIBCAMERA_FORMATS_H__ #define __LIBCAMERA_FORMATS_H__ #include #include namespace libcamera { namespace formats { namespace { constexpr uint32_t __fourcc(char a, char b, char c, char d) { return (static_cast(a) << 0) | (static_cast(b) << 8) | (static_cast(c) << 16) | (static_cast(d) << 24); } constexpr uint64_t __mod(unsigned int vendor, unsigned int mod) { return (static_cast(vendor) << 56) | (static_cast(mod) << 0); } } /* namespace */ ${formats} } /* namespace formats */ } /* namespace libcamera */ #endif /* __LIBCAMERA_FORMATS_H__ */