2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef QUICKPUT_P_INCLUDED
|
|
|
|
#define QUICKPUT_P_INCLUDED
|
|
|
|
|
|
|
|
#include "trop.h"
|
|
|
|
|
|
|
|
void quickPut(const TRasterP &dn, const TRasterP &up,
|
|
|
|
const TAffine &aff, TRop::ResampleFilterType filterType,
|
|
|
|
const TPixel32 &colorScale = TPixel32::Black, bool doPremultiply = false, bool whiteTransp = false, bool firstColumn = false,
|
|
|
|
bool doRasterDarkenBlendedView = false);
|
|
|
|
|
|
|
|
void quickResample(const TRasterP &dn, const TRasterP &up,
|
|
|
|
const TAffine &aff, TRop::ResampleFilterType filterType);
|
|
|
|
|
|
|
|
void quickPutCmapped(const TRasterP &out,
|
|
|
|
const TRasterCM32P &up, const TPaletteP &plt,
|
|
|
|
const TAffine &aff);
|
|
|
|
|
|
|
|
#ifdef __LP64__
|
|
|
|
void quickResample_optimized(const TRasterP &dn, const TRasterP &up,
|
|
|
|
const TAffine &aff,
|
|
|
|
TRop::ResampleFilterType filterType);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|