diff options
author | Lajos Molnar <lajos@google.com> | 2015-01-29 08:02:53 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-01-29 08:02:53 +0000 |
commit | df876a110c4b6d55b4a9df57621aa38ff06c6de8 (patch) | |
tree | a0c3ff70b6a365bc911f442c8d867a80892a7ac2 /media/java | |
parent | b3bae9dc1a649eb326d17c2035c0f567b797edf3 (diff) | |
parent | 2a8dc00eedeb2b8a9fa3560d8afa4cfd7c17d395 (diff) | |
download | frameworks_base-df876a110c4b6d55b4a9df57621aa38ff06c6de8.zip frameworks_base-df876a110c4b6d55b4a9df57621aa38ff06c6de8.tar.gz frameworks_base-df876a110c4b6d55b4a9df57621aa38ff06c6de8.tar.bz2 |
Merge "ImageReader: add support for compatible flexYUV buffers" into lmp-mr1-dev automerge: 8514766
automerge: 2a8dc00
* commit '2a8dc00eedeb2b8a9fa3560d8afa4cfd7c17d395':
ImageReader: add support for compatible flexYUV buffers
Diffstat (limited to 'media/java')
-rw-r--r-- | media/java/android/media/Image.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/java/android/media/Image.java b/media/java/android/media/Image.java index 0d6b91a..53ab264 100644 --- a/media/java/android/media/Image.java +++ b/media/java/android/media/Image.java @@ -214,6 +214,11 @@ public abstract class Image implements AutoCloseable { * the underlying data could be mapped as a pointer in JNI without doing * any copies with {@code GetDirectBufferAddress}.</p> * + * <p>For raw formats, each plane is only guaranteed to contain data + * up to the last pixel in the last row. In other words, the stride + * after the last row may not be mapped into the buffer. This is a + * necessary requirement for any interleaved format.</p> + * * @return the byte buffer containing the image data for this plane. */ public abstract ByteBuffer getBuffer(); |