* Update md files. Add cpp in docs/examples * Normalize all the line endings * Fix block_id in snippets * Fix utf-8 encoding * Add new folder for snippets * Fix issues with compiling code from snippets * Added conteiner iterator fix
18 lines
423 B
C++
18 lines
423 B
C++
#include <inference_engine.hpp>
|
|
#include "ie_plugin_config.hpp"
|
|
#include "hetero/hetero_plugin_config.hpp"
|
|
|
|
|
|
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;
|
|
}
|