• Wan-Teh Chang's avatar
    Roll src/third_party/libavif/src/ 1d32f88ab..0265cd7a1 (41 commits) · c0dc81e3
    Wan-Teh Chang authored
    There is an API change in this libavif update. avifDecoderParse() no
    longer takes the image data as input. Instead, an avifIO object needs to
    be associated with an avifDecoder, and the avifDecoder calls the read()
    method of the avifIO object to read image data incrementally. Eventually
    Chrome will use its custom avifIO implementation. For now just use the
    built-in avifIO object that reads from a memory buffer.
    
    https://chromium.googlesource.com/external/github.com/AOMediaCodec/libavif.git/+log/1d32f88ab33e..0265cd7a10d1
    
    $ git log 1d32f88ab..0265cd7a1 --date=short --no-merges --format='%ad %ae %s'
    2020-10-08 jdrago Add some clarifying comments to the avifDecodeSample struct
    2020-10-08 wtc Declare the sizeHint field of avifIO as uint64_t
    2020-10-08 wtc avifDecoderReadItem callers can rely on contract
    2020-10-08 wtc Change prototypes of functions for memory avifIO
    2020-10-08 wtc More cleanup for avifDecoderReadItem()
    2020-10-08 wtc Compare frameIndex with INT_MAX before int cast
    2020-09-23 wtc Check for avifImageRGBToYUV failures
    2020-10-07 wtc Use CHECKERR in avifDecoderFindMetadata()
    2020-10-08 wtc Rewrite a loop as a do-while loop
    2020-10-08 wtc Miscellaneous comment fixes
    (...)
    2020-09-24 jdrago Reintroduce an important size check in avifROStreamReadBoxHeader()
    2020-09-23 wtc Fix GCC -Wclobbered warnings
    2020-09-23 derek.buitenhuis avifIO: Remove API functions that take FILE* arguments
    2020-09-22 jdrago avifdec: Error out properly when RGB conversion fails
    2020-09-22 dnovomesky Use new API in gdk-pixbuf loader
    2020-09-21 jdrago Mark avifIOCreateTestReader as static
    2020-09-21 jdrago avifenc: Allow the setting/overriding of XMP, Exif, and ICC profiles
    2020-09-21 jdrago Move Exif and XMP metadata (if present) to the front of the mdat for streaming considerations
    2020-09-21 jdrago Rename sizeLimit to sizeHint, it better matches the comment and conveys its optional nature
    2020-09-21 jdrago avifIO reader API
    
    Created with:
      roll-dep src/third_party/libavif/src
    R=dalecurtis@chromium.org,pkasting@chromium.org
    
    Bug: 1136922
    Change-Id: I53e9600ec3650aa59212483e3281c9765b935533
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462936Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
    Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Commit-Queue: Peter Kasting <pkasting@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#816390}
    c0dc81e3
DEPS 172 KB