Searched defs:ncmpts (Results 1 - 2 of 2) sorted by relevance

/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg2000.cpp198 int ncmpts; local
207 ncmpts = 3;
214 ncmpts = 1;
219 for( int i = 0; i < ncmpts; i++ )
235 result = ReadComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts );
237 result = ReadComponent16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts );
240 i = ncmpts;
261 int maxval, int offset, int ncmpts )
288 dst[x*ncmpts] = CV_CAST_8U(pix);
294 dst[x*ncmpts]
455 WriteComponent8u( jas_image_t *img, const uchar *data, int step, int ncmpts, int w, int h ) argument
478 WriteComponent16u( jas_image_t *img, const unsigned short *data, int step, int ncmpts, int w, int h ) argument
[all...]
/external/opencv3/modules/imgcodecs/src/
H A Dgrfmt_jpeg2000.cpp218 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]
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...]

Completed in 142 milliseconds