diff options
Diffstat (limited to 'android/media/Image.java')
-rw-r--r-- | android/media/Image.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android/media/Image.java b/android/media/Image.java index 37c57854..9828275e 100644 --- a/android/media/Image.java +++ b/android/media/Image.java @@ -193,6 +193,13 @@ public abstract class Image implements AutoCloseable { public abstract int getTransform(); /** + * Get the scaling mode associated with this frame. + * @return The scaling mode that needs to be applied for this frame. + * @hide + */ + public abstract int getScalingMode(); + + /** * Get the {@link android.hardware.HardwareBuffer HardwareBuffer} handle of the input image * intended for GPU and/or hardware access. * <p> |