Lines Matching refs:nColors
264 const sal_uInt16 nColors = rAcc.GetPaletteEntryCount(); in ImplReadDIBPalette() local
265 const sal_uLong nPalSize = nColors * ( bQuad ? 4UL : 3UL ); in ImplReadDIBPalette()
272 for( sal_uInt16 i = 0; i < nColors; i++ ) in ImplReadDIBPalette()
666 sal_uInt16 nColors(0); in ImplReadDIBBody() local
675 nColors = (sal_uInt16)aHeader.nColsUsed; in ImplReadDIBBody()
679 nColors = ( 1 << aHeader.nBitCount ); in ImplReadDIBBody()
715 if(nColors) in ImplReadDIBBody()
717 pAcc->SetPaletteEntryCount(nColors); in ImplReadDIBBody()
826 const sal_uInt16 nColors = rAcc.GetPaletteEntryCount(); in ImplWriteDIBPalette() local
827 const sal_uLong nPalSize = nColors * 4UL; in ImplWriteDIBPalette()
832 for( sal_uInt16 i = 0; i < nColors; i++ ) in ImplWriteDIBPalette()