QAbstractVideoSurface Class Reference
[QtMultimedia module]
Inherits QObject.
Types
- enum Error { NoError, UnsupportedFormatError, IncorrectFormatError, StoppedError, ResourceError }
Methods
Qt Signals
Detailed Description
Type Documentation
QAbstractVideoSurface.Error
Method Documentation
QAbstractVideoSurface.__init__ (self, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
Error QAbstractVideoSurface.error (self)
bool QAbstractVideoSurface.isActive (self)
bool QAbstractVideoSurface.isFormatSupported (self, QVideoSurfaceFormat)
bool QAbstractVideoSurface.present (self, QVideoFrame)
This method is abstract and should be reimplemented in any sub-class.
QAbstractVideoSurface.setError (self, Error)
bool QAbstractVideoSurface.start (self, QVideoSurfaceFormat)
QAbstractVideoSurface.stop (self)
list-of-QVideoFrame.PixelFormat QAbstractVideoSurface.supportedPixelFormats (self, QAbstractVideoBuffer.HandleType type = QAbstractVideoBuffer.NoHandle)
This method is abstract and should be reimplemented in any sub-class.
QVideoSurfaceFormat QAbstractVideoSurface.surfaceFormat (self)
Qt Signal Documentation
void activeChanged (bool)
This is the default overload of this signal.
void supportedFormatsChanged ()
This is the default overload of this signal.
void surfaceFormatChanged (const QVideoSurfaceFormat&)
This is the default overload of this signal.