Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QFFmpeg::HwFrameContextData Struct Reference

The HwFrameContextData class contains custom belongings of hw frames context. More...

#include <qffmpeghwaccel_p.h>

Collaboration diagram for QFFmpeg::HwFrameContextData:

Public Types

using AVHWFramesContextDeleter = void (*)(struct AVHWFramesContext *ctx)

Static Public Member Functions

static HwFrameContextDataensure (AVFrame &hwFrame)
 gets or creates an instance of the class, associated with the frames context of the specified frame. Note, AVFrame holds shared ownership of the frames context, so consider this when designing HwFrameContextData's lifetime.

Public Attributes

AVHWFramesContextDeleter avDeleter = nullptr
voidavUserOpaque = nullptr
QRhiValueMapper< TextureConvertertextureConverterMapper = {}

Detailed Description

The HwFrameContextData class contains custom belongings of hw frames context.

Definition at line 48 of file qffmpeghwaccel_p.h.

Member Typedef Documentation

◆ AVHWFramesContextDeleter

using QFFmpeg::HwFrameContextData::AVHWFramesContextDeleter = void (*)(struct AVHWFramesContext *ctx)

Definition at line 50 of file qffmpeghwaccel_p.h.

Member Function Documentation

◆ ensure()

HwFrameContextData & QFFmpeg::HwFrameContextData::ensure ( AVFrame & hwFrame)
static

gets or creates an instance of the class, associated with the frames context of the specified frame. Note, AVFrame holds shared ownership of the frames context, so consider this when designing HwFrameContextData's lifetime.

Definition at line 420 of file qffmpeghwaccel.cpp.

References QFFmpeg::deleteHwFrameContextData().

Here is the call graph for this function:

Member Data Documentation

◆ avDeleter

AVHWFramesContextDeleter QFFmpeg::HwFrameContextData::avDeleter = nullptr

Definition at line 51 of file qffmpeghwaccel_p.h.

◆ avUserOpaque

void* QFFmpeg::HwFrameContextData::avUserOpaque = nullptr

Definition at line 52 of file qffmpeghwaccel_p.h.

◆ textureConverterMapper

QRhiValueMapper<TextureConverter> QFFmpeg::HwFrameContextData::textureConverterMapper = {}

Definition at line 54 of file qffmpeghwaccel_p.h.


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