| 1682 | } |
| 1683 | |
| 1684 | void _OutputArray::clear() const |
| 1685 | { |
| 1686 | int k = kind(); |
| 1687 | |
| 1688 | if( k == MAT ) |
| 1689 | { |
| 1690 | CV_Assert(!fixedSize()); |
| 1691 | ((Mat*)obj)->resize(0); |
| 1692 | return; |
| 1693 | } |
| 1694 | |
| 1695 | release(); |
| 1696 | } |
| 1697 | |
| 1698 | bool _OutputArray::needed() const |
| 1699 | { |
no test coverage detected