java.lang.Object
io.qt.QtObject
io.qt.multimedia.QVideoFrameFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies the stream format of a video presentation surface
Java wrapper for Qt's class QVideoFrameFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QVideoFrameFormat::Directionstatic enum
Java wrapper for Qt enum QVideoFrameFormat::PixelFormatstatic enum
Java wrapper for Qt enum QVideoFrameFormat::YCbCrColorSpaceNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionQVideoFrameFormat
(QSize size, QVideoFrameFormat.PixelFormat pixelFormat) QVideoFrameFormat
(QVideoFrameFormat format) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QVideoFrameFormat format) clone()
final void
detach()
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 String
final int
final double
final QSize
final int
int
hashCode()
static QImage.Format
final boolean
final boolean
isValid()
static String
pixelFormatToString
(QVideoFrameFormat.PixelFormat pixelFormat) final int
final void
setFrameRate
(double rate) final void
setFrameSize
(int width, int height) final void
setFrameSize
(QSize size) final void
setMirrored
(boolean mirrored) final void
setScanLineDirection
(QVideoFrameFormat.Direction direction) final void
setViewport
(QRect viewport) final void
setYCbCrColorSpace
(QVideoFrameFormat.YCbCrColorSpace colorSpace) final void
swap
(QVideoFrameFormat other) toString()
final void
updateUniformData
(QByteArray dst, QVideoFrame frame, QMatrix4x4 transform, float opacity) final String
final QRect
viewport()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
NPixelFormats
public static final int NPixelFormats
-
-
Constructor Details
-
QVideoFrameFormat
public QVideoFrameFormat() -
QVideoFrameFormat
-
QVideoFrameFormat
-
QVideoFrameFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
detach
-
fragmentShaderFileName
-
frameHeight
-
frameRate
-
frameSize
-
frameWidth
-
isMirrored
-
isValid
-
assign
-
pixelFormat
-
planeCount
-
scanLineDirection
-
setFrameRate
-
setFrameSize
-
setFrameSize
-
setMirrored
-
setScanLineDirection
-
setViewport
-
setYCbCrColorSpace
-
swap
-
updateUniformData
@QtUninvokable public final void updateUniformData(QByteArray dst, QVideoFrame frame, QMatrix4x4 transform, float opacity) -
vertexShaderFileName
-
viewport
-
yCbCrColorSpace
-
imageFormatFromPixelFormat
-
pixelFormatFromImageFormat
-
pixelFormatToString
-
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
-