Change channel order
MT, SSE2, Family10h
FwStatus | fwiSwapChannels_8u_C3R | ( | const Fw8u * pSrc, int srcStep, Fw8u * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_8u_AC4R | ( | const Fw8u * pSrc, int srcStep, Fw8u * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_16u_C3R | ( | const Fw16u * pSrc, int srcStep, Fw16u * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_16u_AC4R | ( | const Fw16u * pSrc, int srcStep, Fw16u * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_32s_C3R | ( | const Fw32s * pSrc, int srcStep, Fw32s * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_32s_AC4R | ( | const Fw32s * pSrc, int srcStep, Fw32s * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_32f_C3R | ( | const Fw32f * pSrc, int srcStep, Fw32f * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_32f_AC4R | ( | const Fw32f * pSrc, int srcStep, Fw32f * pDst, int dstStep, FwiSize roiSize, const int dstOrder[3] ); | |
FwStatus | fwiSwapChannels_8u_C3IR | ( | Fw8u * pSrcDst, int srcDstStep, FwiSize roiSize, const int dstOrder[3] ); |
dstOrder[3] | Specifies destination buffer channel order. For example, dstOrder[1] = 0 indicates that source channel 0 is destination channel 1. | |
dstStep | Destination buffer step size (width of the buffer in bytes). | |
pDst | Pointer to a location in a destination buffer. | |
pSrc | Pointer to a location in a source buffer. | |
pSrcDst | Pointer to a location in a buffer that contains both the source and destination. | |
roiSize | Specifies the height and width of an ROI. | |
srcDstStep | Source and destination buffer step size in bytes (width of both buffers in bytes). | |
srcStep | Source buffer step size (width of the buffer in bytes). |
These functions step through an ROI in a source buffer, swap the source buffer channels as specified by the destination order, and write the channel data to the destination buffer.
For example, dstOrder[1] = 0 places channel 0 in the source buffer into channel 1 of the destination buffer.