int frame_type
A combination of MFX_MEMTYPE_* describing the frame pool.
This struct is allocated as AVHWDeviceContext.hwctx.
mfxFrameSurface1 * surfaces
A pointer to a mfxFrameSurface1 struct.
void * loader
The mfxLoader handle used for mfxSession creation.
int nb_surfaces
Number of frames in the pool.
mfxFrameInfo * info
A pointer to a mfxFrameInfo struct.
This struct is allocated as AVHWFramesContext.hwctx.