Home | History | Annotate | Download | only in highgui

Lines Matching refs:code

19 //   * Redistribution's of source code must retain the above copyright notice,
85 int code;
89 code = strm.GetByte();
91 if( !isdigit(code))
95 if( code == '#' )
99 code = strm.GetByte();
101 while( code != '\n' && code != '\r' );
104 code = strm.GetByte();
106 while( isspace(code))
107 code = strm.GetByte();
109 while( !isdigit( code ));
114 val = val*10 + code - '0';
116 code = strm.GetByte();
118 while( isdigit(code));
150 int code = m_strm.GetByte();
151 if( code != 'P' )
154 code = m_strm.GetByte();
155 switch( code )
163 m_binary = code >= '4';
275 int code = ReadNumber( m_strm, INT_MAX );
276 if( (unsigned)code > (unsigned)m_maxval ) code = m_maxval;
278 src[x] = gray_palette[code];
280 ((ushort *)src)[x] = (ushort)code;