2021-06-01 16:31:29 +03:00
|
|
|
#include <ie_core.hpp>
|
2020-09-22 18:01:48 +03:00
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
using namespace InferenceEngine;
|
|
|
|
|
//! [part2]
|
|
|
|
|
//Lock Intel MSS surface
|
|
|
|
|
mfxFrameSurface1 *frame_in; //Input MSS surface.
|
|
|
|
|
mfxFrameAllocator* pAlloc = &m_mfxCore.FrameAllocator();
|
|
|
|
|
pAlloc->Lock(pAlloc->pthis, frame_in->Data.MemId, &frame_in->Data);
|
|
|
|
|
//Inference Engine code
|
|
|
|
|
//! [part2]
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|