PonyPlayer
|
#include <thumbnail.hpp>
Public 槽 | |
Q_INVOKABLE void | previewRequest (qreal pos) |
![]() | |
void | setVideoFrame (const VideoFrameRef &pic) |
Q_INVOKABLE void | setLUTFilter (const QString &path) |
信号 | |
void | previewResponse (qreal pos, QPrivateSignal) |
void | signalPreviewRequest (qreal pos, QPrivateSignal) |
![]() | |
void | brightnessChanged () |
void | contrastChanged () |
void | saturationChanged () |
void | frameSizeChanged () |
void | keepFrameRateChanged () |
Public 成员函数 | |
Thumbnail (QQuickItem *parent=nullptr) | |
const QString & | getPlayer () const |
void | setPlayer (const QString &player) |
virtual | ~Thumbnail () override |
![]() | |
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 |
属性 | |
QML_ELEMENTQString | player |
![]() | |
QML_ELEMENTbool | keepFrameRate |
int | frameHeight |
int | frameWidth |
double | frameRate |
GLfloat | brightness |
GLfloat | contrast |
GLfloat | saturation |
QString | filterPrefix |
QStringList | filterJsons |
额外继承的成员函数 | |
![]() | |
QSGNode * | updatePaintNode (QSGNode *node, UpdatePaintNodeData *data) override |
|
inline |
|
inlineoverridevirtual |
|
inline |
|
inlineslot |
请求预览, 当预览结果准备好之后, 将通过信号通知
pos | 请求预览的位置(单位: s) |
|
signal |
预览结果图像
pos | 位置(单位: s), 不一定和请求位置一致 |
|
inline |
|
signal |
|
readwrite |