java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QVideoSurfaceFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QVideoSurfaceFormat extends QtObject implements Cloneable
Specifies the stream format of a video presentation surface
Java wrapper for Qt class QVideoSurfaceFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QVideoSurfaceFormat.Direction
Java wrapper for Qt enum QVideoSurfaceFormat::Directionstatic class
QVideoSurfaceFormat.YCbCrColorSpace
Java wrapper for Qt enum QVideoSurfaceFormat::YCbCrColorSpace -
Constructor Summary
Constructors Modifier Constructor Description QVideoSurfaceFormat()
QVideoSurfaceFormat(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)
QVideoSurfaceFormat(QVideoSurfaceFormat format)
protected
QVideoSurfaceFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QVideoSurfaceFormat
clone()
int
frameHeight()
double
frameRate()
QSize
frameSize()
int
frameWidth()
QAbstractVideoBuffer.HandleType
handleType()
boolean
isMirrored()
boolean
isValid()
QSize
pixelAspectRatio()
QVideoFrame.PixelFormat
pixelFormat()
Object
property(String name)
QList<QByteArray>
propertyNames()
QVideoSurfaceFormat.Direction
scanLineDirection()
void
setFrameRate(double rate)
void
setFrameSize(int width, int height)
void
setFrameSize(QSize size)
void
setMirrored(boolean mirrored)
void
setPixelAspectRatio(int width, int height)
void
setPixelAspectRatio(QSize ratio)
void
setProperty(String name, Object value)
void
setScanLineDirection(QVideoSurfaceFormat.Direction direction)
void
setViewport(QRect viewport)
void
setYCbCrColorSpace(QVideoSurfaceFormat.YCbCrColorSpace colorSpace)
QSize
sizeHint()
String
toString()
QRect
viewport()
QVideoSurfaceFormat.YCbCrColorSpace
yCbCrColorSpace()
-
Constructor Details
-
QVideoSurfaceFormat
public QVideoSurfaceFormat() -
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
. -
QVideoSurfaceFormat
public QVideoSurfaceFormat(QSize size, QVideoFrame.PixelFormat pixelFormat, QAbstractVideoBuffer.HandleType handleType) -
QVideoSurfaceFormat
-
QVideoSurfaceFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
frameHeight
-
frameRate
-
frameSize
-
frameWidth
-
handleType
-
isMirrored
-
isValid
-
pixelAspectRatio
-
pixelFormat
-
property
-
propertyNames
-
scanLineDirection
-
setFrameRate
-
setFrameSize
-
setFrameSize
-
setMirrored
-
setPixelAspectRatio
-
setPixelAspectRatio
-
setProperty
-
setScanLineDirection
-
setViewport
-
setYCbCrColorSpace
@QtUninvokable public final void setYCbCrColorSpace(QVideoSurfaceFormat.YCbCrColorSpace colorSpace) -
sizeHint
-
viewport
-
yCbCrColorSpace
-
toString
-
clone
-