summaryrefslogtreecommitdiff
path: root/include/android/imagedecoder.h
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-01-12 12:59:21 -0500
committer Leon Scroggins III <scroggo@google.com> 2021-01-13 12:00:01 -0500
commitec2cbe34d742e13e06612ce788bfd3bd3e153336 (patch)
tree7f22614b19cb7fdffc25dcbbc727bf13248de01b /include/android/imagedecoder.h
parentb2ee00d9caf9531ffe0fdcd66f82db18e4d46601 (diff)
AImageDecoder: Hide support for animated HEIF
Bug: 160984428 Bug: 170672785 Test: none The system currently requires decoding the pixels of the frame of an HEIF/AVIF animated image before the actual duration of that frame can be retrieved. Rather than handling this (likely temporary) limitation by - documenting it - providing extra APIs - limiting other formats in the same way remove documentation specifying that animated HEIF is supported. Developers are likely to be more interested in the other formats (GIF, WebP) anyway. If they do attempt to animate an HEIF file, they will still see the default duration specified for the sequence. Change-Id: I5b97aeddee1311b694d73ac67b6157032d9ad745
Diffstat (limited to 'include/android/imagedecoder.h')
-rw-r--r--include/android/imagedecoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/android/imagedecoder.h b/include/android/imagedecoder.h
index b5f3b10650..d534554784 100644
--- a/include/android/imagedecoder.h
+++ b/include/android/imagedecoder.h
@@ -583,7 +583,7 @@ size_t AImageDecoder_getMinimumStride(AImageDecoder* _Nonnull decoder) __INTRODU
* Available since API level 30.
*
* Starting in API level 31, it can be used to decode all of the frames of an
- * animated image (i.e. GIF, WebP, HEIF) using new APIs. Internally,
+ * animated image (i.e. GIF, WebP) using new APIs. Internally,
* AImageDecoder keeps track of its "current frame" - that is, the frame that
* will be decoded by a call to AImageDecoder_decodeImage. At creation time, the
* current frame is always the first frame, and multiple calls to this method