Home
last modified time | relevance | path

Searched refs:cmptlut (Results 1 – 2 of 2) sorted by relevance

/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.cpp199 int cmptlut[3]; in ReadData() local
202 cmptlut[0] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_RGB_B ); in ReadData()
203 cmptlut[1] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_RGB_G ); in ReadData()
204 cmptlut[2] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_RGB_R ); in ReadData()
205 if( cmptlut[0] < 0 || cmptlut[1] < 0 || cmptlut[0] < 0 ) in ReadData()
211 cmptlut[0] = jas_image_getcmptbytype( m_image, JAS_IMAGE_CT_GRAY_Y ); in ReadData()
212 if( cmptlut[0] < 0 ) in ReadData()
221 int maxval = 1 << jas_image_cmptprec( m_image, cmptlut[i] ); in ReadData()
222 int offset = jas_image_cmptsgnd( m_image, cmptlut[i] ) ? maxval / 2 : 0; in ReadData()
224 int yend = jas_image_cmptbry( m_image, cmptlut[i] ); in ReadData()
[all …]
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_jpeg2000.cpp219 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()
[all …]