17#define PROMEKI_FOURCC(code) \
19 static_cast<PixelFormat::FourCC>(code[0]) | \
20 (static_cast<PixelFormat::FourCC>(code[1])) << 8 | \
21 (static_cast<PixelFormat::FourCC>(code[2])) << 16 | \
22 (static_cast<PixelFormat::FourCC>(code[3])) << 24 \
165 return d->id ==
o.d->
id;
170 return d->id !=
o.d->
id;
182 ID id()
const {
return d->id; }
204 return func ==
nullptr ? 0 : func(
s);
215 return func ==
nullptr ? 0 : func(
s);
246 const Data *d =
nullptr;
Raster image with pixel format, planes, and metadata.
Definition image.h:48
Dynamic array container wrapping std::vector.
Definition list.h:40
size_t size() const noexcept
Returns the number of elements in the list.
Definition list.h:301
T * data() noexcept
Returns a pointer to the underlying contiguous storage.
Definition list.h:286
Encoding-aware string class with copy-on-write semantics.
Definition string.h:35
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19