Visible to Intel only — GUID: GUID-D5AE779F-402C-4DD1-9E80-D1C679723525
Visible to Intel only — GUID: GUID-D5AE779F-402C-4DD1-9E80-D1C679723525
oneVPL Usage
Applications can use oneVPL to program video decoding, encoding, and image processing components. oneVPL provides a default CPU implementation that can be used as a reference design before using other accelerators.
oneVPL applications follow a basic sequence in the programming model:
The oneVPL dispatcher automatically finds all available accelerators during runtime.
Dispatcher uses the selected accelerator context to initialize a session.
oneVPL configures the video component at the start of the session.
oneVPL processing loop is launched. The processing loop handles work asynchronously.
If the application chooses to let oneVPL manage working memory, then memory allocation will be implicitly managed by the video calls in the processing loop.
After work is done, oneVPL uses a clear call to clean up all resources.
The oneVPL API is defined using a classic C style interface and is compatible with C++ and SYCL*.