mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-06 03:52:54 +01:00
rescaler: harmonize function protos
Change-Id: I13b5f9add83c1225c82a650f3ef717582b057247
This commit is contained in:
parent
9ba1894b9b
commit
1df1d0eedb
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user