java.lang.Object
io.qt.internal.QtJambiObject
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::ColorRangestatic enum
Java wrapper for Qt enum QVideoFrameFormat::ColorSpacestatic enum
Java wrapper for Qt enum QVideoFrameFormat::ColorTransferstatic 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 TypeMethodDescriptionclone()
final void
detach()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final String
final int
final double
final QSize
final int
int
hashCode()
static QImage.Format
final boolean
final boolean
isValid()
final float
static String
pixelFormatToString
(QVideoFrameFormat.PixelFormat pixelFormat) final int
final void
final void
setColorSpace
(QVideoFrameFormat.ColorSpace colorSpace) final void
setColorTransfer
(QVideoFrameFormat.ColorTransfer colorTransfer) final void
setFrameRate
(double rate) final void
setFrameSize
(int width, int height) final void
setFrameSize
(QSize size) final void
setMaxLuminance
(float lum) final void
setMirrored
(boolean mirrored) final void
setScanLineDirection
(QVideoFrameFormat.Direction direction) final void
setViewport
(QRect viewport) final void
setYCbCrColorSpace
(QVideoFrameFormat.YCbCrColorSpace colorSpace) Deprecated.final void
swap
(QVideoFrameFormat other) toString()
final void
updateUniformData
(QByteArray dst, QVideoFrame frame, QMatrix4x4 transform, float opacity) final String
final QRect
viewport()
Deprecated.UsecolorSpace()
insteadMethods 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
-
colorRange
-
colorSpace
-
colorTransfer
-
detach
-
fragmentShaderFileName
-
frameHeight
-
frameRate
-
frameSize
-
frameWidth
-
isMirrored
-
isValid
-
maxLuminance
-
pixelFormat
-
planeCount
-
scanLineDirection
-
setColorRange
-
setColorSpace
-
setColorTransfer
-
setFrameRate
-
setFrameSize
-
setFrameSize
-
setMaxLuminance
-
setMirrored
-
setScanLineDirection
-
setViewport
-
setYCbCrColorSpace
@Deprecated @QtUninvokable public final void setYCbCrColorSpace(QVideoFrameFormat.YCbCrColorSpace colorSpace) Deprecated. -
swap
-
updateUniformData
@QtUninvokable public final void updateUniformData(QByteArray dst, QVideoFrame frame, QMatrix4x4 transform, float opacity) -
vertexShaderFileName
-
viewport
-
yCbCrColorSpace
Deprecated.UsecolorSpace()
instead -
imageFormatFromPixelFormat
-
pixelFormatFromImageFormat
-
pixelFormatToString
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-
setColorSpace(io.qt.multimedia.QVideoFrameFormat.ColorSpace)
instead