Searched refs:nBitDepth (Results 1 – 5 of 5) sorted by relevance
730 void PNGReaderImpl::ImplGetGrayPalette( sal_uInt16 nBitDepth ) in ImplGetGrayPalette() argument732 if( nBitDepth > 8 ) in ImplGetGrayPalette()733 nBitDepth = 8; in ImplGetGrayPalette()735 sal_uInt16 nPaletteEntryCount = 1 << nBitDepth; in ImplGetGrayPalette()736 sal_uInt32 nAdd = nBitDepth ? 256 / (nPaletteEntryCount - 1) : 0; in ImplGetGrayPalette()740 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 65 milliseconds