Document DecodeFrameCount() more thoroughly
Document what kind of image decoder must override DecodeFrameCount(). Document what DecodeFrameCount() should return on failure. Document the two options for the return value: an increasing frame count as frames are received and parsed, or the total frame count in the image header (if available). Bug: 1148577 Change-Id: I2f099ccfb2c901aa415ed403d211b6bf29a8654f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544081 Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by:Peter Kasting <pkasting@chromium.org> Reviewed-by:
Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#828409}
Showing
Please register or sign in to comment