Index: talk/app/webrtc/java/jni/native_handle_impl.h |
diff --git a/talk/app/webrtc/java/jni/native_handle_impl.h b/talk/app/webrtc/java/jni/native_handle_impl.h |
index 7b657d4cc50e1502672831326cedfa20296dd180..911a3c4fb690b81c1f395501c4f74824a695ed09 100644 |
--- a/talk/app/webrtc/java/jni/native_handle_impl.h |
+++ b/talk/app/webrtc/java/jni/native_handle_impl.h |
@@ -54,6 +54,12 @@ class AndroidTextureBuffer : public webrtc::NativeHandleBuffer { |
~AndroidTextureBuffer(); |
rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override; |
+ rtc::scoped_refptr<AndroidTextureBuffer> CropAndScale( |
+ int cropped_input_width, |
+ int cropped_input_height, |
+ int dst_widht, |
+ int dst_height); |
+ |
private: |
NativeHandleImpl native_handle_; |
rtc::Callback0<void> no_longer_used_cb_; |