Lines Matching refs:aPal
638 BitmapPalette aPal; in ImplConvertUp() local
639 … aNewBmp( GetSizePixel(), nBitCount, pReadAcc->HasPalette() ? &pReadAcc->GetPalette() : &aPal ); in ImplConvertUp()
652 aPal.SetEntryCount( 1 << nBitCount ); in ImplConvertUp()
655 aPal[ i ] = rOldPal[ i ]; in ImplConvertUp()
658 aPal[ aPal.GetEntryCount() - 1 ] = *pExtColor; in ImplConvertUp()
660 pWriteAcc->SetPalette( aPal ); in ImplConvertUp()
714 BitmapPalette aPal; in ImplConvertDown() local
715 Bitmap aNewBmp( GetSizePixel(), nBitCount, &aPal ); in ImplConvertDown()
725 InverseColorMap aColorMap( aPal = aOctree.GetPalette() ); in ImplConvertDown()
739 aPal.SetEntryCount( aPal.GetEntryCount() + 1 ); in ImplConvertDown()
740 aPal[ aPal.GetEntryCount() - 1 ] = *pExtColor; in ImplConvertDown()
744 if( aPal.GetEntryCount() < ( nCount - 1 ) ) in ImplConvertDown()
746 aPal.SetEntryCount( aPal.GetEntryCount() + 2 ); in ImplConvertDown()
747 aPal[ aPal.GetEntryCount() - 2 ] = Color( COL_BLACK ); in ImplConvertDown()
748 aPal[ aPal.GetEntryCount() - 1 ] = Color( COL_WHITE ); in ImplConvertDown()
751 pWriteAcc->SetPalette( aPal ); in ImplConvertDown()
3176 BitmapPalette aPal( pWAcc->GetPaletteEntryCount() ); in ImplReduceMedian() local
3177 ImplMedianCut( pColBuf, aPal, 0, 31, 0, 31, 0, 31, in ImplReduceMedian()
3181 InverseColorMap aMap( aPal ); in ImplReduceMedian()
3182 pWAcc->SetPalette( aPal ); in ImplReduceMedian()