/external/opencv/otherlibs/highgui/ |
grfmt_pxm.cpp | 204 uchar* gray_palette = pal_buffer; local 220 gray_palette = new uchar[m_maxval + 1]; 224 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); 248 FillGrayRow8( data, src, m_width, gray_palette ); 260 FillGrayRow1( data, src, m_width, gray_palette ); 278 src[x] = gray_palette[code]; 350 if( gray_palette != pal_buffer ) 351 delete[] gray_palette;
|
grfmt_bmp.cpp | 192 uchar gray_palette[256]; local 214 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); 247 FillGrayRow4( data, src, m_width, gray_palette ); 269 gray_clr[0] = gray_palette[code >> 4]; 270 gray_clr[1] = gray_palette[code & 15]; 291 data = FillGrayRow4( data, src, code, gray_palette ); 313 gray_palette[0] ); 335 FillGrayRow8( data, src, m_width, gray_palette ); 365 gray_palette[code] ); 380 data = FillGrayRow8( data, src, code, gray_palette ); [all...] |
grfmt_sunras.cpp | 178 uchar gray_palette[256]; local 197 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); 215 FillGrayRow1( data, src, m_width, gray_palette ); 264 FillGrayRow1( data, src, m_width, gray_palette ); 284 FillGrayRow8( data, src, m_width, gray_palette ); 318 FillGrayRow8( data, src, len1, gray_palette ); 334 gray_palette[code] );
|
grfmt_tiff.cpp | 563 uchar gray_palette[256]; local 578 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp ); 623 FillGrayRow1( data, src, m_width, gray_palette ); 626 FillGrayRow4( data, src, m_width, gray_palette ); 629 FillGrayRow8( data, src, m_width, gray_palette );
|