Searched refs:gray_palette (Results 1 - 7 of 7) sorted by relevance

/external/opencv/otherlibs/highgui/
H A Dgrfmt_bmp.cpp192 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...]
H A Dgrfmt_pxm.cpp204 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;
H A Dgrfmt_sunras.cpp178 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] );
H A Dgrfmt_tiff.cpp563 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 );
/external/opencv3/modules/imgcodecs/src/
H A Dgrfmt_bmp.cpp189 uchar gray_palette[256]; local
211 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp );
245 FillGrayRow4( data, src, m_width, gray_palette );
267 gray_clr[0] = gray_palette[code >> 4];
268 gray_clr[1] = gray_palette[code & 15];
289 data = FillGrayRow4( data, src, code, gray_palette );
311 gray_palette[0] );
333 FillGrayRow8( data, src, m_width, gray_palette );
363 gray_palette[code] );
378 data = FillGrayRow8( data, src, code, gray_palette );
[all...]
H A Dgrfmt_sunras.cpp160 uchar gray_palette[256]; local
176 CvtPaletteToGray( m_palette, gray_palette, 1 << m_bpp );
194 FillGrayRow1( data, src, m_width, gray_palette );
243 FillGrayRow1( data, src, m_width, gray_palette );
263 FillGrayRow8( data, src, m_width, gray_palette );
297 FillGrayRow8( data, src, len1, gray_palette );
313 gray_palette[code] );
H A Dgrfmt_pxm.cpp208 uchar* gray_palette = _gray_palette; local
214 gray_palette = _gray_palette;
217 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0));
240 FillGrayRow8( data, src, m_width, gray_palette );
252 FillGrayRow1( data, src, m_width, gray_palette );
270 src[x] = gray_palette[code];

Completed in 564 milliseconds