diff options
author | Gabe Black <gabeblack@google.com> | 2014-11-17 01:45:42 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2014-11-17 01:45:42 -0800 |
commit | a08cfd797bb47ef2b3950971cdf2175ced1c33a3 (patch) | |
tree | fc7ac8cf4a706cc9e1ba1cb7b95341bc7a0a5330 /src/base/vnc/convert.hh | |
parent | aceeecb1925afff455d9355d3379d393993192ab (diff) | |
download | gem5-a08cfd797bb47ef2b3950971cdf2175ced1c33a3.tar.xz |
vnc: Add a conversion function for bgr888.
Diffstat (limited to 'src/base/vnc/convert.hh')
-rw-r--r-- | src/base/vnc/convert.hh | 7 |
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 |