Home
last modified time | relevance | path

Searched refs:nBitDepth (Results 1 – 5 of 5) sorted by relevance

/aoo42x/main/vcl/source/gdi/
H A Dpngread.cxx740 void PNGReaderImpl::ImplGetGrayPalette( sal_uInt16 nBitDepth ) in ImplGetGrayPalette() argument
742 if( nBitDepth > 8 ) in ImplGetGrayPalette()
743 nBitDepth = 8; in ImplGetGrayPalette()
745 sal_uInt16 nPaletteEntryCount = 1 << nBitDepth; in ImplGetGrayPalette()
746 sal_uInt32 nAdd = nBitDepth ? 256 / (nPaletteEntryCount - 1) : 0; in ImplGetGrayPalette()
750 if( nBitDepth == 2 ) in ImplGetGrayPalette()
H A Dpngwrite.cxx315 sal_uInt8 nBitDepth = mnBitsPerPixel; in ImplWriteHeader() local
326 nBitDepth /= 3; in ImplWriteHeader()
331 ImplWriteChunk( nBitDepth ); in ImplWriteHeader()
/aoo42x/main/filter/source/graphicfilter/ieps/
H A Dieps.cxx591 long nBitDepth = ImplGetNumber( &pDest, nSecurityCount ); in GraphicImport() local
594 …if ( nSecurityCount && pDest && nWidth && nHeight && ( ( nBitDepth == 1 ) || ( nBitDepth == 8 ) ) … in GraphicImport()
650 if ( nBitDepth == 1 ) in GraphicImport()
/aoo42x/main/vcl/aqua/source/gdi/
H A Dsalgdi.cxx2457 int nBitDepth = nTargetDepth; in SetTarget() local
2458 if( !nBitDepth ) in SetTarget()
2459 nBitDepth = 32; in SetTarget()
2460 int nBytesPerRow = (nBitDepth == 16) ? 2 : 4; in SetTarget()
2461 const size_t nBitsPerComponent = (nBitDepth == 16) ? 5 : 8; in SetTarget()
2462 if( nBitDepth <= 8 ) in SetTarget()
/aoo42x/main/vcl/inc/aqua/
H A Dsalgdi.h201 void SetVirDevGraphics( CGLayerRef, CGContextRef, int nBitDepth = 0 );

Completed in 43 milliseconds