Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QFFmpeg::TextureConverter Class Reference

#include <qffmpeghwaccel_p.h>

+ Collaboration diagram for QFFmpeg::TextureConverter:

Public Member Functions

 TextureConverter (QRhi *rhi=nullptr)
 
void init (AVFrame *frame)
 
TextureSetgetTextures (AVFrame *frame)
 
bool isNull () const
 

Detailed Description

Definition at line 56 of file qffmpeghwaccel_p.h.

Constructor & Destructor Documentation

◆ TextureConverter()

QFFmpeg::TextureConverter::TextureConverter ( QRhi rhi = nullptr)

Definition at line 312 of file qffmpeghwaccel.cpp.

Member Function Documentation

◆ getTextures()

TextureSet * QFFmpeg::TextureConverter::getTextures ( AVFrame *  frame)

Definition at line 318 of file qffmpeghwaccel.cpp.

References frame, isNull(), and Q_ASSERT.

Referenced by QFFmpegVideoBuffer::mapTextures().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

void QFFmpeg::TextureConverter::init ( AVFrame *  frame)
inline

Definition at line 70 of file qffmpeghwaccel_p.h.

References fmt, and frame.

Referenced by QFFmpegVideoBuffer::setTextureConverter().

+ Here is the caller graph for this function:

◆ isNull()

bool QFFmpeg::TextureConverter::isNull ( ) const
inline

Definition at line 76 of file qffmpeghwaccel_p.h.

Referenced by getTextures(), QFFmpegVideoBuffer::mapTextures(), and QFFmpegVideoBuffer::setTextureConverter().

+ Here is the caller graph for this function:

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