Fix prediction transform in lossless encoder.

(Keep one tile as a scratch buffer).

Change-Id: If112ada29bfd0bdc81b82e849a566b30dd331d2f
This commit is contained in:
Urvang Joshi
2012-04-17 08:29:05 +00:00
committed by James Zern
parent 36dabdadf8
commit 4f0c5caf67
3 changed files with 63 additions and 64 deletions

View File

@ -38,7 +38,7 @@ typedef struct {
WebPPicture* pic_; // input picture.
uint32_t* argb_; // Transformed argb image data.
uint32_t* argb_scratch_; // Scratch memory for current and top row.
uint32_t* argb_scratch_; // Scratch memory for one argb tile
// (used for prediction).
uint32_t* transform_data_; // Scratch memory for transform data.
int current_width_; // Corresponds to packed image width.