tahoma2d/toonz/sources/common/trop/quickputP.h

32 lines
1.2 KiB
C
Raw Normal View History

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"
2016-06-15 18:43:10 +12:00
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);
2016-03-19 06:57:51 +13:00
void quickPut(const TRasterP &dn, const TRasterP &up, const TAffine &aff,
TRop::ResampleFilterType filterType, const TPixel32 &colorScale,
bool doPremultiply, bool whiteTransp, bool firstColumn,
bool doRasterDarkenBlendedView);
2016-06-15 18:43:10 +12:00
void quickResample(const TRasterP &dn, const TRasterP &up, const TAffine &aff,
TRop::ResampleFilterType filterType);
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
void quickPutCmapped(const TRasterP &out, const TRasterCM32P &up,
const TPaletteP &plt, const TAffine &aff);
2016-03-19 06:57:51 +13:00
#ifdef __LP64__
void quickResample_optimized(const TRasterP &dn, const TRasterP &up,
2016-06-15 18:43:10 +12:00
const TAffine &aff,
TRop::ResampleFilterType filterType);
2016-03-19 06:57:51 +13:00
#endif
#endif