Split out video targets from //sdk/android:base_java.
Bug: webrtc:9048 Change-Id: Icda0fabf41610f99254d244e0b11d321eee345f7 Reviewed-on: https://webrtc-review.googlesource.com/65120 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22752}
This commit is contained in:
committed by
Commit Bot
parent
259a497632
commit
1641ca3dd3
@ -183,6 +183,8 @@ public class VideoFrame {
|
||||
buffer.release();
|
||||
}
|
||||
|
||||
// TODO(sakal): This file should be strictly an interface. This method should be moved somewhere
|
||||
// else.
|
||||
public static VideoFrame.Buffer cropAndScaleI420(final I420Buffer buffer, int cropX, int cropY,
|
||||
int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) {
|
||||
if (cropWidth == scaleWidth && cropHeight == scaleHeight) {
|
||||
|
||||
Reference in New Issue
Block a user