OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_maxval
(Results
1 - 2
of
2
) sorted by null
/external/opencv/otherlibs/highgui/
grfmt_pxm.h
68
int
m_maxval
;
member in class:GrFmtPxMReader
grfmt_pxm.cpp
169
m_maxval
= m_bpp == 1 ? 1 : ReadNumber( m_strm, INT_MAX );
170
if(
m_maxval
> 65535 )
173
//if(
m_maxval
> 255 ) m_binary = false; nonsense
174
if(
m_maxval
> 255 )
177
if( m_width > 0 && m_height > 0 &&
m_maxval
> 0 &&
m_maxval
< (1 << 16))
219
if(
m_maxval
+ 1 > buffer_size )
220
gray_palette = new uchar[
m_maxval
+ 1];
222
for( i = 0; i <=
m_maxval
; i++ )
224
gray_palette[i] = (uchar)((i*255/
m_maxval
)^(m_bpp == 1 ? 255 : 0))
[
all
...]
Completed in 88 milliseconds