Fix CopyTileWithPrediction()

so that it uses original values of left, top etc for prediction rather than the
predicted values of the same. Also, do some renaming in the same to make it
more readable.

Change-Id: I2fe94e35a6700bd437f5c601e2af12323bf32445
This commit is contained in:
Urvang Joshi
2012-04-13 07:01:11 +00:00
committed by James Zern
parent 84547f540c
commit b2f99465a7
4 changed files with 57 additions and 40 deletions

View File

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