mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Fix modules/ typos
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
This commit is contained in:
@@ -239,7 +239,7 @@ void resetInternalData(Mag& mag, const Data &d)
|
||||
break;
|
||||
|
||||
case GShape::GMAT:
|
||||
// Do nothign here - FIXME unify with initInternalData?
|
||||
// Do nothing here - FIXME unify with initInternalData?
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -281,7 +281,7 @@ cv::GRunArgP getObjPtr(Mag& mag, const RcDesc &rc, bool is_umat)
|
||||
return GRunArgP(&mag.template slot<cv::gapi::own::Mat>()[rc.id]);
|
||||
case GShape::GSCALAR: return GRunArgP(&mag.template slot<cv::gapi::own::Scalar>()[rc.id]);
|
||||
// Note: .at() is intentional for GArray as object MUST be already there
|
||||
// (and constructer by either bindIn/Out or resetInternal)
|
||||
// (and constructor by either bindIn/Out or resetInternal)
|
||||
case GShape::GARRAY:
|
||||
// FIXME(DM): For some absolutely unknown to me reason, move
|
||||
// semantics is involved here without const_cast to const (and
|
||||
|
||||
@@ -413,7 +413,7 @@ GAPI_OCV_KERNEL(GCPUSplit3, cv::gapi::core::GSplit3)
|
||||
std::vector<cv::Mat> outMats = {m1, m2, m3};
|
||||
cv::split(in, outMats);
|
||||
|
||||
// Write back FIXME: Write a helper or avoid this nonsence completely!
|
||||
// Write back FIXME: Write a helper or avoid this nonsense completely!
|
||||
m1 = outMats[0];
|
||||
m2 = outMats[1];
|
||||
m3 = outMats[2];
|
||||
@@ -427,7 +427,7 @@ GAPI_OCV_KERNEL(GCPUSplit4, cv::gapi::core::GSplit4)
|
||||
std::vector<cv::Mat> outMats = {m1, m2, m3, m4};
|
||||
cv::split(in, outMats);
|
||||
|
||||
// Write back FIXME: Write a helper or avoid this nonsence completely!
|
||||
// Write back FIXME: Write a helper or avoid this nonsense completely!
|
||||
m1 = outMats[0];
|
||||
m2 = outMats[1];
|
||||
m3 = outMats[2];
|
||||
|
||||
@@ -204,7 +204,7 @@ struct IECallContext
|
||||
// Input parameters passed to an inference operation.
|
||||
std::vector<cv::GArg> args;
|
||||
|
||||
//FIXME: avoid conversion of arguments from internal representaion to OpenCV one on each call
|
||||
//FIXME: avoid conversion of arguments from internal representation to OpenCV one on each call
|
||||
//to OCV kernel. (This can be achieved by a two single time conversions in GCPUExecutable::run,
|
||||
//once on enter for input and output arguments, and once before return for output arguments only
|
||||
//FIXME: check if the above applies to this backend (taken from CPU)
|
||||
|
||||
@@ -410,7 +410,7 @@ GAPI_OCL_KERNEL(GOCLSplit3, cv::gapi::core::GSplit3)
|
||||
std::vector<cv::UMat> outMats = {m1, m2, m3};
|
||||
cv::split(in, outMats);
|
||||
|
||||
// Write back FIXME: Write a helper or avoid this nonsence completely!
|
||||
// Write back FIXME: Write a helper or avoid this nonsense completely!
|
||||
m1 = outMats[0];
|
||||
m2 = outMats[1];
|
||||
m3 = outMats[2];
|
||||
@@ -424,7 +424,7 @@ GAPI_OCL_KERNEL(GOCLSplit4, cv::gapi::core::GSplit4)
|
||||
std::vector<cv::UMat> outMats = {m1, m2, m3, m4};
|
||||
cv::split(in, outMats);
|
||||
|
||||
// Write back FIXME: Write a helper or avoid this nonsence completely!
|
||||
// Write back FIXME: Write a helper or avoid this nonsense completely!
|
||||
m1 = outMats[0];
|
||||
m2 = outMats[1];
|
||||
m3 = outMats[2];
|
||||
|
||||
@@ -297,7 +297,7 @@ void cv::gimpl::GCompiler::compileIslands(ade::Graph &g)
|
||||
cv::GCompiled cv::gimpl::GCompiler::produceCompiled(GPtr &&pg)
|
||||
{
|
||||
// This is the final compilation step. Here:
|
||||
// - An instance of GExecutor is created. Depening on the platform,
|
||||
// - An instance of GExecutor is created. Depending on the platform,
|
||||
// build configuration, etc, a GExecutor may be:
|
||||
// - a naive single-thread graph interpreter;
|
||||
// - a std::thread-based thing
|
||||
|
||||
@@ -80,7 +80,7 @@ cv::gimpl::Unrolled cv::gimpl::unrollExpr(const GProtoArgs &ins,
|
||||
std::unordered_set<GObjId> in_objs_p;
|
||||
for (const auto& in_obj : ins)
|
||||
{
|
||||
// Objects are guarnateed to remain alive while this method
|
||||
// Objects are guaranteed to remain alive while this method
|
||||
// is working, so it is safe to keep pointers here and below
|
||||
in_objs_p.insert(&proto::origin_of(in_obj));
|
||||
}
|
||||
|
||||
@@ -454,7 +454,7 @@ namespace
|
||||
m_changes.enqueue<Change::DropLink>(m_g, m_cons, out_edge);
|
||||
}
|
||||
|
||||
// D: Process the intermediate slots (betweed Prod n Cons).
|
||||
// D: Process the intermediate slots (between Prod n Cons).
|
||||
// D/1 - Those which are optimized out are just removed from the model
|
||||
for (auto opt_slot_nh : mo.opt_interim_slots)
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace
|
||||
cv::GArgs in_args;
|
||||
};
|
||||
|
||||
// Generaly the algorithm is following
|
||||
// Generally the algorithm is following
|
||||
//
|
||||
// 1. Get GCompoundKernel implementation
|
||||
// 2. Create GCompoundContext
|
||||
|
||||
@@ -113,7 +113,7 @@ void cv::gimpl::passes::inferMeta(ade::passes::PassContext &ctx, bool meta_is_in
|
||||
} // for(sorted)
|
||||
}
|
||||
|
||||
// After all metadata in graph is infered, store a vector of inferred metas
|
||||
// After all metadata in graph is inferred, store a vector of inferred metas
|
||||
// for computation output values.
|
||||
void cv::gimpl::passes::storeResultingMeta(ade::passes::PassContext &ctx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user