- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies the stream format of a video presentation surface
Java wrapper for Qt class QVideoFrameFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQVideoFrameFormat::ColorRange
static enum
Java wrapper for Qt enumQVideoFrameFormat::ColorSpace
static enum
Java wrapper for Qt enumQVideoFrameFormat::ColorTransfer
static enum
Java wrapper for Qt enumQVideoFrameFormat::Direction
static enum
Java wrapper for Qt enumQVideoFrameFormat::PixelFormat
static enum
Java wrapper for Qt enumQVideoFrameFormat::YCbCrColorSpace
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
SeeQVideoFrameFormat::
NPixelFormats -
Constructor Summary
ConstructorDescriptionQVideoFrameFormat
(QSize size, QVideoFrameFormat.PixelFormat pixelFormat) QVideoFrameFormat
(QVideoFrameFormat format) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QVideoFrameFormat format) clone()
Creates and returns a copy of this object.final void
detach()
SeeQVideoFrameFormat::
detach() final boolean
equals
(QVideoFrameFormat format) boolean
final String
SeeQVideoFrameFormat::
fragmentShaderFileName()const final int
final double
final QSize
final int
int
hashCode()
Returns the objects's hash code computed byqHash(QVideoFrameFormat)
.static QImage.Format
final boolean
final boolean
isValid()
final float
SeeQVideoFrameFormat::
maxLuminance()const 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) SeeQVideoFrameFormat::
setYCbCrColorSpace(QVideoFrameFormat::YCbCrColorSpace) final void
swap
(QVideoFrameFormat other) toString()
Seeoperator<<(QDebug,
QVideoFrameFormat) final void
updateUniformData
(QByteArray dst, QVideoFrameFormat frame, QMatrix4x4 transform, float opacity) Overloaded function forupdateUniformData(io.qt.core.QByteArray, io.qt.multimedia.QVideoFrame, io.qt.gui.QMatrix4x4, float)
.final void
updateUniformData
(QByteArray dst, QVideoFrameFormat frame, QTransform transform, float opacity) Overloaded function forupdateUniformData(io.qt.core.QByteArray, io.qt.multimedia.QVideoFrame, io.qt.gui.QMatrix4x4, float)
.final void
updateUniformData
(QByteArray dst, QVideoFrame frame, QMatrix4x4 transform, float opacity) SeeQVideoFrameFormat::
updateUniformData(QByteArray*, QVideoFrame, QMatrix4x4, float)const final void
updateUniformData
(QByteArray dst, QVideoFrame frame, QTransform transform, float opacity) Overloaded function forupdateUniformData(io.qt.core.QByteArray, io.qt.multimedia.QVideoFrame, io.qt.gui.QMatrix4x4, float)
.final String
SeeQVideoFrameFormat::
vertexShaderFileName()const final QRect
viewport()
SeeQVideoFrameFormat::
yCbCrColorSpace()const Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
NPixelFormats
public static final int NPixelFormatsSee
QVideoFrameFormat::
NPixelFormats
-
-
Constructor Details
-
QVideoFrameFormat
public QVideoFrameFormat() -
QVideoFrameFormat
- Parameters:
size
-pixelFormat
-
-
QVideoFrameFormat
- Parameters:
format
-
-
-
Method Details
-
colorRange
- Returns:
-
colorSpace
- Returns:
-
colorTransfer
- Returns:
-
detach
See
QVideoFrameFormat::
detach() -
fragmentShaderFileName
See
QVideoFrameFormat::
fragmentShaderFileName()const - Returns:
-
frameHeight
- Returns:
-
frameRate
- Returns:
-
frameSize
- Returns:
-
frameWidth
- Returns:
-
isMirrored
- Returns:
-
isValid
- Returns:
-
maxLuminance
See
QVideoFrameFormat::
maxLuminance()const - Returns:
-
assign
- Parameters:
format
-
-
equals
- Parameters:
format
-- Returns:
-
pixelFormat
- Returns:
-
planeCount
- Returns:
-
scanLineDirection
- Returns:
-
setColorRange
- Parameters:
range
-
-
setColorSpace
- Parameters:
colorSpace
-
-
setColorTransfer
- Parameters:
colorTransfer
-
-
setFrameRate
- Parameters:
rate
-
-
setFrameSize
- Parameters:
size
-
-
setFrameSize
- Parameters:
width
-height
-
-
setMaxLuminance
- Parameters:
lum
-
-
setMirrored
- Parameters:
mirrored
-
-
setScanLineDirection
- Parameters:
direction
-
-
setViewport
- Parameters:
viewport
-
-
setYCbCrColorSpace
See
QVideoFrameFormat::
setYCbCrColorSpace(QVideoFrameFormat::YCbCrColorSpace) - Parameters:
colorSpace
-
-
swap
- Parameters:
other
-
-
updateUniformData
@QtUninvokable public final void updateUniformData(QByteArray dst, QVideoFrame frame, QMatrix4x4 transform, float opacity) See
QVideoFrameFormat::
updateUniformData(QByteArray*, QVideoFrame, QMatrix4x4, float)const - Parameters:
dst
-frame
-transform
-opacity
-
-
vertexShaderFileName
See
QVideoFrameFormat::
vertexShaderFileName()const - Returns:
-
viewport
- Returns:
-
yCbCrColorSpace
See
QVideoFrameFormat::
yCbCrColorSpace()const - Returns:
-
imageFormatFromPixelFormat
- Parameters:
format
-- Returns:
-
pixelFormatFromImageFormat
- Parameters:
format
-- Returns:
-
pixelFormatToString
- Parameters:
pixelFormat
-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QVideoFrameFormat)
. -
toString
See
operator<<(QDebug,
QVideoFrameFormat) -
clone
Creates and returns a copy of this object.
-
updateUniformData
@QtUninvokable public final void updateUniformData(QByteArray dst, QVideoFrameFormat frame, QMatrix4x4 transform, float opacity) Overloaded function for
updateUniformData(io.qt.core.QByteArray, io.qt.multimedia.QVideoFrame, io.qt.gui.QMatrix4x4, float)
. -
updateUniformData
@QtUninvokable public final void updateUniformData(QByteArray dst, QVideoFrame frame, QTransform transform, float opacity) Overloaded function for
updateUniformData(io.qt.core.QByteArray, io.qt.multimedia.QVideoFrame, io.qt.gui.QMatrix4x4, float)
. -
updateUniformData
@QtUninvokable public final void updateUniformData(QByteArray dst, QVideoFrameFormat frame, QTransform transform, float opacity) Overloaded function for
updateUniformData(io.qt.core.QByteArray, io.qt.multimedia.QVideoFrame, io.qt.gui.QMatrix4x4, float)
.
-