diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2025-02-05 11:57:52 +0200 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2025-03-26 15:44:00 +0200 |
| commit | 1936a703bf1a3b27db9bb4d503b861f6d1fa2e74 (patch) | |
| tree | 32cd970cb30f072540b19bfedb4eccb6be590584 /utils/kmsprint.cpp | |
| parent | a9e7ecab862183399c5947931f2bad69ecec393d (diff) | |
PixelFormats: clean fourcc management
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'utils/kmsprint.cpp')
| -rw-r--r-- | utils/kmsprint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp index c573c2e..919b50f 100644 --- a/utils/kmsprint.cpp +++ b/utils/kmsprint.cpp @@ -111,7 +111,7 @@ static string format_plane(Plane& p) (uint32_t)p.get_prop_value("CRTC_H")); } - string fmts = join<PixelFormat>(p.get_formats(), " ", [](PixelFormat fmt) { return PixelFormatToFourCC(fmt); }); + string fmts = join<PixelFormat>(p.get_formats(), " ", [](PixelFormat fmt) { return pixel_format_to_fourcc_str(fmt); }); str += fmt::format(" ({})", fmts); @@ -122,7 +122,7 @@ static string format_fb(Framebuffer& fb) { return fmt::format("FB {} {}x{} {}", fb.id(), fb.width(), fb.height(), - PixelFormatToFourCC(fb.format())); + pixel_format_to_fourcc_str(fb.format())); } static string format_property(const Property* prop, uint64_t val) |
