OpenCV Coding Standard
- Intel OpenCV Coding Style

- Error Handling and System Functions

- CodingStyleGuide - OpenCV Wiki
CVAPI(void) cvXxx( const CvArr *arr, const CvArr *mask CV_DEFAULT(NULL) )CVAPI is for C compiler (extern "C" { and so on). CV_DEFAULT is to disable default value for C compiler (default value setting is available in c++, but not in c).
