Skip to content

Vpl gpu accel impl#8

Open
sivanov-work wants to merge 23 commits into
vpl_source_final_perffrom
vpl_gpu_accel_impl
Open

Vpl gpu accel impl#8
sivanov-work wants to merge 23 commits into
vpl_source_final_perffrom
vpl_gpu_accel_impl

Conversation

@sivanov-work
Copy link
Copy Markdown
Owner

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

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake


switch (ctx.inShape(i)) {
case cv::GShape::GFRAME: {
// GAPI_LOG_WARNING(nullptr, "-S- ACCESS");
Copy link
Copy Markdown
Collaborator

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);
Copy link
Copy Markdown
Collaborator

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?

Copy link
Copy Markdown
Owner Author

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

if (dump_path.has_value())
{
m_e.addPass("exec", "dump_dot", std::bind(passes::dumpGraph, _1,
dump_path.value()));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, revert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants