Home
last modified time | relevance | path

Searched refs:x_add (Results 1 – 4 of 4) sorted by relevance

/external/webp/src/utils/
Drescaler.c29 int dst_stride, int num_channels, int x_add, int x_sub, in WebPRescalerInit() argument
40 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add - x_sub; in WebPRescalerInit()
41 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; in WebPRescalerInit()
49 ((int64_t)dst_height << RFIX) / (x_add * src_height); in WebPRescalerInit()
64 accum += wrk->x_add; in WebPRescalerImportRow()
85 accum += wrk->x_add; in WebPRescalerImportRow()
87 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRow()
Drescaler.h32 int x_add, x_sub; // horizontal increments (add ~= src, sub ~= dst) member
45 int x_add, int x_sub,
/external/chromium_org/third_party/libwebp/utils/
Drescaler.c29 int dst_stride, int num_channels, int x_add, int x_sub, in WebPRescalerInit() argument
40 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add - x_sub; in WebPRescalerInit()
41 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; in WebPRescalerInit()
49 ((int64_t)dst_height << RFIX) / (x_add * src_height); in WebPRescalerInit()
64 accum += wrk->x_add; in WebPRescalerImportRow()
85 accum += wrk->x_add; in WebPRescalerImportRow()
87 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRow()
Drescaler.h32 int x_add, x_sub; // horizontal increments (add ~= src, sub ~= dst) member
45 int x_add, int x_sub,