• Home
  • Raw
  • Download

Lines Matching refs:rescaler

548   const uint64_t memory_size = sizeof(*dec->rescaler) +  in AllocateAndInitRescaler()
559 dec->rescaler = (WebPRescaler*)memory; in AllocateAndInitRescaler()
560 memory += sizeof(*dec->rescaler); in AllocateAndInitRescaler()
565 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data, in AllocateAndInitRescaler()
577 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, in Export() argument
579 uint32_t* const src = (uint32_t*)rescaler->dst; in Export()
580 const int dst_width = rescaler->dst_width; in Export()
582 while (WebPRescalerHasPendingOutput(rescaler)) { in Export()
584 WebPRescalerExportRow(rescaler); in Export()
603 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left); in EmitRescaledRowsRGBA()
607 dec->rescaler->src_width, needed_lines, 0); in EmitRescaledRowsRGBA()
609 WebPRescalerImport(dec->rescaler, lines_left, row_in, in_stride); in EmitRescaledRowsRGBA()
612 num_lines_out += Export(dec->rescaler, colorspace, out_stride, row_out); in EmitRescaledRowsRGBA()
664 WebPRescaler* const rescaler = dec->rescaler; in ExportYUVA() local
665 uint32_t* const src = (uint32_t*)rescaler->dst; in ExportYUVA()
666 const int dst_width = rescaler->dst_width; in ExportYUVA()
668 while (WebPRescalerHasPendingOutput(rescaler)) { in ExportYUVA()
669 WebPRescalerExportRow(rescaler); in ExportYUVA()
684 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left); in EmitRescaledRowsYUVA()
686 WebPMultARGBRows(in, in_stride, dec->rescaler->src_width, needed_lines, 0); in EmitRescaledRowsYUVA()
688 WebPRescalerImport(dec->rescaler, lines_left, in, in_stride); in EmitRescaledRowsYUVA()