Skip to content

msdk: Improve memory abstraction for encoder and vpp

When the input buffer is of va memory or dmabuf memory but not from the msdk_pool, the encoder is supposed to recognize these memories and directly wrap them as mfxFrameSurface1. Also, the va pool is applied here as msdkenc's and msdkvpp's internal pool, which benefits the mixing usage of msdk plugins and va plugins, e.g. pipeline like "vah264dec ! msdkh264enc !” can run with zero copy.

Edited by Mengkejiergeli Ba

Merge request reports