Add back AndroidVideoBuffer::CropAndScale
Now compatible with the recently added interface method VideoFramebuffer::CropAndScale. Bug: webrtc:11976 Change-Id: I461cf2de1d73ca953fda0ecad84d216b8b7ac879 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/187493 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32391}
This commit is contained in:
@ -54,6 +54,7 @@ public class VideoFrame implements RefCounted {
|
||||
* Crops a region defined by |cropx|, |cropY|, |cropWidth| and |cropHeight|. Scales it to size
|
||||
* |scaleWidth| x |scaleHeight|.
|
||||
*/
|
||||
@CalledByNative("Buffer")
|
||||
Buffer cropAndScale(
|
||||
int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user