Lines Matching refs:rescaler
545 const uint64_t memory_size = sizeof(*dec->rescaler) + in AllocateAndInitRescaler()
556 dec->rescaler = (WebPRescaler*)memory; in AllocateAndInitRescaler()
557 memory += sizeof(*dec->rescaler); in AllocateAndInitRescaler()
562 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data, in AllocateAndInitRescaler()
574 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, in Export() argument
576 uint32_t* const src = (uint32_t*)rescaler->dst; in Export()
577 const int dst_width = rescaler->dst_width; in Export()
579 while (WebPRescalerHasPendingOutput(rescaler)) { in Export()
581 WebPRescalerExportRow(rescaler); in Export()
600 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left); in EmitRescaledRowsRGBA()
604 dec->rescaler->src_width, needed_lines, 0); in EmitRescaledRowsRGBA()
606 WebPRescalerImport(dec->rescaler, lines_left, row_in, in_stride); in EmitRescaledRowsRGBA()
609 num_lines_out += Export(dec->rescaler, colorspace, out_stride, row_out); in EmitRescaledRowsRGBA()
661 WebPRescaler* const rescaler = dec->rescaler; in ExportYUVA() local
662 uint32_t* const src = (uint32_t*)rescaler->dst; in ExportYUVA()
663 const int dst_width = rescaler->dst_width; in ExportYUVA()
665 while (WebPRescalerHasPendingOutput(rescaler)) { in ExportYUVA()
666 WebPRescalerExportRow(rescaler); in ExportYUVA()
681 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left); in EmitRescaledRowsYUVA()
683 WebPMultARGBRows(in, in_stride, dec->rescaler->src_width, needed_lines, 0); in EmitRescaledRowsYUVA()
685 WebPRescalerImport(dec->rescaler, lines_left, in, in_stride); in EmitRescaledRowsYUVA()