Skip to content
Snippets Groups Projects
Commit 732d2da3 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron
Browse files

Merge branch 'update-to-processlib-buffer-derivable-model' into 'master'

Update to processlib buffer derivable model

See merge request !22
parents 767a5262 7c32322a
No related branches found
No related tags found
1 merge request!22Update to processlib buffer derivable model
Pipeline #175539 passed
......@@ -19,7 +19,7 @@ requirements:
host:
- python {{ python }}
- sip 4.19* # API v12.7
- lima-core >=1.9.20
- lima-core 1.10.*
- lima-common-espia
build:
- cmake
......
......@@ -229,9 +229,8 @@ void TestFrameCallback::frameInfo2Data(const HwFrameInfoType& frame_info,
<< DEB_VAR1(image_type);
}
Buffer *buffer = new Buffer();
buffer->owner = Buffer::MAPPED;
buffer->data = (void*)frame_info.frame_ptr;
std::function<void(void *)> empty_deleter;
BufferBase *buffer = new MappedBuffer(frame_info.frame_ptr, empty_deleter);
data.setBuffer(buffer);
buffer->unref();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment