Lines Matching refs:ncmpts

198             int ncmpts;  in ReadData()  local
207 ncmpts = 3; in ReadData()
214 ncmpts = 1; in ReadData()
219 for( int i = 0; i < ncmpts; i++ ) in ReadData()
235 … result = ReadComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); in ReadData()
237 …Component16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts ); in ReadData()
240 i = ncmpts; in ReadData()
261 int maxval, int offset, int ncmpts ) in ReadComponent8u() argument
288 dst[x*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u()
294 dst[x*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u()
301 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u()
309 dst[x*ncmpts] = (uchar)pix; in ReadComponent8u()
314 dst[x*ncmpts + step] = dst[x*ncmpts]; in ReadComponent8u()
323 int maxval, int offset, int ncmpts ) in ReadComponent16u() argument
350 dst[x*ncmpts] = CV_CAST_16U(pix); in ReadComponent16u()
356 dst[x*ncmpts] = CV_CAST_16U(pix); in ReadComponent16u()
363 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_16U(pix); in ReadComponent16u()
371 dst[x*ncmpts] = (ushort)pix; in ReadComponent16u()
376 dst[x*ncmpts + step] = dst[x*ncmpts]; in ReadComponent16u()
456 int step, int ncmpts, int w, int h ) in WriteComponent8u() argument
464 for( int i = 0; i < ncmpts; i++ ) in WriteComponent8u()
467 jas_matrix_setv( row, x, data[x * ncmpts + i] ); in WriteComponent8u()
479 int step, int ncmpts, int w, int h ) in WriteComponent16u() argument
487 for( int i = 0; i < ncmpts; i++ ) in WriteComponent16u()
490 jas_matrix_setv( row, x, data[x * ncmpts + i] ); in WriteComponent16u()