mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 13:59:51 +02:00
alpha: preparatory cleanup
* make ALPHNew/Delete static * properly init ALPHDec::io_ * introduce AllocateAlphaPlane() and WebPDeallocateAlphaMemory() * reorganize VP8DecompressAlphaRows() but we're still allocate the full alpha-plane. Optim will come in another patch since it's tricky Change-Id: Ib6f190a40abb7926a71535b0ed67c39d0974e06a
This commit is contained in:
@ -40,11 +40,8 @@ struct ALPHDecoder {
|
||||
//------------------------------------------------------------------------------
|
||||
// internal functions. Not public.
|
||||
|
||||
// Allocates a new alpha decoder instance.
|
||||
ALPHDecoder* ALPHNew(void);
|
||||
|
||||
// Clears and deallocates an alpha decoder instance.
|
||||
void ALPHDelete(ALPHDecoder* const dec);
|
||||
// Deallocate memory associated to dec->alpha_plane_ decoding
|
||||
void WebPDeallocateAlphaMemory(VP8Decoder* const dec);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user