mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
add support for ARGB -> YUVA conversion for lossless decoder
This was returning an (hard-to-explain) error before. (through WebPDecodeYUV() for instance). + rationalize the incremental API: -> add WebPINewYUVA -> deprecated WebPINewYUV -> add WebPIDecGetYUVA -> deprecated WebPIDecGetYUV + some NULL cosmetics Change-Id: I39a6bd6018a34294d898b29f6c40e2cf76f1037e
This commit is contained in:
committed by
James Zern
parent
33705ca093
commit
43b0d6107a
4
README
4
README
@ -405,12 +405,12 @@ The 'idec' object must always be released (even upon an error condition) by
|
||||
calling: WebPDelete(idec).
|
||||
|
||||
To retrieve partially decoded picture samples, one must use the corresponding
|
||||
method: WebPIDecGetRGB or WebPIDecGetYUV.
|
||||
method: WebPIDecGetRGB or WebPIDecGetYUVA.
|
||||
It will return the last displayable pixel row.
|
||||
|
||||
Lastly, note that decoding can also be performed into a pre-allocated pixel
|
||||
buffer. This buffer must be passed when creating a WebPIDecoder, calling
|
||||
WebPINewRGB() or WebPINewYUV().
|
||||
WebPINewRGB() or WebPINewYUVA().
|
||||
|
||||
Please have a look at the src/webp/decode.h header for further details.
|
||||
|
||||
|
Reference in New Issue
Block a user