Merge pull request #16604 from Volskig:mp/ocv-gapi-zero-height-mat
G-API: Zero-height mat is cause of crash * Added check for zero-height Mat case * Refactoring, added validate_input_arg func * No bool function now
This commit is contained in:
committed by
GitHub
parent
27b71d6368
commit
3befdb4ae8
@@ -126,6 +126,10 @@ bool GAPI_EXPORTS can_describe(const GMetaArgs& metas, const GRunArgs& args);
|
||||
// coincides with output arguments passed to computation in cpu and ocl backends
|
||||
bool GAPI_EXPORTS can_describe(const GMetaArg& meta, const GRunArgP& argp);
|
||||
|
||||
// Validates input arguments
|
||||
void GAPI_EXPORTS validate_input_arg(const GRunArg& arg);
|
||||
void GAPI_EXPORTS validate_input_args(const GRunArgs& args);
|
||||
|
||||
} // namespace cv
|
||||
|
||||
#endif // OPENCV_GAPI_GPROTO_HPP
|
||||
|
||||
Reference in New Issue
Block a user