Same as previous sample but uses the Intel Media SDK opaque memory feature. The opaque memory type hides surface allocation specifics and allows the SDK to select the best type for the execution in HW or SW