[][src]Function opencv::core::initialize_context_from_va

pub fn initialize_context_from_va(
    display: va_display,
    try_interop: bool
) -> Result<Context>

Creates OpenCL context from VA.

Parameters

  • display: - VADisplay for which CL interop should be established.
  • tryInterop: - try to set up for interoperability, if true; set up for use slow copy if false.

Returns

Returns reference to OpenCL Context

C++ default parameters

  • try_interop: true