Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 57 of file qffmpeghwaccel_p.h.

Constructor & Destructor Documentation

◆ TextureConverter()

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

Definition at line 448 of file qffmpeghwaccel.cpp.

Member Function Documentation

◆ getTextures()

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

Definition at line 454 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: