Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef QUICKPUT_P_INCLUDED
Toshihiro Shimizu 890ddd
#define QUICKPUT_P_INCLUDED
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "trop.h"
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void quickPut(const TRasterP &dn, const TRasterP &up, const TAffine &aff,
Shinya Kitaoka 120a6e
              TRop::ResampleFilterType filterType,
Shinya Kitaoka 120a6e
              const TPixel32 &colorScale = TPixel32::Black,
Shinya Kitaoka 120a6e
              bool doPremultiply = false, bool whiteTransp = false,
Shinya Kitaoka 120a6e
              bool firstColumn = false, bool doRasterDarkenBlendedView = false);
Toshihiro Shimizu 890ddd
Campbell Barton 8c6c57
void quickPut(const TRasterP &dn, const TRasterP &up, const TAffine &aff,
Campbell Barton 8c6c57
              TRop::ResampleFilterType filterType, const TPixel32 &colorScale,
Campbell Barton 8c6c57
              bool doPremultiply, bool whiteTransp, bool firstColumn,
Campbell Barton 8c6c57
              bool doRasterDarkenBlendedView);
Campbell Barton 8c6c57
Shinya Kitaoka 120a6e
void quickResample(const TRasterP &dn, const TRasterP &up, const TAffine &aff,
Shinya Kitaoka 120a6e
                   TRop::ResampleFilterType filterType);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
void quickPutCmapped(const TRasterP &out, const TRasterCM32P &up,
Shinya Kitaoka 120a6e
                     const TPaletteP &plt, const TAffine &aff);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifdef __LP64__
Toshihiro Shimizu 890ddd
void quickResample_optimized(const TRasterP &dn, const TRasterP &up,
Shinya Kitaoka 120a6e
                             const TAffine &aff,
Shinya Kitaoka 120a6e
                             TRop::ResampleFilterType filterType);
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif