Lines Matching defs:cn
214 int cn;
233 bool retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn);
642 frame.cn = 3;
733 bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn)
778 *cn = frame.cn;
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;
1374 temp_image.cn = cn;
1378 memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, width*cn);
1383 if( width*cn != step )
1387 temp_image.step = width*cn;
1390 temp_image.cn = cn;
1406 if (cn != 3) {
1411 if (cn != 1) {
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);
1903 int width, int height, int cn, int origin)
1905 return writer->writeFrame(data, step, width, height, cn, origin);