![]() |
TISP User Guide
|
Provides node-level APIs for the DSPLIB_matTrans kernel from DSPLIB.
| T | : Supports float and double |
| dmaDir | : Supports TISP::NO_DMA, TISP::DMA_IN, TISP::DMA_OUT, and TISP::DMA_IN_OUT |
Definition at line 23 of file TISP_matTrans.hpp.
Inherits TISP::virtualOp.
Public Member Functions | |
| matTrans (T *_pX, T *_pY, size_t _width, size_t _height, size_t _inPitch, size_t _outPitch) | |
| Creates a DSPLIB_matTrans node. More... | |
| void | exec () |
| [DSPLIB_matTrans constructor] More... | |
| ~matTrans () | |
Public Member Functions inherited from TISP::virtualOp | |
| virtual | ~virtualOp () |
Private Attributes | |
| T * | pX |
| T * | pY |
| void * | handle |
| size_t | pingPongOffsetIn = 0 |
| size_t | pingPongOffsetOut = 0 |
| bool | pingPongFlagIn = 0 |
| bool | pingPongFlagOut = 0 |
| matTrans::matTrans | ( | T * | _pX, |
| T * | _pY, | ||
| size_t | _width, | ||
| size_t | _height, | ||
| size_t | _inPitch, | ||
| size_t | _outPitch | ||
| ) |
Creates a DSPLIB_matTrans node.
[DSPLIB_matTrans constructor]
| [in] | *_pX | : Pointer to input matrix; initializes pX |
| [out] | *_pY | : Pointer to output matrix; initializes pY |
| [in] | _width | : Width of input matrix |
| [in] | _height | : Height of input matrix |
| [in] | _inPitch | : Pitch of input matrix |
| [in] | _outPitch | : Pitch of output matrix |
Definition at line 10 of file TISP_matTrans.cpp.
|
inline |
Definition at line 51 of file TISP_matTrans.hpp.
|
virtual |
[DSPLIB_matTrans constructor]
Implements TISP::virtualOp.
Definition at line 57 of file TISP_matTrans.cpp.
|
private |
Pointer to address of input vector
Definition at line 25 of file TISP_matTrans.hpp.
|
private |
Pointer to address of result vector
Definition at line 26 of file TISP_matTrans.hpp.
|
private |
handle required by DSPLIB_addConstant kernel (stores SE/SA params for the kernel)
Definition at line 28 of file TISP_matTrans.hpp.
|
private |
Calculate input pingPing offset
Definition at line 30 of file TISP_matTrans.hpp.
|
private |
Calculate output pingPing offset
Definition at line 31 of file TISP_matTrans.hpp.
|
private |
Flag to pingPong input ptr; set based on dmaDir parameter
Definition at line 33 of file TISP_matTrans.hpp.
|
private |
Flag to pingPong output ptr; set based on dmaDir parameter
Definition at line 34 of file TISP_matTrans.hpp.