PonyPlayer
Fireworks类 参考

#include <fireworks.hpp>

类 Fireworks 继承关系图:
Hurricane Thumbnail

Public 槽

void setVideoFrame (const VideoFrameRef &pic)
 
Q_INVOKABLE void setLUTFilter (const QString &path)
 

信号

void brightnessChanged ()
 
void contrastChanged ()
 
void saturationChanged ()
 
void frameSizeChanged ()
 
void keepFrameRateChanged ()
 

Public 成员函数

 Fireworks (QQuickItem *parent=nullptr)
 
 ~Fireworks () override
 
 PONY_GUARD_BY (MAIN) private
 
void setBrightness (GLfloat b)
 
GLfloat getContrast () const
 
void setContrast (GLfloat c)
 
GLfloat getSaturation () const
 
void setSaturation (GLfloat s)
 
int getHeight () const
 
int getWidth () const
 
double getFrameRate () const
 

Protected 成员函数

QSGNode * updatePaintNode (QSGNode *node, UpdatePaintNodeData *data) override
 

属性

QML_ELEMENTbool keepFrameRate
 
int frameHeight
 
int frameWidth
 
double frameRate
 
GLfloat brightness
 
GLfloat contrast
 
GLfloat saturation
 
QString filterPrefix
 
QStringList filterJsons
 

构造及析构函数说明

◆ Fireworks()

Fireworks::Fireworks ( QQuickItem *  parent = nullptr)
inlineexplicit

◆ ~Fireworks()

Fireworks::~Fireworks ( )
inlineoverride

成员函数说明

◆ brightnessChanged

void Fireworks::brightnessChanged ( )
signal

◆ contrastChanged

void Fireworks::contrastChanged ( )
signal

◆ frameSizeChanged

void Fireworks::frameSizeChanged ( )
signal

◆ getContrast()

GLfloat Fireworks::getContrast ( ) const
inline

◆ getFrameRate()

double Fireworks::getFrameRate ( ) const
inline

◆ getHeight()

int Fireworks::getHeight ( ) const
inline

◆ getSaturation()

GLfloat Fireworks::getSaturation ( ) const
inline

◆ getWidth()

int Fireworks::getWidth ( ) const
inline

◆ keepFrameRateChanged

void Fireworks::keepFrameRateChanged ( )
signal

◆ PONY_GUARD_BY()

Fireworks::PONY_GUARD_BY ( MAIN  )
inline

◆ saturationChanged

void Fireworks::saturationChanged ( )
signal

◆ setBrightness()

void Fireworks::setBrightness ( GLfloat  b)
inline

◆ setContrast()

void Fireworks::setContrast ( GLfloat  c)
inline

◆ setLUTFilter

Q_INVOKABLE void Fireworks::setLUTFilter ( const QString &  path)
inlineslot

设置LUT滤镜路径

参数
path

◆ setSaturation()

void Fireworks::setSaturation ( GLfloat  s)
inline

◆ setVideoFrame

void Fireworks::setVideoFrame ( const VideoFrameRef pic)
inlineslot

◆ updatePaintNode()

QSGNode * Fireworks::updatePaintNode ( QSGNode *  node,
UpdatePaintNodeData *  data 
)
inlineoverrideprotected

属性说明

◆ brightness

GLfloat Fireworks::brightness
readwrite

◆ contrast

GLfloat Fireworks::contrast
readwrite

◆ filterJsons

QStringList Fireworks::filterJsons
read

◆ filterPrefix

QString Fireworks::filterPrefix
read

◆ frameHeight

int Fireworks::frameHeight
read

◆ frameRate

double Fireworks::frameRate
read

◆ frameWidth

int Fireworks::frameWidth
read

◆ keepFrameRate

QML_ELEMENTbool Fireworks::keepFrameRate
readwrite

◆ saturation

GLfloat Fireworks::saturation
readwrite

该类的文档由以下文件生成: