summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/pixelformats.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libcamera/pixelformats.h b/include/libcamera/pixelformats.h
index 9ce6f7f0..89966e5e 100644
--- a/include/libcamera/pixelformats.h
+++ b/include/libcamera/pixelformats.h
@@ -19,7 +19,7 @@ class PixelFormat
{
public:
PixelFormat();
- explicit PixelFormat(uint32_t fourcc, const std::set<uint64_t> &modifiers = {});
+ explicit PixelFormat(uint32_t fourcc, uint64_t modifier = 0);
bool operator==(const PixelFormat &other) const;
bool operator!=(const PixelFormat &other) const { return !(*this == other); }
@@ -29,13 +29,13 @@ public:
operator uint32_t() const { return fourcc_; }
uint32_t fourcc() const { return fourcc_; }
- const std::set<uint64_t> &modifiers() const { return modifiers_; }
+ uint64_t modifier() const { return modifier_; }
std::string toString() const;
private:
uint32_t fourcc_;
- std::set<uint64_t> modifiers_;
+ uint64_t modifier_;
};
} /* namespace libcamera */