Home
last modified time | relevance | path

Searched refs:ncmpts (Results 1 – 4 of 4) sorted by relevance

/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.cpp198 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()
[all …]
Dgrfmt_jpeg2000.h74 int maxval, int offset, int ncmpts );
76 int maxval, int offset, int ncmpts );
95 int step, int ncmpts, int w, int h );
97 int step, int ncmpts, int w, int h );
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_jpeg2000.cpp218 int ncmpts; in readData() local
227 ncmpts = 3; in readData()
234 ncmpts = 1; in readData()
239 for( int i = 0; i < ncmpts; i++ ) in readData()
255 … result = readComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); in readData()
257 …Component16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts ); in readData()
260 i = ncmpts; in readData()
288 int maxval, int offset, int ncmpts ) in readComponent8u() argument
317 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); in readComponent8u()
323 dst[x*ncmpts] = cv::saturate_cast<uchar>(pix); in readComponent8u()
[all …]
Dgrfmt_jpeg2000.hpp67 int maxval, int offset, int ncmpts );
69 int maxval, int offset, int ncmpts );