#include <pl2passscale.h>
Collaboration diagram for C2PassScale< DataClass >:
Public Types | |
typedef DataClass::_DataType | _DataType |
typedef DataClass::_RowType | _RowType |
Public Member Functions | |
C2PassScale (const PLContribDef &ContribDef, ProgressAndAbortCallBack callback=NULL) | |
virtual | ~C2PassScale () |
_RowType * | Scale (_RowType *pOrigImage, PLUINT uOrigWidth, PLUINT uOrigHeight, _RowType *pDstImage, PLUINT uNewWidth, PLUINT uNewHeight) |
Private Member Functions | |
LineContribType * | AllocContributions (PLUINT uLineLength, PLUINT uWindowSize) |
void | FreeContributions (LineContribType *p) |
LineContribType * | CalcContributions (PLUINT uLineSize, PLUINT uSrcSize, double dScale) |
void | ScaleRow (_RowType *pSrc, PLUINT uSrcWidth, _RowType *pRes, PLUINT uResWidth, PLUINT uRow, LineContribType *Contrib) |
void | HorizScale (_RowType *pSrc, PLUINT uSrcWidth, PLUINT uSrcHeight, _RowType *pDst, PLUINT uResWidth, PLUINT uResHeight) |
void | VertScale (_RowType *pSrc, PLUINT uSrcWidth, PLUINT uSrcHeight, _RowType *pDst, PLUINT uResWidth, PLUINT uResHeight) |
Private Attributes | |
ProgressAndAbortCallBack | m_Callback |
bool | m_bCanceled |
const PLContribDef & | m_ContribDef |
|
Definition at line 93 of file pl2passscale.h. Referenced by C2PassScale< DataClass >::HorizScale(), C2PassScale< DataClass >::ScaleRow(), and C2PassScale< DataClass >::VertScale(). |
|
Definition at line 94 of file pl2passscale.h. |
|
Definition at line 96 of file pl2passscale.h. |
|
Definition at line 101 of file pl2passscale.h. |
|
Definition at line 151 of file pl2passscale.h. References LineContribType::ContribRow, LineContribType::LineLength, PLUINT, res, ContributionType::Weights, and LineContribType::WindowSize. |
|
Definition at line 183 of file pl2passscale.h. References LineContribType::ContribRow, ContributionType::Left, max, min, PLASSERT, PLUINT, res, ContributionType::Right, and ContributionType::Weights. Referenced by C2PassScale< DataClass >::HorizScale(), and C2PassScale< DataClass >::VertScale(). |
|
Definition at line 169 of file pl2passscale.h. References LineContribType::ContribRow, LineContribType::LineLength, and ContributionType::Weights. Referenced by C2PassScale< DataClass >::HorizScale(), and C2PassScale< DataClass >::VertScale(). |
|
Here is the call graph for this function:
|
Referenced by PLFilterResizeHamming::Apply(), PLFilterResizeGaussian::Apply(), PLFilterResizeBox::Apply(), and PLFilterResizeBilinear::Apply(). |
|
Definition at line 256 of file pl2passscale.h. References C2PassScale< DataClass >::_DataType, LineContribType::ContribRow, ContributionType::Left, PLUINT, ContributionType::Right, and ContributionType::Weights. Referenced by C2PassScale< DataClass >::HorizScale(). |
|
Here is the call graph for this function:
|
Definition at line 114 of file pl2passscale.h. Referenced by C2PassScale< DataClass >::HorizScale(), and C2PassScale< DataClass >::VertScale(). |
|
Definition at line 113 of file pl2passscale.h. Referenced by C2PassScale< DataClass >::HorizScale(), and C2PassScale< DataClass >::VertScale(). |
|
Definition at line 146 of file pl2passscale.h. |