| 3019 | #define CV_FS_MAX_FMT_PAIRS 128 |
| 3020 | |
| 3021 | static char* |
| 3022 | icvEncodeFormat( int elem_type, char* dt ) |
| 3023 | { |
| 3024 | sprintf( dt, "%d%c", CV_MAT_CN(elem_type), icvTypeSymbol[CV_MAT_DEPTH(elem_type)] ); |
| 3025 | return dt + ( dt[2] == '\0' && dt[0] == '1' ); |
| 3026 | } |
| 3027 | |
| 3028 | static int |
| 3029 | icvDecodeFormat( const char* dt, int* fmt_pairs, int max_len ) |
no outgoing calls
no test coverage detected