java.lang.Object
io.qt.QtObject
io.qt.multimedia.QVideoSurfaceFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies the stream format of a video presentation surface
Java wrapper for Qt class QVideoSurfaceFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQVideoSurfaceFormat::Direction
static enum
Java wrapper for Qt enumQVideoSurfaceFormat::YCbCrColorSpace
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQVideoSurfaceFormat
(QSize size, QVideoFrame.PixelFormat pixelFormat) Overloaded constructor forQVideoSurfaceFormat(io.qt.core.QSize, io.qt.multimedia.QVideoFrame.PixelFormat, io.qt.multimedia.QAbstractVideoBuffer.HandleType)
withhandleType = io.qt.multimedia.QAbstractVideoBuffer.HandleType.NoHandle
.QVideoSurfaceFormat
(QSize size, QVideoFrame.PixelFormat pixelFormat, QAbstractVideoBuffer.HandleType handleType) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QVideoSurfaceFormat format) clone()
Creates and returns a copy of this object.boolean
final int
final double
final QSize
final int
int
hashCode()
Returns the objects's hash code computed byqHash(QVideoSurfaceFormat)
.final boolean
final boolean
isValid()
final QSize
final QVideoFrame.PixelFormat
final Object
final QList<QByteArray>
final void
setFrameRate
(double rate) final void
setFrameSize
(int width, int height) final void
setFrameSize
(QSize size) final void
setMirrored
(boolean mirrored) final void
setPixelAspectRatio
(int width, int height) final void
setPixelAspectRatio
(QSize ratio) final void
setProperty
(String name, Object value) final void
final void
setViewport
(QRect viewport) final void
final QSize
sizeHint()
toString()
Seeoperator<<(QDebug,
QVideoSurfaceFormat) final QRect
viewport()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QVideoSurfaceFormat
public QVideoSurfaceFormat() -
QVideoSurfaceFormat
Overloaded constructor for
QVideoSurfaceFormat(io.qt.core.QSize, io.qt.multimedia.QVideoFrame.PixelFormat, io.qt.multimedia.QAbstractVideoBuffer.HandleType)
withhandleType = io.qt.multimedia.QAbstractVideoBuffer.HandleType.NoHandle
. -
QVideoSurfaceFormat
public QVideoSurfaceFormat(QSize size, QVideoFrame.PixelFormat pixelFormat, QAbstractVideoBuffer.HandleType handleType) -
QVideoSurfaceFormat
-
-
Method Details
-
frameHeight
-
frameRate
-
frameSize
-
frameWidth
-
handleType
-
isMirrored
-
isValid
-
assign
-
pixelAspectRatio
-
pixelFormat
-
property
-
propertyNames
-
scanLineDirection
-
setFrameRate
-
setFrameSize
-
setFrameSize
-
setMirrored
-
setPixelAspectRatio
-
setPixelAspectRatio
-
setProperty
-
setScanLineDirection
-
setViewport
-
setYCbCrColorSpace
-
sizeHint
-
viewport
-
yCbCrColorSpace
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QVideoSurfaceFormat)
. -
toString
See
operator<<(QDebug,
QVideoSurfaceFormat) -
clone
Creates and returns a copy of this object.
-