rescaler: harmonize function protos

Change-Id: I13b5f9add83c1225c82a650f3ef717582b057247
This commit is contained in:
James Zern 2015-09-19 22:57:25 -07:00
parent 9ba1894b9b
commit 1df1d0eedb

View File

@ -23,7 +23,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Row import // Row import
void WebPRescalerImportRowExpandC(WebPRescaler* wrk, const uint8_t* src) { void WebPRescalerImportRowExpandC(WebPRescaler* const wrk, const uint8_t* src) {
const int x_stride = wrk->num_channels; const int x_stride = wrk->num_channels;
const int x_out_max = wrk->dst_width * wrk->num_channels; const int x_out_max = wrk->dst_width * wrk->num_channels;
int channel; int channel;
@ -148,7 +148,7 @@ void WebPRescalerExportRowShrinkC(WebPRescaler* const wrk) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Main entry calls // Main entry calls
void WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* const src) { void WebPRescalerImportRow(WebPRescaler* const wrk, const uint8_t* src) {
assert(!WebPRescalerInputDone(wrk)); assert(!WebPRescalerInputDone(wrk));
if (!wrk->x_expand) { if (!wrk->x_expand) {
WebPRescalerImportRowShrink(wrk, src); WebPRescalerImportRowShrink(wrk, src);