preparatory cosmetics for Rescaler code fix and clean-up

Change-Id: I1278837c8d7813192e8099d6fceaede75f38755b
This commit is contained in:
Pascal Massimino
2015-08-19 04:33:18 +00:00
committed by James Zern
parent 77fb41c2f1
commit 7b83adbee6
2 changed files with 14 additions and 8 deletions

View File

@ -26,13 +26,13 @@ extern "C" {
typedef struct WebPRescaler WebPRescaler;
struct WebPRescaler {
int x_expand; // true if we're expanding in the x direction
int y_expand; // true if we're expanding in the y direction
int num_channels; // bytes to jump between pixels
int fy_scale, fx_scale; // fixed-point scaling factor
int64_t fxy_scale; // ''
// we need hpel-precise add/sub increments, for the downsampled U/V planes.
int y_accum; // vertical accumulator
int y_add, y_sub; // vertical increments (add ~= src, sub ~= dst)
int x_add, x_sub; // horizontal increments (add ~= src, sub ~= dst)
int y_add, y_sub; // vertical increments
int x_add, x_sub; // horizontal increments
int src_width, src_height; // source dimensions
int dst_width, dst_height; // destination dimensions
uint8_t* dst;