/aoo42x/main/svtools/source/filter/ |
H A D | filter2.cxx | 140 nBitsPerPixel = 0; in ImpConstruct() 196 nBitsPerPixel = nTemp16; in ImpDetectBMP() 215 if ( ( nBitsPerPixel > 24 ) || ( nCompression > 3 ) ) in ImpDetectBMP() 266 nBitsPerPixel = ( ( cByte & 112 ) >> 4 ) + 1; in ImpDetectGIF() 446 … nBitsPerPixel = ( nNumberOfImageComponents == 3 ? 24 : nNumberOfImageComponents == 1 ? 8 : 0 ); in ImpDetectJPG() 548 nBitsPerPixel = cByte; in ImpDetectPCX() 630 nBitsPerPixel = cByte; in ImpDetectPNG() 795 nBitsPerPixel = nTemp16; in ImpDetectTIF() 1012 nBitsPerPixel = ( nDepth == 16 ) ? 8 : nDepth; in ImpDetectPSD() 1017 nBitsPerPixel = 24; in ImpDetectPSD()
|
H A D | exportdialog.cxx | 536 sal_Int32 nBitsPerPixel = 24; in GetRawFileSize() local 539 nBitsPerPixel = 1; in GetRawFileSize() 541 nBitsPerPixel = 1; in GetRawFileSize() 543 nBitsPerPixel = 4; in GetRawFileSize() 545 nBitsPerPixel = 8; in GetRawFileSize() 547 nBitsPerPixel = 8; in GetRawFileSize() 549 nBitsPerPixel = 8; in GetRawFileSize() 551 nBitsPerPixel = 24; in GetRawFileSize() 555 nRawFileSize = ( maSize.Width * nBitsPerPixel + 7 ) &~ 7; // rounding up to 8 bits in GetRawFileSize()
|
H A D | filter.cxx | 1885 sal_uLong nColorCount,nBitsPerPixel,nNeededMem,nMaxMem; in ExportGraphic() local 1901 if (nColorCount<=2) nBitsPerPixel=1; in ExportGraphic() 1902 else if (nColorCount<=4) nBitsPerPixel=2; in ExportGraphic() 1903 else if (nColorCount<=16) nBitsPerPixel=4; in ExportGraphic() 1904 else if (nColorCount<=256) nBitsPerPixel=8; in ExportGraphic() 1905 else if (nColorCount<=65536) nBitsPerPixel=16; in ExportGraphic() 1906 else nBitsPerPixel=24; in ExportGraphic() 1907 nNeededMem=((sal_uLong)aSizePixel.Width()*(sal_uLong)aSizePixel.Height()*nBitsPerPixel+7)/8; in ExportGraphic()
|
/aoo42x/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 894 sal_uInt16 nBitsPerPixel, nPackType; in WriteOpcode_BitsRect() local 910 nBitsPerPixel = aBitmap.GetBitCount(); in WriteOpcode_BitsRect() 913 nBitsPerPixel = in WriteOpcode_BitsRect() 914 nBitsPerPixel <= 1 ? 1 : nBitsPerPixel <= 4 ? 4 : nBitsPerPixel <= 8 ? 8 : 24; in WriteOpcode_BitsRect() 920 if ( nBitsPerPixel == 24 ) in WriteOpcode_BitsRect() 1099 if ( nBitsPerPixel == 1 ) in WriteOpcode_BitsRect() 1111 nDstRowBytes = ( nWidth * nBitsPerPixel + 7 ) >> 3; in WriteOpcode_BitsRect() 1139 << (sal_uInt16)nBitsPerPixel // Pixel size in WriteOpcode_BitsRect() 1141 << (sal_uInt16)nBitsPerPixel // CmpSize in WriteOpcode_BitsRect() 1180 switch ( nBitsPerPixel ) in WriteOpcode_BitsRect()
|
/aoo42x/main/svtools/source/graphic/ |
H A D | descriptor.cxx | 464 sal_uInt16 nBitsPerPixel = 0; in _getPropertyValues() local 469 nBitsPerPixel = mpGraphic->GetBitmapEx().GetBitmap().GetBitCount(); in _getPropertyValues() 472 nBitsPerPixel = mnBitsPerPixel; in _getPropertyValues() 474 *pValues <<= sal::static_int_cast< sal_Int8 >(nBitsPerPixel); in _getPropertyValues()
|
/aoo42x/main/editeng/source/rtf/ |
H A D | rtfgrf.cxx | 214 sal_uInt16 n4ColBits = rPicType.nBitsPerPixel; in WriteBMPHeader() 248 switch( rPicType.nBitsPerPixel ) in WriteBMPHeader() 412 case RTF_WBMBITSPIXEL: rPicType.nBitsPerPixel = nVal; break; in ReadBmpData()
|
/aoo42x/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 556 sal_uInt16 nBitsPerPixel; in WriteImageObject() local 577 aTemp >> nBitsPerPixel; in WriteImageObject() 582 nNumColors=1<<nBitsPerPixel; in WriteImageObject() 583 nBytesPerLine=((nWidth*nBitsPerPixel+0x0000001f) & 0xffffffe0 ) >> 3; in WriteImageObject() 586 if (nBitsPerPixel<=8) in WriteImageObject() 651 *pMET << (sal_uInt8)0x96 << (sal_uInt8)0x01 << (sal_uInt8)nBitsPerPixel; in WriteImageObject() 653 if (nBitsPerPixel<=8) { in WriteImageObject() 682 if (nBitsPerPixel==24) { in WriteImageObject()
|
/aoo42x/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 259 sal_uInt16 nBitsPerPixel; member 2177 *pOS2MET >> nbyte; p->nBitsPerPixel=nbyte; in ReadImageData() 2193 if (p->nWidth==0 || p->nHeight==0 || p->nBitsPerPixel==0) { in ReadImageData() 2200 *(p->pBMP) << ((sal_uInt16)1) << p->nBitsPerPixel; in ReadImageData() 2204 if (p->nBitsPerPixel<=8) { in ReadImageData() 2205 sal_uInt16 i, nColTabSize=1<<(p->nBitsPerPixel); in ReadImageData() 2213 if (p->nBitsPerPixel==24) { in ReadImageData() 2367 pB->pBMP=NULL; pB->nWidth=0; pB->nHeight=0; pB->nBitsPerPixel=0; in ReadField()
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | filter.hxx | 147 sal_uInt16 nBitsPerPixel; member in GraphicDescriptor 219 sal_uInt16 GetBitsPerPixel() const { return nBitsPerPixel; } in GetBitsPerPixel()
|
/aoo42x/main/writerfilter/source/dmapper/ |
H A D | GraphicImport.cxx | 250 sal_Int32 nBitsPerPixel; member in writerfilter::dmapper::GraphicImport_Impl 306 ,nBitsPerPixel(0) in GraphicImport_Impl() 508 m_pImpl->nBitsPerPixel = nIntValue; in lcl_attribute()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | pdfwriter_impl2.cxx | 230 sal_Int16 nBitsPerPixel = 24; in implWriteBitmapEx() local 231 …PropSet->getPropertyValue( ::rtl::OUString::createFromAscii( "BitsPerPixel" ) ) >>= nBitsPerPixel ) in implWriteBitmapEx() 233 bTrueColorJPG = nBitsPerPixel != 8; in implWriteBitmapEx()
|
/aoo42x/main/slideshow/source/engine/OGLTrans/ |
H A D | OGLTrans_TransitionerImpl.cxx | 1022 const sal_Int32 nBitsPerPixel( xIntColorSpace->getBitsPerPixel() ); in createWindow() local 1029 switch( nBitsPerPixel ) in createWindow()
|
/aoo42x/main/editeng/inc/editeng/ |
H A D | svxrtf.hxx | 135 sal_uInt16 nBitsPerPixel; member
|
/aoo42x/main/basebmp/source/ |
H A D | bitmapdevice.cxx | 1739 int nBitsPerPixel ) in createRenderer() argument 1742 1UL << nBitsPerPixel); in createRenderer()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | eertfpar.cxx | 50 nBitsPerPixel = nPlanes = 1; in ResetValues()
|