summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-02-05 11:57:52 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-03-26 15:44:00 +0200
commit1936a703bf1a3b27db9bb4d503b861f6d1fa2e74 (patch)
tree32cd970cb30f072540b19bfedb4eccb6be590584 /kms++/src
parenta9e7ecab862183399c5947931f2bad69ecec393d (diff)
PixelFormats: clean fourcc management
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/dmabufframebuffer.cpp2
-rw-r--r--kms++/src/dumbframebuffer.cpp2
-rw-r--r--kms++/src/omap/omapframebuffer.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kms++/src/dmabufframebuffer.cpp b/kms++/src/dmabufframebuffer.cpp
index cb76f09..e5d06ed 100644
--- a/kms++/src/dmabufframebuffer.cpp
+++ b/kms++/src/dmabufframebuffer.cpp
@@ -17,7 +17,7 @@ namespace kms
{
DmabufFramebuffer::DmabufFramebuffer(Card& card, uint32_t width, uint32_t height, const string& format,
vector<int> fds, vector<uint32_t> pitches, vector<uint32_t> offsets, vector<uint64_t> modifiers)
- : DmabufFramebuffer(card, width, height, FourCCToPixelFormat(format), fds, pitches, offsets, modifiers)
+ : DmabufFramebuffer(card, width, height, fourcc_str_to_pixel_format(format), fds, pitches, offsets, modifiers)
{
}
diff --git a/kms++/src/dumbframebuffer.cpp b/kms++/src/dumbframebuffer.cpp
index 28039b6..bdc584e 100644
--- a/kms++/src/dumbframebuffer.cpp
+++ b/kms++/src/dumbframebuffer.cpp
@@ -20,7 +20,7 @@ using namespace std;
namespace kms
{
DumbFramebuffer::DumbFramebuffer(Card& card, uint32_t width, uint32_t height, const string& fourcc)
- : DumbFramebuffer(card, width, height, FourCCToPixelFormat(fourcc))
+ : DumbFramebuffer(card, width, height, fourcc_str_to_pixel_format(fourcc))
{
}
diff --git a/kms++/src/omap/omapframebuffer.cpp b/kms++/src/omap/omapframebuffer.cpp
index 2efe1ec..35852bf 100644
--- a/kms++/src/omap/omapframebuffer.cpp
+++ b/kms++/src/omap/omapframebuffer.cpp
@@ -26,7 +26,7 @@ using namespace std;
namespace kms
{
OmapFramebuffer::OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, const string& fourcc, Flags flags)
- : OmapFramebuffer(card, width, height, FourCCToPixelFormat(fourcc), flags)
+ : OmapFramebuffer(card, width, height, fourcc_str_to_pixel_format(fourcc), flags)
{
}