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:

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

QRhiValueMapper< TextureConvertertextureConverterMapper

Detailed Description

The HwFrameContextData class contains custom belongings of hw frames context.

Definition at line 48 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 411 of file qffmpeghwaccel.cpp.

Member Data Documentation

◆ textureConverterMapper

QRhiValueMapper<TextureConverter> QFFmpeg::HwFrameContextData::textureConverterMapper

Definition at line 50 of file qffmpeghwaccel_p.h.


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