mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-15 21:39:59 +02:00
Add Alpha Encode support from WebPEncode.
Extend WebP Encode functionality to encode Alpha data and produce bit-stream (RIFF+VP8X+ALPH+VP8) corresponding to WebP-Alpha. Change-Id: I983b4cd97be94a86a8e6d03b3b9c728db851bf48
This commit is contained in:
@ -588,9 +588,6 @@ int VP8EncLoop(VP8Encoder* const enc) {
|
||||
ResetAfterSkip(&it);
|
||||
}
|
||||
#ifdef WEBP_EXPERIMENTAL_FEATURES
|
||||
if (enc->has_alpha_) {
|
||||
VP8EncCodeAlphaBlock(&it);
|
||||
}
|
||||
if (enc->use_layer_) {
|
||||
VP8EncCodeLayerBlock(&it);
|
||||
}
|
||||
|
Reference in New Issue
Block a user