Lines Matching refs:PIXBYTE
39 typedef unsigned char PIXBYTE; typedef
44 BasePixelPtr( PIXBYTE* p = NULL ) : mpPixel( p ) {} in BasePixelPtr()
45 void SetRawPtr( PIXBYTE* pRawPtr ) { mpPixel = pRawPtr; } in SetRawPtr()
46 PIXBYTE* GetRawPtr( void ) const { return mpPixel; } in GetRawPtr()
51 PIXBYTE* mpPixel;
58 PIXBYTE GetRed() const;
59 PIXBYTE GetGreen() const;
60 PIXBYTE GetBlue() const;
61 PIXBYTE GetAlpha() const;
63 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const;
64 void SetAlpha( PIXBYTE a ) const;
77 PIXBYTE GetRed() const { return mpPixel[0]; } in GetRed()
78 PIXBYTE GetGreen() const { return mpPixel[1]; } in GetGreen()
79 PIXBYTE GetBlue() const { return mpPixel[2]; } in GetBlue()
80 PIXBYTE GetAlpha() const { return 0; } in GetAlpha()
81 void SetAlpha( PIXBYTE ) const {} in SetAlpha()
83 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
97 PIXBYTE GetRed() const { return mpPixel[2]; } in GetRed()
98 PIXBYTE GetGreen() const { return mpPixel[1]; } in GetGreen()
99 PIXBYTE GetBlue() const { return mpPixel[0]; } in GetBlue()
100 PIXBYTE GetAlpha() const { return 0; } in GetAlpha()
101 void SetAlpha( PIXBYTE ) const {} in SetAlpha()
103 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
117 PIXBYTE GetRed() const { return mpPixel[1]; } in GetRed()
118 PIXBYTE GetGreen() const { return mpPixel[2]; } in GetGreen()
119 PIXBYTE GetBlue() const { return mpPixel[3]; } in GetBlue()
120 PIXBYTE GetAlpha() const { return mpPixel[0]; } in GetAlpha()
121 void SetAlpha( PIXBYTE a ) const { mpPixel[0] = a; } in SetAlpha()
123 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
137 PIXBYTE GetRed() const { return mpPixel[3]; } in GetRed()
138 PIXBYTE GetGreen() const { return mpPixel[2]; } in GetGreen()
139 PIXBYTE GetBlue() const { return mpPixel[1]; } in GetBlue()
140 PIXBYTE GetAlpha() const { return mpPixel[0]; } in GetAlpha()
141 void SetAlpha( PIXBYTE a ) const { mpPixel[0] = a; } in SetAlpha()
143 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
157 PIXBYTE GetRed() const { return mpPixel[0]; } in GetRed()
158 PIXBYTE GetGreen() const { return mpPixel[1]; } in GetGreen()
159 PIXBYTE GetBlue() const { return mpPixel[2]; } in GetBlue()
160 PIXBYTE GetAlpha() const { return mpPixel[3]; } in GetAlpha()
161 void SetAlpha( PIXBYTE a ) const{ mpPixel[3] = a; } in SetAlpha()
163 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
177 PIXBYTE GetRed() const { return mpPixel[2]; } in GetRed()
178 PIXBYTE GetGreen() const { return mpPixel[1]; } in GetGreen()
179 PIXBYTE GetBlue() const { return mpPixel[0]; } in GetBlue()
180 PIXBYTE GetAlpha() const { return mpPixel[3]; } in GetAlpha()
181 void SetAlpha( PIXBYTE a ) const{ mpPixel[3] = a; } in SetAlpha()
183 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
198 PIXBYTE GetRed() const { return (mpPixel[0] & 0xF8U); } in GetRed()
199 PIXBYTE GetGreen() const { return (mpPixel[0]<<5U) | ((mpPixel[1]>>3U)&28U); } in GetGreen()
200 PIXBYTE GetBlue() const { return (mpPixel[1]<<3U); } in GetBlue()
201 PIXBYTE GetAlpha() const { return 0; } in GetAlpha()
202 void SetAlpha( PIXBYTE ) const {} in SetAlpha()
204 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
218 PIXBYTE GetRed() const { return (mpPixel[1] & 0xF8U); } in GetRed()
219 PIXBYTE GetGreen() const { return (mpPixel[1]<<5U) | ((mpPixel[0]>>3U)&28U); } in GetGreen()
220 PIXBYTE GetBlue() const { return (mpPixel[0]<<3U); } in GetBlue()
221 PIXBYTE GetAlpha() const { return 0; } in GetAlpha()
222 void SetAlpha( PIXBYTE ) const {} in SetAlpha()
224 void SetColor( PIXBYTE r, PIXBYTE g, PIXBYTE b ) const in SetColor()
238 PIXBYTE GetAlpha() const { return mpPixel[0]; } in GetAlpha()
239 void SetAlpha( PIXBYTE a ) const { mpPixel[0] = a; } in SetAlpha()
240 void SetColor( PIXBYTE, PIXBYTE, PIXBYTE ) const {} in SetColor() argument
326 const PIXBYTE* pSrc = rSrc.GetRawPtr(); in ImplConvertPixel()
327 PIXBYTE* pDst = rDst.GetRawPtr(); in ImplConvertPixel()
375 rDst.SetColor( sal::static_int_cast<PIXBYTE>(nR), in ImplBlendPixels()
376 sal::static_int_cast<PIXBYTE>(nG), in ImplBlendPixels()
377 sal::static_int_cast<PIXBYTE>(nB) ); in ImplBlendPixels()
429 const PIXBYTE* pRawSrc = rSrcBuffer.mpBits; in ImplCopyImage()
430 PIXBYTE* pRawDst = rDstBuffer.mpBits; in ImplCopyImage()