grfmt_jpeg2000.cpp | 218 int ncmpts; local 227 ncmpts = 3; 234 ncmpts = 1; 239 for( int i = 0; i < ncmpts; i++ ) 255 result = readComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); 257 result = readComponent16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts ); 260 i = ncmpts; 288 int maxval, int offset, int ncmpts ) 317 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); 323 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix) 497 int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); local 521 int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); local [all...] |