Home
last modified time | relevance | path

Searched refs:nPalCount (Results 1 – 7 of 7) sorted by relevance

/trunk/main/forms/source/component/
H A Dimgprod.cxx413 sal_uInt16 nPalCount = 0; in ImplInitConsumer() local
422 nPalCount = pBmpAcc->GetPaletteEntryCount(); in ImplInitConsumer()
424 if( nPalCount ) in ImplInitConsumer()
426 aRGBPal = ::com::sun::star::uno::Sequence< sal_Int32 >( nPalCount + 1 ); in ImplInitConsumer()
430 for( sal_uInt32 i = 0; i < nPalCount; i++, pTmp++ ) in ImplInitConsumer()
444 mnTransIndex = nPalCount; in ImplInitConsumer()
445 nPalCount++; in ImplInitConsumer()
/trunk/main/vcl/os2/source/gdi/
H A Dsalbmp.cxx576 const USHORT nPalCount = ImplGetDIBColorCount( mhDIB ); in AcquireBuffer() local
578 pBuffer->maPalette.SetEntryCount( nPalCount ); in AcquireBuffer()
580 if( nPalCount ) in AcquireBuffer()
581 … memcpy( pBuffer->maPalette.ImplGetColorBuffer(), pBI->argbColor, nPalCount * sizeof( RGB2 ) ); in AcquireBuffer()
583 pBuffer->mpBits = (sal_uInt8*) pBI + *(ULONG*) pBI + nPalCount * sizeof( RGB2 ); in AcquireBuffer()
/trunk/main/vcl/win/source/gdi/
H A Dsalbmp.cxx915 const sal_uInt16 nPalCount = ImplGetDIBColorCount( mhDIB ); in AcquireBuffer() local
917 pBuffer->maPalette.SetEntryCount( nPalCount ); in AcquireBuffer()
918 … memcpy( pBuffer->maPalette.ImplGetColorBuffer(), pBI->bmiColors, nPalCount * sizeof( RGBQUAD ) ); in AcquireBuffer()
919 pBuffer->mpBits = (PBYTE) pBI + *(DWORD*) pBI + nPalCount * sizeof( RGBQUAD ); in AcquireBuffer()
/trunk/main/svtools/source/filter/wmf/
H A Demfwr.cxx756 sal_uInt32 nDIBSize = aMemStm.Tell(), nHeaderSize, nCompression, nColsUsed, nPalCount, nImageSize; in ImplWriteBmpRecord() local
767 nPalCount = ( nBitCount <= 8 ) ? ( nColsUsed ? nColsUsed : ( 1 << (sal_uInt32) nBitCount ) ) : in ImplWriteBmpRecord()
774 (*mpStm) << (sal_uInt32) 80 << (sal_uInt32)( nHeaderSize + ( nPalCount << 2 ) ); in ImplWriteBmpRecord()
775 (*mpStm) << (sal_uInt32)( 80 + ( nHeaderSize + ( nPalCount << 2 ) ) ) << nImageSize; in ImplWriteBmpRecord()
/trunk/main/vcl/source/gdi/
H A Dbitmap4.cxx714 const sal_uInt16 nPalCount = pReadAcc->GetPaletteEntryCount(); in ImplSepia() local
715 sal_uInt8* pIndexMap = new sal_uInt8[ nPalCount ]; in ImplSepia()
717 for( sal_uInt16 i = 0; i < nPalCount; i++ ) in ImplSepia()
H A Dbitmap.cxx1629 for( sal_uInt16 i = 0, nPalCount = pAcc->GetPaletteEntryCount(); i < nPalCount; i++ ) in Replace() local
1716 …for( sal_uInt16 nEntry = 0, nPalCount = pAcc->GetPaletteEntryCount(); nEntry < nPalCount; nEntry++… in Replace() local
H A Ddibtools.cxx1344 …const sal_uInt32 nPalCount((rAcc.HasPalette() ? rAcc.GetPaletteEntryCount() : isBitfieldCompressio… in ImplWriteDIBFileHeader()
1345 const sal_uInt32 nOffset(14 + (bUseDIBV5 ? DIBV5HEADERSIZE : DIBINFOHEADERSIZE) + nPalCount * 4UL); in ImplWriteDIBFileHeader()

Completed in 40 milliseconds