Lines Matching defs:rescaler
395 const uint64_t memory_size = sizeof(*dec->rescaler) +
406 dec->rescaler = (WebPRescaler*)memory;
407 memory += sizeof(*dec->rescaler);
412 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data,
422 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace,
424 uint32_t* const src = (uint32_t*)rescaler->dst;
425 const int dst_width = rescaler->dst_width;
427 while (WebPRescalerHasPendingOutput(rescaler)) {
429 WebPRescalerExportRow(rescaler, 0);
448 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left);
451 dec->rescaler->src_width, needed_lines, 0);
452 WebPRescalerImport(dec->rescaler, lines_left, row_in, in_stride);
454 num_lines_out += Export(dec->rescaler, colorspace, out_stride, row_out);
542 WebPRescaler* const rescaler = dec->rescaler;
543 uint32_t* const src = (uint32_t*)rescaler->dst;
544 const int dst_width = rescaler->dst_width;
546 while (WebPRescalerHasPendingOutput(rescaler)) {
547 WebPRescalerExportRow(rescaler, 0);
562 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left);
563 WebPMultARGBRows(in, in_stride, dec->rescaler->src_width, needed_lines, 0);
564 WebPRescalerImport(dec->rescaler, lines_left, in, in_stride);