dec: remove deprecated WebPINew()

Change-Id: I22ad1d297333f5ebc84456d142426a4e0e9a044b
This commit is contained in:
James Zern
2012-04-27 19:20:13 -07:00
parent a384689292
commit 02f27fbd3b
3 changed files with 14 additions and 17 deletions

6
README
View File

@@ -348,7 +348,11 @@ is stored into an instance of the WebPIDecoder object. This object can be
created with the purpose of decoding either RGB or Y'CbCr samples.
For instance:
WebPIDecoder* idec = WebPINew(MODE_BGR);
WebPDecBuffer buffer;
WebPInitDecBuffer(&buffer);
buffer.colorspace = MODE_BGR;
...
WebPIDecoder* idec = WebPINewDecoder(&buffer);
As data is made progressively available, this incremental-decoder object
can be used to decode the picture further. There are two (mutually exclusive)