#include <videosurface.h>
Definition at line 27 of file videosurface.h.
◆ VideoSurface() [1/2]
| VideoSurface::VideoSurface |
( |
const QPixmap & |
avatar, |
|
|
QWidget * |
parent = nullptr, |
|
|
bool |
expanding = false |
|
) |
| |
◆ VideoSurface() [2/2]
| VideoSurface::VideoSurface |
( |
const QPixmap & |
avatar, |
|
|
VideoSource * |
source, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ ~VideoSurface()
| VideoSurface::~VideoSurface |
( |
| ) |
|
◆ boundaryChanged
| void VideoSurface::boundaryChanged |
( |
| ) |
|
|
signal |
◆ getAvatar()
| QPixmap VideoSurface::getAvatar |
( |
| ) |
const |
◆ getBoundingRect()
| QRect VideoSurface::getBoundingRect |
( |
| ) |
const |
◆ getRatio()
| float VideoSurface::getRatio |
( |
| ) |
const |
◆ isExpanding()
| bool VideoSurface::isExpanding |
( |
| ) |
const |
◆ lock()
| void VideoSurface::lock |
( |
| ) |
|
|
private |
◆ onNewFrameAvailable
| void VideoSurface::onNewFrameAvailable |
( |
const std::shared_ptr< VideoFrame > & |
newFrame | ) |
|
|
privateslot |
◆ onSourceStopped
| void VideoSurface::onSourceStopped |
( |
| ) |
|
|
privateslot |
◆ paintEvent()
| void VideoSurface::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
finalprotected |
◆ ratioChanged
| void VideoSurface::ratioChanged |
( |
| ) |
|
|
signal |
◆ recalulateBounds()
| void VideoSurface::recalulateBounds |
( |
| ) |
|
|
private |
◆ resizeEvent()
| void VideoSurface::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
finalprotected |
◆ setAvatar()
| void VideoSurface::setAvatar |
( |
const QPixmap & |
pixmap | ) |
|
◆ setSource()
Update source.
- Note
- nullptr is a valid option.
- Parameters
-
Unsubscribe from old source and subscribe to new.
Definition at line 78 of file videosurface.cpp.
◆ showEvent()
| void VideoSurface::showEvent |
( |
QShowEvent * |
event | ) |
|
|
finalprotected |
◆ subscribe()
| void VideoSurface::subscribe |
( |
| ) |
|
|
protected |
◆ unlock()
| void VideoSurface::unlock |
( |
| ) |
|
|
private |
◆ unsubscribe()
| void VideoSurface::unsubscribe |
( |
| ) |
|
|
protected |
◆ avatar
| QPixmap VideoSurface::avatar |
|
private |
◆ boundingRect
| QRect VideoSurface::boundingRect |
|
private |
◆ expanding
| bool VideoSurface::expanding |
|
private |
◆ frameLock
| std::atomic_bool VideoSurface::frameLock |
|
private |
◆ hasSubscribed
| uint8_t VideoSurface::hasSubscribed |
|
private |
◆ lastFrame
| std::shared_ptr<VideoFrame> VideoSurface::lastFrame |
|
private |
◆ ratio
| float VideoSurface::ratio |
|
private |
◆ source
The documentation for this class was generated from the following files: