java.lang.Object
io.qt.internal.QtJambiObject
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 enum QVideoSurfaceFormat::Directionstatic enum
Java wrapper for Qt enum QVideoSurfaceFormat::YCbCrColorSpaceNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQVideoSurfaceFormat
(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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final int
final double
final QSize
final int
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()
final QRect
viewport()
Methods inherited from class io.qt.QtObject
dispose, equals, 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
-
QVideoSurfaceFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
frameHeight
-
frameRate
-
frameSize
-
frameWidth
-
handleType
-
isMirrored
-
isValid
-
pixelAspectRatio
-
pixelFormat
-
property
-
propertyNames
-
scanLineDirection
-
setFrameRate
-
setFrameSize
-
setFrameSize
-
setMirrored
-
setPixelAspectRatio
-
setPixelAspectRatio
-
setProperty
-
setScanLineDirection
-
setViewport
-
setYCbCrColorSpace
-
sizeHint
-
viewport
-
yCbCrColorSpace
-
toString
-
clone
-