Lines Matching full:rescaler
49 // Initialize a rescaler given scratch area 'work' and dimensions of src & dst.
50 void WebPRescalerInit(WebPRescaler* const rescaler,
67 int WebPRescaleNeededLines(const WebPRescaler* const rescaler,
72 int WebPRescalerImport(WebPRescaler* const rescaler, int num_rows,
76 int WebPRescalerExport(WebPRescaler* const rescaler);
80 int WebPRescalerInputDone(const WebPRescaler* const rescaler) {
81 return (rescaler->src_y >= rescaler->src_height);
85 int WebPRescalerOutputDone(const WebPRescaler* const rescaler) {
86 return (rescaler->dst_y >= rescaler->dst_height);
91 int WebPRescalerHasPendingOutput(const WebPRescaler* const rescaler) {
92 return !WebPRescalerOutputDone(rescaler) && (rescaler->y_accum <= 0);