/external/opencv3/modules/imgcodecs/src/ |
D | grfmt_bmp.cpp | 189 uchar gray_palette[256]; in readData() local 211 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); in readData() 245 FillGrayRow4( data, src, m_width, gray_palette ); in readData() 267 gray_clr[0] = gray_palette[code >> 4]; in readData() 268 gray_clr[1] = gray_palette[code & 15]; in readData() 289 data = FillGrayRow4( data, src, code, gray_palette ); in readData() 311 gray_palette[0] ); in readData() 333 FillGrayRow8( data, src, m_width, gray_palette ); in readData() 363 gray_palette[code] ); in readData() 378 data = FillGrayRow8( data, src, code, gray_palette ); in readData() [all …]
|
D | grfmt_sunras.cpp | 160 uchar gray_palette[256]; in readData() local 176 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); in readData() 194 FillGrayRow1( data, src, m_width, gray_palette ); in readData() 243 FillGrayRow1( data, src, m_width, gray_palette ); in readData() 263 FillGrayRow8( data, src, m_width, gray_palette ); in readData() 297 FillGrayRow8( data, src, len1, gray_palette ); in readData() 313 gray_palette[code] ); in readData()
|
D | grfmt_pxm.cpp | 208 uchar* gray_palette = _gray_palette; in readData() local 214 gray_palette = _gray_palette; in readData() 217 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); in readData() 240 FillGrayRow8( data, src, m_width, gray_palette ); in readData() 252 FillGrayRow1( data, src, m_width, gray_palette ); in readData() 270 src[x] = gray_palette[code]; in readData()
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_bmp.cpp | 192 uchar gray_palette[256]; in ReadData() local 214 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); in ReadData() 247 FillGrayRow4( data, src, m_width, gray_palette ); in ReadData() 269 gray_clr[0] = gray_palette[code >> 4]; in ReadData() 270 gray_clr[1] = gray_palette[code & 15]; in ReadData() 291 data = FillGrayRow4( data, src, code, gray_palette ); in ReadData() 313 gray_palette[0] ); in ReadData() 335 FillGrayRow8( data, src, m_width, gray_palette ); in ReadData() 365 gray_palette[code] ); in ReadData() 380 data = FillGrayRow8( data, src, code, gray_palette ); in ReadData() [all …]
|
D | grfmt_pxm.cpp | 204 uchar* gray_palette = pal_buffer; in ReadData() local 220 gray_palette = new uchar[m_maxval + 1]; in ReadData() 224 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); in ReadData() 248 FillGrayRow8( data, src, m_width, gray_palette ); in ReadData() 260 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData() 278 src[x] = gray_palette[code]; in ReadData() 350 if( gray_palette != pal_buffer ) in ReadData() 351 delete[] gray_palette; in ReadData()
|
D | grfmt_sunras.cpp | 178 uchar gray_palette[256]; in ReadData() local 197 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); in ReadData() 215 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData() 264 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData() 284 FillGrayRow8( data, src, m_width, gray_palette ); in ReadData() 318 FillGrayRow8( data, src, len1, gray_palette ); in ReadData() 334 gray_palette[code] ); in ReadData()
|
D | grfmt_tiff.cpp | 563 uchar gray_palette[256]; in ReadData() local 578 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); in ReadData() 623 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData() 626 FillGrayRow4( data, src, m_width, gray_palette ); in ReadData() 629 FillGrayRow8( data, src, m_width, gray_palette ); in ReadData()
|