| Index: remoting/base/util.h
|
| diff --git a/remoting/base/util.h b/remoting/base/util.h
|
| index 3294ceebb03df9c3b66521106c14e0568a6a98f3..90215eb4b6b54dd70fe113f2d30e7275fb842740 100644
|
| --- a/remoting/base/util.h
|
| +++ b/remoting/base/util.h
|
| @@ -30,6 +30,10 @@ void CopyRGB32Rect(const uint8_t* source_buffer,
|
| const webrtc::DesktopRect& dest_buffer_rect,
|
| const webrtc::DesktopRect& dest_rect);
|
|
|
| +// Copy consecutive block of RGBA32 or BGRA32 image and meanwhile swaps the R
|
| +// and B channel. |length| should be multiple of 4.
|
| +void CopyAndSwapRB(const uint8_t* source, uint8_t* dest, int length);
|
| +
|
| // Replaces every occurrence of "\n" in a string by "\r\n".
|
| std::string ReplaceLfByCrLf(const std::string& in);
|
|
|
|
|