FFmpeg
|
This struct is allocated as AVHWFramesContext.hwctx. More...
#include <hwcontext_qsv.h>
Data Fields | |
mfxFrameSurface1 * | surfaces |
A pointer to a mfxFrameSurface1 struct. More... | |
int | nb_surfaces |
Number of frames in the pool. More... | |
int | frame_type |
A combination of MFX_MEMTYPE_* describing the frame pool. More... | |
mfxFrameInfo * | info |
A pointer to a mfxFrameInfo struct. More... | |
This struct is allocated as AVHWFramesContext.hwctx.
Definition at line 53 of file hwcontext_qsv.h.
mfxFrameSurface1* AVQSVFramesContext::surfaces |
A pointer to a mfxFrameSurface1 struct.
It is available when nb_surfaces is non-zero.
Definition at line 59 of file hwcontext_qsv.h.
Referenced by fill_frameinfo_by_link(), frame_alloc(), init_vpp_session(), qsv_fixed_frames_derive_to(), qsv_fixed_pool_alloc(), qsv_fixed_pool_map_to(), qsv_frames_derive_from(), qsv_frames_init(), qsv_init_internal_session(), and qsv_init_pool().
int AVQSVFramesContext::nb_surfaces |
Number of frames in the pool.
It is 0 for dynamic frame pools or AVHWFramesContext.initial_pool_size for fixed frame pools.
Note only oneVPL GPU runtime 2.9+ can support dynamic frame pools on d3d11va or vaapi
Definition at line 70 of file hwcontext_qsv.h.
Referenced by fill_frameinfo_by_link(), frame_alloc(), init_vpp_session(), qsv_dynamic_frames_derive_to(), qsv_fixed_frames_derive_to(), qsv_fixed_pool_alloc(), qsv_fixed_pool_map_to(), qsv_frames_derive_from(), qsv_frames_init(), qsv_init_internal_session(), qsv_init_pool(), qsv_map_to(), and qsv_pool_alloc().
int AVQSVFramesContext::frame_type |
A combination of MFX_MEMTYPE_* describing the frame pool.
Definition at line 75 of file hwcontext_qsv.h.
Referenced by init_vpp_session(), qsv_decode_preinit(), qsv_dynamic_frames_derive_to(), qsv_fixed_frames_derive_to(), qsv_frames_derive_from(), qsv_frames_init(), qsv_init_child_ctx(), qsv_init_internal_session(), and qsv_init_pool().
mfxFrameInfo* AVQSVFramesContext::info |
A pointer to a mfxFrameInfo struct.
It is available when nb_surfaces is 0, all buffers allocated from the pool have the same mfxFrameInfo.
Definition at line 83 of file hwcontext_qsv.h.
Referenced by fill_frameinfo_by_link(), frame_alloc(), qsv_dynamic_frames_derive_to(), qsv_init_internal_session(), and qsv_init_pool().