Searched refs:nBitDepth (Results 1 – 5 of 5) sorted by relevance
740 void PNGReaderImpl::ImplGetGrayPalette( sal_uInt16 nBitDepth ) in ImplGetGrayPalette() argument742 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()
315 sal_uInt8 nBitDepth = mnBitsPerPixel; in ImplWriteHeader() local326 nBitDepth /= 3; in ImplWriteHeader()331 ImplWriteChunk( nBitDepth ); in ImplWriteHeader()
591 long nBitDepth = ImplGetNumber( &pDest, nSecurityCount ); in GraphicImport() local594 …if ( nSecurityCount && pDest && nWidth && nHeight && ( ( nBitDepth == 1 ) || ( nBitDepth == 8 ) ) … in GraphicImport()650 if ( nBitDepth == 1 ) in GraphicImport()
2457 int nBitDepth = nTargetDepth; in SetTarget() local2458 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()
201 void SetVirDevGraphics( CGLayerRef, CGContextRef, int nBitDepth = 0 );
Completed in 43 milliseconds