diff options
Diffstat (limited to 'common/rfb/PixelFormat.h')
-rw-r--r-- | common/rfb/PixelFormat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/rfb/PixelFormat.h b/common/rfb/PixelFormat.h index db129883..b18045f7 100644 --- a/common/rfb/PixelFormat.h +++ b/common/rfb/PixelFormat.h @@ -75,6 +75,14 @@ namespace rfb { void rgbFromBuffer(rdr::U8* dst, const rdr::U8* src, int w, int stride, int h) const; + Pixel pixelFromPixel(const PixelFormat &srcPF, Pixel src) const; + + void bufferFromBuffer(rdr::U8* dst, const PixelFormat &srcPF, + const rdr::U8* src, int pixels) const; + void bufferFromBuffer(rdr::U8* dst, const PixelFormat &srcPF, + const rdr::U8* src, int w, int h, + int dstStride, int srcStride) const; + void print(char* str, int len) const; bool parse(const char* str); |