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's 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 TypeMethodDescriptionfinal void
assign
(QVideoSurfaceFormat format) clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final int
final double
final QSize
final int
int
hashCode()
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, 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
-
assign
-
pixelAspectRatio
-
pixelFormat
-
property
-
propertyNames
-
scanLineDirection
-
setFrameRate
-
setFrameSize
-
setFrameSize
-
setMirrored
-
setPixelAspectRatio
-
setPixelAspectRatio
-
setProperty
-
setScanLineDirection
-
setViewport
-
setYCbCrColorSpace
-
sizeHint
-
viewport
-
yCbCrColorSpace
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-