Lines Matching refs:cmptlut
219 int cmptlut[3]; in readData() local
222 cmptlut[0] = jas_image_getcmptbytype( image, JAS_IMAGE_CT_RGB_B ); in readData()
223 cmptlut[1] = jas_image_getcmptbytype( image, JAS_IMAGE_CT_RGB_G ); in readData()
224 cmptlut[2] = jas_image_getcmptbytype( image, JAS_IMAGE_CT_RGB_R ); in readData()
225 if( cmptlut[0] < 0 || cmptlut[1] < 0 || cmptlut[2] < 0 ) in readData()
231 cmptlut[0] = jas_image_getcmptbytype( image, JAS_IMAGE_CT_GRAY_Y ); in readData()
232 if( cmptlut[0] < 0 ) in readData()
241 int maxval = 1 << jas_image_cmptprec( image, cmptlut[i] ); in readData()
242 int offset = jas_image_cmptsgnd( image, cmptlut[i] ) ? maxval / 2 : 0; in readData()
244 int yend = jas_image_cmptbry( image, cmptlut[i] ); in readData()
245 int ystep = jas_image_cmptvstep( image, cmptlut[i] ); in readData()
246 int xend = jas_image_cmptbrx( image, cmptlut[i] ); in readData()
247 int xstep = jas_image_cmpthstep( image, cmptlut[i] ); in readData()
252 … if( !jas_image_readcmpt( image, cmptlut[i], 0, 0, xend / xstep, yend / ystep, buffer )) in readData()
255 … result = readComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); in readData()
257 …sult = readComponent16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offse… in readData()