int frame_type
A combination of MFX_MEMTYPE_* describing the frame pool.
This struct is allocated as AVHWDeviceContext.hwctx.
mfxFrameSurface1 * surfaces
void * loader
The mfxLoader handle used for mfxSession creation.
This struct is allocated as AVHWFramesContext.hwctx.