Lines Matching refs:nShift
477 for( long nX = 0L, nShift = 8L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
479 if( !nShift ) in ImplReadDIBBits()
481 nShift = 8L, in ImplReadDIBBits()
485 rAcc.SetPixelIndex( nY, nX, (cTmp >> --nShift) & 1); in ImplReadDIBBits()
501 for( long nX = 0L, nShift = 2L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
503 if( !nShift ) in ImplReadDIBBits()
505 nShift = 2UL, in ImplReadDIBBits()
509 rAcc.SetPixelIndex( nY, nX, (cTmp >> ( --nShift << 2UL ) ) & 0x0f); in ImplReadDIBBits()
1053 for( long nX = 0L, nShift = 8L; nX < nWidth; nX++ ) in ImplWriteDIBBits() local
1055 if( !nShift ) in ImplWriteDIBBits()
1057 nShift = 8L; in ImplWriteDIBBits()
1062 cTmp |= rAcc.GetPixelIndex( nY, nX ) << --nShift; in ImplWriteDIBBits()
1078 for( long nX = 0L, nShift = 2L; nX < nWidth; nX++ ) in ImplWriteDIBBits() local
1080 if( !nShift ) in ImplWriteDIBBits()
1082 nShift = 2L; in ImplWriteDIBBits()
1087 cTmp |= rAcc.GetPixelIndex( nY, nX ) << ( --nShift << 2L ); in ImplWriteDIBBits()