Index: webrtc/modules/desktop_capture/desktop_frame.h |
diff --git a/webrtc/modules/desktop_capture/desktop_frame.h b/webrtc/modules/desktop_capture/desktop_frame.h |
index 632bcfc2e793ebf5cb4f5d6db36a082bf9dfde47..95c74c57fb6ada803e5485bf9f77c8e63d296026 100644 |
--- a/webrtc/modules/desktop_capture/desktop_frame.h |
+++ b/webrtc/modules/desktop_capture/desktop_frame.h |
@@ -68,6 +68,9 @@ class DesktopFrame { |
// A helper to return the data pointer of a frame at the specified position. |
uint8_t* GetFrameDataAtPos(const DesktopVector& pos) const; |
+ // A helper to return the position at the specified data pointer. |
+ DesktopVector GetPosAtFrameData(const uint8_t* const pos) const; |
Jamie
2016/08/26 22:29:09
You don't seem to be using this.
Hzj_jie
2016/08/29 21:57:28
Done.
|
+ |
protected: |
DesktopFrame(DesktopSize size, |
int stride, |