Home | History | Annotate | Download | only in src

Lines Matching refs:step

211     int step;
233 bool retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn);
643 frame.step = rgb_picture.linesize[0];
733 bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn)
775 *step = frame.step;
1002 bool writeFrame( const unsigned char* data, int step, int width, int height, int cn, int origin );
1349 bool CvVideoWriter_FFMPEG::writeFrame( const unsigned char* data, int step, int width, int height, int cn, int origin )
1371 temp_image.step = (width*cn + 3) & -4;
1375 temp_image.data = (unsigned char*)malloc(temp_image.step*temp_image.height);
1378 memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, width*cn);
1380 step = temp_image.step;
1383 if( width*cn != step )
1387 temp_image.step = width*cn;
1391 temp_image.data = (unsigned char*)malloc(temp_image.step*temp_image.height);
1395 memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, temp_image.step);
1398 memcpy(temp_image.data + y*temp_image.step, data + y*step, temp_image.step);
1400 step = temp_image.step;
1873 int cvRetrieveFrame_FFMPEG(CvCapture_FFMPEG* capture, unsigned char** data, int* step, int* width, int* height, int* cn)
1875 return capture->retrieveFrame(0, data, step, width, height, cn);
1902 const unsigned char* data, int step,
1905 return writer->writeFrame(data, step, width, height, cn, origin);