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
-
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.final boolean
equals
(QVideoSurfaceFormat format) 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
public QVideoSurfaceFormat(QSize size, QVideoFrame.PixelFormat pixelFormat, QAbstractVideoBuffer.HandleType handleType) - Parameters:
size
-pixelFormat
-handleType
-
-
QVideoSurfaceFormat
- Parameters:
format
-
-
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
.
-
-
Method Details
-
frameHeight
- Returns:
-
frameRate
- Returns:
-
frameSize
- Returns:
-
frameWidth
- Returns:
-
handleType
- Returns:
-
isMirrored
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
isValid
- Returns:
-
assign
- Parameters:
format
-
-
equals
- Parameters:
format
-- Returns:
-
pixelAspectRatio
- Returns:
-
pixelFormat
- Returns:
-
property
- Parameters:
name
-- Returns:
-
propertyNames
- Returns:
-
scanLineDirection
- Returns:
-
setFrameRate
- Parameters:
rate
-
-
setFrameSize
- Parameters:
size
-
-
setFrameSize
- Parameters:
width
-height
-
-
setMirrored
- Parameters:
mirrored
-- Since:
- This function was introduced in Qt 5.11.
-
setPixelAspectRatio
- Parameters:
ratio
-
-
setPixelAspectRatio
- Parameters:
width
-height
-
-
setProperty
- Parameters:
name
-value
-
-
setScanLineDirection
- Parameters:
direction
-
-
setViewport
- Parameters:
viewport
-
-
setYCbCrColorSpace
- Parameters:
colorSpace
-
-
sizeHint
- Returns:
-
viewport
- Returns:
-
yCbCrColorSpace
- Returns:
-
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.
See
QVideoSurfaceFormat::
QVideoSurfaceFormat(QVideoSurfaceFormat)
-