11#include <QAbstractVideoSurface>
12#include <QVideoSurfaceFormat>
38 QAbstractVideoSurface *m_surface;
39 QVideoSurfaceFormat *m_format;
void setVideoSurface(QAbstractVideoSurface *surface)
sets the abstract surface
void resizeWindowRequest()
QString getPixelAsStr(int x, int y)
Pics the rgb value of the pixel specified by x and y and return it as a string.
QAbstractVideoSurface * videoSurface
int getHeight()
returns the height of the surface
int getWidth()
returns the width of the surface
void onNewVideoContentReceived(QVideoFrame *frame)
This gets the frame and presents it to the abstract surface.