Lines Matching refs:cmptlut
199 int cmptlut[3]; in ReadData() local
202 cmptlut[0] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_RGB_B ); in ReadData()
203 cmptlut[1] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_RGB_G ); in ReadData()
204 cmptlut[2] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_RGB_R ); in ReadData()
205 if( cmptlut[0] < 0 || cmptlut[1] < 0 || cmptlut[0] < 0 ) in ReadData()
211 cmptlut[0] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_GRAY_Y ); in ReadData()
212 if( cmptlut[0] < 0 ) in ReadData()
221 int maxval = 1 << jas_image_cmptprec( m_image, cmptlut[i] ); in ReadData()
222 int offset = jas_image_cmptsgnd( m_image, cmptlut[i] ) ? maxval / 2 : 0; in ReadData()
224 int yend = jas_image_cmptbry( m_image, cmptlut[i] ); in ReadData()
225 int ystep = jas_image_cmptvstep( m_image, cmptlut[i] ); in ReadData()
226 int xend = jas_image_cmptbrx( m_image, cmptlut[i] ); in ReadData()
227 int xstep = jas_image_cmpthstep( m_image, cmptlut[i] ); in ReadData()
232 … if( !jas_image_readcmpt( m_image, cmptlut[i], 0, 0, xend / xstep, yend / ystep, buffer )) in ReadData()
235 … result = ReadComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); in ReadData()
237 …sult = ReadComponent16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offse… in ReadData()