Lines Matching refs:p2
48 static void ImplRotate8_90( unsigned char* p1, const unsigned char* p2, in ImplRotate8_90() argument
51 for( int y = ymax; --y >= 0; p2 += dy ) in ImplRotate8_90()
53 for( int x = xmax; --x >= 0; p2 += dx ) in ImplRotate8_90()
54 *(p1++) = *p2; in ImplRotate8_90()
65 unsigned char* p2 = p1 + ymax * (xmax + nPad); in ImplRotate8_180() local
68 p2 -= nPad; in ImplRotate8_180()
71 unsigned char cTmp = *(--p2); in ImplRotate8_180()
72 *p2 = *p1; in ImplRotate8_180()
79 p2 -= nPad; in ImplRotate8_180()
80 while( p1 < p2 ) in ImplRotate8_180()
82 unsigned char cTmp = *(--p2); in ImplRotate8_180()
83 *p2 = *p1; in ImplRotate8_180()
91 static void ImplRotate1_90( unsigned char* p1, const unsigned char* p2, in ImplRotate1_90() argument
97 const unsigned char* p20 = p2; in ImplRotate1_90()
98 for( int x = xmax; --x >= 0; p2 += dx ) in ImplRotate1_90()
101 nTemp += nTemp + ((*p2 >> nShift) & 1); in ImplRotate1_90()
108 p2 = p20; in ImplRotate1_90()
123 p2 -= nDeltaShift; in ImplRotate1_90()
131 static void ImplRotate1_180( unsigned char* p1, const unsigned char* p2, in ImplRotate1_180() argument
134 --p2; in ImplRotate1_180()
137 p2 -= nPad; in ImplRotate1_180()
140 unsigned nInp = (0x100 + *p2) >> (-xmax & 7); in ImplRotate1_180()
152 nInp = 0x100 + *(--p2); in ImplRotate1_180()