Home
last modified time | relevance | path

Searched refs:fileStep (Results 1 – 5 of 5) sorted by relevance

/external/opencv/
Dcvjni.h174 int fileStep = (width*channels + 3) & -4; in loadImageBytes() local
179 assert( data && width > 0 && height > 0 && step >= fileStep ); in loadImageBytes()
186 int testSize = fileStep*height + headerSize; in loadImageBytes()
195 m_strm->PutDWord( fileStep*height + headerSize ); // file size in loadImageBytes()
223 if( fileStep > width ) in loadImageBytes()
224 m_strm->PutBytes( zeropad, fileStep - width ); in loadImageBytes()
/external/opencv/otherlibs/highgui/
Dgrfmt_sunras.cpp418 int fileStep = (width*channels + 1) & -2; in WriteImage() local
421 assert( data && width > 0 && height > 0 && step >= fileStep); in WriteImage()
429 m_strm.PutDWord( fileStep*height ); in WriteImage()
435 m_strm.PutBytes( data, fileStep ); in WriteImage()
Dgrfmt_bmp.cpp497 int fileStep = (width*channels + 3) & -4; in WriteImage() local
500 assert( data && width > 0 && height > 0 && step >= fileStep ); in WriteImage()
513 m_strm.PutDWord( fileStep*height + headerSize ); // file size in WriteImage()
541 if( fileStep > width ) in WriteImage()
542 m_strm.PutBytes( zeropad, fileStep - width ); in WriteImage()
Dgrfmt_pxm.cpp382 int fileStep = width*channels*(depth/8); in WriteImage() local
385 assert( data && width > 0 && height > 0 && step >= fileStep ); in WriteImage()
433 memcpy( buffer, data, fileStep ); in WriteImage()
441 m_strm.PutBytes( (channels > 1 || depth > 8) ? buffer : (char*)data, fileStep ); in WriteImage()
Dgrfmt_tiff.cpp685 int fileStep = width*channels; in WriteImage() local
687 assert( data && width > 0 && height > 0 && step >= fileStep); in WriteImage()
691 int rowsPerStrip = (1 << 13)/fileStep; in WriteImage()
707 uchar* buffer = new uchar[fileStep + 32]; in WriteImage()
734 m_strm.PutBytes( channels > 1 ? buffer : data, fileStep ); in WriteImage()