-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vpl gpu accel impl #8
base: vpl_source_final_perf
Are you sure you want to change the base?
Conversation
@@ -521,6 +521,7 @@ inline IE::Blob::Ptr extractBlob(IECallContext& ctx, std::size_t i) { | |||
|
|||
switch (ctx.inShape(i)) { | |||
case cv::GShape::GFRAME: { | |||
// GAPI_LOG_WARNING(nullptr, "-S- ACCESS"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, remove
auto r_in = in.access(cv::MediaFrame::Access::R); | ||
cv::Mat upsample_uv, yuv; | ||
{ | ||
auto r_in = in.access(cv::MediaFrame::Access::R); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did these changes get here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's safest R-W accessor implementation
According to well-known applied R-W concept: there should no simultaneous R & W access
@@ -281,7 +281,7 @@ cv::gimpl::GCompiler::GCompiler(const cv::GComputation &c, | |||
if (dump_path.has_value()) | |||
{ | |||
m_e.addPass("exec", "dump_dot", std::bind(passes::dumpGraph, _1, | |||
dump_path.value())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, revert
Add DX11 data structures
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.