summaryrefslogtreecommitdiff
path: root/src/base/vnc/convert.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/vnc/convert.hh')
-rw-r--r--src/base/vnc/convert.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/vnc/convert.hh b/src/base/vnc/convert.hh
index d6c4ea18f..592076cbf 100644
--- a/src/base/vnc/convert.hh
+++ b/src/base/vnc/convert.hh
@@ -134,6 +134,13 @@ class VideoConvert
uint8_t* bgr8888rgb8888(const uint8_t *fb) const;
/**
+ * Convert a bgr888 input to rgb8888.
+ * @param fb the data to convert
+ * @return converted data
+ */
+ uint8_t* bgr888rgb8888(const uint8_t *fb) const;
+
+ /**
* Convert a bgr565 or rgb565 input to rgb8888.
* @param fb the data to convert
* @param bgr true if the input data is bgr565