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
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQVideoSurfaceFormat::Directionstatic enumJava wrapper for Qt enumQVideoSurfaceFormat::YCbCrColorSpace -
Constructor Summary
ConstructorsConstructorDescriptionQVideoSurfaceFormat(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 voidassign(QVideoSurfaceFormat format) clone()Creates and returns a copy of this object.final booleanequals(QVideoSurfaceFormat format) booleanfinal intfinal doublefinal QSizefinal intinthashCode()Returns the objects's hash code computed byqHash(QVideoSurfaceFormat).final booleanfinal booleanisValid()final QSizefinal QVideoFrame.PixelFormatfinal Objectfinal QList<QByteArray>final voidsetFrameRate(double rate) final voidsetFrameSize(int width, int height) final voidsetFrameSize(QSize size) final voidsetMirrored(boolean mirrored) final voidsetPixelAspectRatio(int width, int height) final voidsetPixelAspectRatio(QSize ratio) final voidsetProperty(String name, Object value) final voidfinal voidsetViewport(QRect viewport) final voidfinal QSizesizeHint()toString()Seeoperator<<(QDebug,QVideoSurfaceFormat) final QRectviewport()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)
-