add a 'last_y' field to WebPDecParams

this allows to keep an exact track of the last displayable pixel row

Change-Id: I590306735a82b9249e7bc9fe64eeb3e5bea3376b
This commit is contained in:
Pascal Massimino
2011-03-23 17:24:31 -07:00
parent 2654c3dadc
commit b2c3575c8f
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,7 @@ typedef struct {
int u_stride;
int v_stride;
WEBP_CSP_MODE mode;
int last_y; // coordinate of the line that was last output
} WebPDecParams;
// If a RIFF container is detected, validate it and skip over it. Returns