FFmpeg
Data Fields
QSVFramesContext Struct Reference

#include <qsv_internal.h>

Data Fields

AVBufferRefhw_frames_ctx
 
void * logctx
 
QSVMidmids
 The memory ids for the external frames. More...
 
int nb_mids
 
AVQSVFramesContext p
 The public AVQSVFramesContext. More...
 
mfxSession session_download
 
atomic_int session_download_init
 
mfxSession session_upload
 
atomic_int session_upload_init
 
AVBufferRefchild_frames_ref
 
mfxFrameSurface1 * surfaces_internal
 
mfxHDLPair * handle_pairs_internal
 
int nb_surfaces_used
 
mfxMemId * mem_ids
 
mfxFrameSurface1 ** surface_ptrs
 
mfxExtOpaqueSurfaceAlloc opaque_alloc
 
mfxExtBuffer * ext_buffers [1]
 
AVFrame realigned_upload_frame
 
AVFrame realigned_download_frame
 

Detailed Description

Definition at line 114 of file qsv_internal.h.

Field Documentation

◆ hw_frames_ctx

AVBufferRef* QSVFramesContext::hw_frames_ctx

◆ logctx

void* QSVFramesContext::logctx

Definition at line 116 of file qsv_internal.h.

Referenced by ff_qsv_init_session_frames().

◆ mids

QSVMid* QSVFramesContext::mids

The memory ids for the external frames.

Refcounted (via the RefStruct API), since we need one reference owned by the QSVFramesContext (i.e. by the encoder/decoder) and another one given to the MFX session from the frame allocator.

Definition at line 124 of file qsv_internal.h.

Referenced by alloc_frame(), ff_qsv_enc_close(), ff_qsv_init_session_frames(), qsv_decode_close_qsvcontext(), and submit_frame().

◆ nb_mids

int QSVFramesContext::nb_mids

Definition at line 125 of file qsv_internal.h.

Referenced by ff_qsv_init_session_frames().

◆ p

AVQSVFramesContext QSVFramesContext::p

The public AVQSVFramesContext.

See hwcontext_qsv.h for it.

Definition at line 95 of file hwcontext_qsv.c.

◆ session_download

mfxSession QSVFramesContext::session_download

Definition at line 97 of file hwcontext_qsv.c.

◆ session_download_init

atomic_int QSVFramesContext::session_download_init

Definition at line 98 of file hwcontext_qsv.c.

◆ session_upload

mfxSession QSVFramesContext::session_upload

Definition at line 99 of file hwcontext_qsv.c.

◆ session_upload_init

atomic_int QSVFramesContext::session_upload_init

Definition at line 100 of file hwcontext_qsv.c.

◆ child_frames_ref

AVBufferRef* QSVFramesContext::child_frames_ref

Definition at line 105 of file hwcontext_qsv.c.

◆ surfaces_internal

mfxFrameSurface1* QSVFramesContext::surfaces_internal

Definition at line 106 of file hwcontext_qsv.c.

◆ handle_pairs_internal

mfxHDLPair* QSVFramesContext::handle_pairs_internal

Definition at line 107 of file hwcontext_qsv.c.

◆ nb_surfaces_used

int QSVFramesContext::nb_surfaces_used

Definition at line 108 of file hwcontext_qsv.c.

◆ mem_ids

mfxMemId* QSVFramesContext::mem_ids

Definition at line 111 of file hwcontext_qsv.c.

◆ surface_ptrs

mfxFrameSurface1** QSVFramesContext::surface_ptrs

Definition at line 114 of file hwcontext_qsv.c.

◆ opaque_alloc

mfxExtOpaqueSurfaceAlloc QSVFramesContext::opaque_alloc

Definition at line 116 of file hwcontext_qsv.c.

◆ ext_buffers

mfxExtBuffer* QSVFramesContext::ext_buffers[1]

Definition at line 117 of file hwcontext_qsv.c.

◆ realigned_upload_frame

AVFrame QSVFramesContext::realigned_upload_frame

Definition at line 119 of file hwcontext_qsv.c.

◆ realigned_download_frame

AVFrame QSVFramesContext::realigned_download_frame

Definition at line 120 of file hwcontext_qsv.c.


The documentation for this struct was generated from the following files: