HomeSort by relevance Sort by last modified time
    Searched refs:fileStep (Results 1 - 5 of 5) sorted by null

  /external/opencv/
cvjni.h 174 int fileStep = (width*channels + 3) & -4;
179 assert( data && width > 0 && height > 0 && step >= fileStep );
186 int testSize = fileStep*height + headerSize;
188 sprintf(log_str, "fileStep*height + headerSize=%i", testSize);
195 m_strm->PutDWord( fileStep*height + headerSize ); // file size
223 if( fileStep > width )
224 m_strm->PutBytes( zeropad, fileStep - width );
  /external/opencv/otherlibs/highgui/
grfmt_pxm.cpp 382 int fileStep = width*channels*(depth/8);
385 assert( data && width > 0 && height > 0 && step >= fileStep );
433 memcpy( buffer, data, fileStep );
441 m_strm.PutBytes( (channels > 1 || depth > 8) ? buffer : (char*)data, fileStep );
grfmt_sunras.cpp 418 int fileStep = (width*channels + 1) & -2;
421 assert( data && width > 0 && height > 0 && step >= fileStep);
429 m_strm.PutDWord( fileStep*height );
435 m_strm.PutBytes( data, fileStep );
grfmt_bmp.cpp 497 int fileStep = (width*channels + 3) & -4;
500 assert( data && width > 0 && height > 0 && step >= fileStep );
513 m_strm.PutDWord( fileStep*height + headerSize ); // file size
541 if( fileStep > width )
542 m_strm.PutBytes( zeropad, fileStep - width );
grfmt_tiff.cpp 685 int fileStep = width*channels;
687 assert( data && width > 0 && height > 0 && step >= fileStep);
691 int rowsPerStrip = (1 << 13)/fileStep;
701 int uncompressedRowSize = rowsPerStrip * fileStep;
707 uchar* buffer = new uchar[fileStep + 32];
734 m_strm.PutBytes( channels > 1 ? buffer : data, fileStep );

Completed in 48 milliseconds