Searched refs:m_bpp (Results 1 – 16 of 16) sorted by relevance
/external/opencv/otherlibs/highgui/ |
D | grfmt_bmp.cpp | 110 m_bpp = m_strm.GetDWord() >> 16; in ReadHeader() 117 (((m_bpp == 1 || m_bpp == 4 || m_bpp == 8 || in ReadHeader() 118 m_bpp == 24 || m_bpp == 32 ) && m_rle_code == BMP_RGB) || in ReadHeader() 119 (m_bpp == 16 && (m_rle_code == BMP_RGB || m_rle_code == BMP_BITFIELDS)) || in ReadHeader() 120 (m_bpp == 4 && m_rle_code == BMP_RLE4) || in ReadHeader() 121 (m_bpp == 8 && m_rle_code == BMP_RLE8))) in ReadHeader() 126 if( m_bpp <= 8 ) in ReadHeader() 129 m_strm.GetBytes( m_palette, (clrused == 0? 1<<m_bpp : clrused)*4 ); in ReadHeader() 130 m_iscolor = IsColorPalette( m_palette, m_bpp ); in ReadHeader() 132 else if( m_bpp == 16 && m_rle_code == BMP_BITFIELDS ) in ReadHeader() [all …]
|
D | grfmt_sunras.cpp | 105 m_bpp = m_strm.GetDWord(); in ReadHeader() 106 int palSize = 3*(1 << m_bpp); in ReadHeader() 114 (m_bpp == 1 || m_bpp == 8 || m_bpp == 24 || m_bpp == 32) && in ReadHeader() 116 (m_type == RAS_BYTE_ENCODED && m_bpp == 8) || m_type == RAS_FORMAT_RGB) && in ReadHeader() 118 m_maptype == RMT_EQUAL_RGB && m_maplength <= palSize && m_bpp <= 8)) in ReadHeader() 141 m_iscolor = IsColorPalette( m_palette, m_bpp ); in ReadHeader() 150 m_iscolor = m_bpp > 8; in ReadHeader() 153 FillGrayPalette( m_palette, m_bpp ); in ReadHeader() 182 int src_pitch = ((m_width*m_bpp + 7)/8 + 1) & -2; in ReadData() 197 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); in ReadData() [all …]
|
D | grfmt_pxm.cpp | 157 case '1': case '4': m_bpp = 1; break; in ReadHeader() 158 case '2': case '5': m_bpp = 8; break; in ReadHeader() 159 case '3': case '6': m_bpp = 24; break; in ReadHeader() 164 m_iscolor = m_bpp > 8; in ReadHeader() 169 m_maxval = m_bpp == 1 ? 1 : ReadNumber( m_strm, INT_MAX ); in ReadHeader() 205 int src_pitch = (m_width*m_bpp*m_bit_depth/8 + 7)/8; in ReadData() 224 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); in ReadData() 227 FillGrayPalette( palette, m_bpp==1 ? 1 : 8 , m_bpp == 1 ); in ReadData() 234 switch( m_bpp ) in ReadData() 306 if( m_bpp == 8 ) // image has one channel in ReadData()
|
D | grfmt_tiff.cpp | 372 m_bpp = 1; in ReadHeader() 434 m_bpp = bpp_arr[0]; in ReadHeader() 504 switch( m_bpp ) in ReadHeader() 509 FillGrayPalette( m_palette, m_bpp, photometric == 0 ); in ReadHeader() 517 photometric == 3 && pal_length == (1 << m_bpp)) && in ReadHeader() 522 FillGrayPalette( m_palette, m_bpp, photometric == 0 ); in ReadHeader() 527 m_iscolor = IsColorPalette( m_palette, m_bpp ); in ReadHeader() 535 m_bpp = 8*channels; in ReadHeader() 566 int src_pitch = (m_width*m_bpp + 7)/8; in ReadData() 576 if( m_bpp <= 8 ) in ReadData() [all …]
|
D | grfmt_bmp.h | 72 int m_bpp; variable
|
D | grfmt_pxm.h | 65 int m_bpp; variable
|
D | grfmt_sunras.h | 78 int m_bpp; variable
|
D | grfmt_tiff.h | 128 int m_bpp; variable
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 46 m_bpp = 0; in CFX_DIBSource() 69 m_bpp = (uint8_t)format; in Create() 148 m_bpp = pSrcBitmap->m_bpp; in TakeOver() 188 const uint8_t* src_scan = GetScanline(row) + rect.left * m_bpp / 8; in Clone() 420 if (m_bpp == 8) { in TransferBitmap() 446 ASSERT(HasAlpha() && (m_bpp >= 24)); in TransferMask() 448 if (!HasAlpha() || !pMask->IsAlphaMask() || m_bpp < 24) { in TransferMask() 510 int comps = m_bpp / 8; in TransferMask() 1163 int src_Bpp = m_bpp / 8; 1243 if (m_bpp <= 8) { [all …]
|
D | fx_dib_composite.cpp | 4662 ASSERT(m_bpp >= 8); in CompositeBitmap() 4663 if (pSrcBitmap->IsAlphaMask() || m_bpp < 8) { in CompositeBitmap() 4684 int dest_Bpp = m_bpp / 8; in CompositeBitmap() 4735 ASSERT(m_bpp >= 8); in CompositeMask() 4736 if (!pMask->IsAlphaMask() || m_bpp < 8) { in CompositeMask() 4815 if (m_bpp == 8) { in CompositeRect() 4849 if (m_bpp == 1) { in CompositeRect() 4888 ASSERT(m_bpp >= 24); in CompositeRect() 4889 if (m_bpp < 24) { in CompositeRect() 4908 int Bpp = m_bpp / 8; in CompositeRect()
|
D | fx_dib_convert.cpp | 1229 m_bpp = (uint8_t)dest_format; in ConvertFormat()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_loadimage.cpp | 158 m_bpp = 0; in CPDF_DIBSource() 254 m_bpp = 1; in Load() 259 m_bpp = 1; in Load() 261 m_bpp = 8; in Load() 263 m_bpp = 24; in Load() 265 FX_SAFE_DWORD pitch = CalculatePitch32(m_bpp, m_Width); in Load() 275 m_bpp = 32; in Load() 277 pitch = CalculatePitch32(m_bpp, m_Width); in Load() 294 m_bpp = 1; in ContinueToLoadMask() 299 m_bpp = 1; in ContinueToLoadMask() [all …]
|
/external/pdfium/core/include/fxge/ |
D | fx_dib.h | 172 return (FXDIB_Format)(m_AlphaFlag * 0x100 + m_bpp); in GetFormat() 197 int GetBPP() const { return m_bpp; } in GetBPP() 211 return IsAlphaMask() ? 0 : (m_bpp == 1 ? 2 : (m_bpp == 8 ? 256 : 0)); in GetPaletteSize() 271 int m_bpp; variable
|
D | fx_ge.h | 266 int GetBPP() const { return m_bpp; } in GetBPP() 414 int m_bpp; variable
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_device.cpp | 24 m_bpp = m_pDeviceDriver->GetDeviceCaps(FXDC_BITS_PIXEL); in InitDeviceInfo()
|
D | fx_ge_text.cpp | 244 if (m_DeviceClass == FXDC_DISPLAY && m_bpp > 1) { in DrawNormalText() 255 } else if (m_bpp < 16) { in DrawNormalText() 351 if (m_bpp == 8) { in DrawNormalText()
|