#include <IImageShiftUtils.h>
|
| enum | { kDefaultIID = IID_IIMAGESHIFTUTILS } |
| |
IImageShiftUtils is a utility class used to shift a row of image data a specified number of bits to the left or right. i.e. Utils<IImageShiftUtils>()->ShiftImageRowLeft( ... ) ;
| virtual void IImageShiftUtils::ShiftImageRowLeft | ( | uint16 | shiftAmount, | | | uint32 | bufLen, | | | uint8 * | inBuffer, | | | uint8 * | overflowByte | | ) | | |
| pure virtual |
Shift the image row to the left shiftAmount bits. Put the overflow in overflowByte (up to 8 bits of overflow, the extra falls off the edge)
- Parameters
| shiftAmount | - IN: The number of bits by which to shift the entire row to the left. |
| bufLen | - IN: The number of bytes in the inBuffer |
| inBuffer | - IN/OUT: A pointer to the buffer containing the image data to shift. |
| overflowByte | - OUT: pointer to a byte which will contain the overflow data. |
| virtual void IImageShiftUtils::ShiftImageRowRight | ( | uint16 | shiftAmount, | | | uint32 | bufLen, | | | uint8 * | inBuffer, | | | uint8 * | overflowByte | | ) | | |
| pure virtual |
Shift the image row to the right shiftAmount bits. Put the overflow in overflowByte (up to 8 bits of overflow, the extra falls off the edge)
- Parameters
| shiftAmount | - IN: The number of bits by which to shift the entire row to the right. |
| bufLen | - IN: The number of bytes in the inBuffer |
| inBuffer | - IN/OUT: A pointer to the buffer containing the image data to shift. |
| overflowByte | - OUT: pointer to a byte which will contain the overflow data. |