java.lang.Object
io.qt.QtObject
io.qt.multimedia.QVideoFrame
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a frame of video data
Java wrapper for Qt class QVideoFrame
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQVideoFrame::HandleType
static enum
Java wrapper for Qt enumQVideoFrame::MapMode
static class
Java wrapper for Qt classQVideoFrame::PaintOptions
static enum
Java wrapper for Qt enumQVideoFrame::RotationAngle
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQVideoFrame
(QImage image) QVideoFrame
(QVideoFrame other) QVideoFrame
(QVideoFrameFormat format) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QVideoFrame other) final void
assign
(QVideoFrameFormat other) Overloaded function forassign(io.qt.multimedia.QVideoFrame)
.final byte []
bits
(int plane) final ByteBuffer
buffer
(int plane) final int
bytesPerLine
(int plane) clone()
Creates and returns a copy of this object.final long
endTime()
final boolean
equals
(QVideoFrame other) final boolean
equals
(QVideoFrameFormat other) Overloaded function forequals(io.qt.multimedia.QVideoFrame)
.boolean
final QVideoFrame.HandleType
int
hashCode()
Returns the objects's hash code computed byqHash(QVideoFrame)
.final int
height()
final boolean
isMapped()
final boolean
final boolean
isValid()
final boolean
final boolean
map
(QVideoFrame.MapMode mode) final QVideoFrame.MapMode
mapMode()
final int
mappedBytes
(int plane) final boolean
mirrored()
final void
paint
(QPainter painter, QRectF rect, QVideoFrame.PaintOptions options) final void
paint
(QPainter painter, QRect rect, QVideoFrame.PaintOptions options) Overloaded function forpaint(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.multimedia.QVideoFrame.PaintOptions)
.final int
final QtVideo.Rotation
rotation()
Deprecated.final void
set
(QVideoFrame other) Deprecated.Useassign(io.qt.multimedia.QVideoFrame)
instead.final void
set
(QVideoFrameFormat other) Deprecated.Useassign(io.qt.multimedia.QVideoFrameFormat)
instead.final void
setEndTime
(long time) final void
setMirrored
(boolean arg__1) final void
setRotation
(QtVideo.Rotation angle) final void
Deprecated.UsesetRotation(io.qt.multimedia.QtVideo.Rotation)
instead@param anglefinal void
setStartTime
(long time) final void
setStreamFrameRate
(double rate) final void
setSubtitleText
(String text) final QSize
size()
final long
final double
final String
final QVideoFrameFormat
final void
swap
(QVideoFrame other) final QImage
toImage()
toString()
Seeoperator<<(QDebug,
QVideoFrame) final void
unmap()
final int
width()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QVideoFrame
public QVideoFrame() -
QVideoFrame
- Parameters:
image
-- Since:
- This function was introduced in Qt 6.8.
-
QVideoFrame
- Parameters:
other
-
-
QVideoFrame
- Parameters:
format
-
-
-
Method Details
-
buffer
- Parameters:
plane
-- Returns:
-
bits
- Parameters:
plane
-- Returns:
-
bytesPerLine
- Parameters:
plane
-- Returns:
-
endTime
- Returns:
-
handleType
- Returns:
-
height
- Returns:
-
isMapped
- Returns:
-
isReadable
- Returns:
-
isValid
- Returns:
-
isWritable
- Returns:
-
map
- Parameters:
mode
-- Returns:
-
mapMode
- Returns:
-
mappedBytes
- Parameters:
plane
-- Returns:
-
mirrored
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
paint
@QtUninvokable public final void paint(QPainter painter, QRectF rect, QVideoFrame.PaintOptions options) - Parameters:
painter
-rect
-options
-
-
pixelFormat
- Returns:
-
planeCount
- Returns:
-
rotation
- Returns:
-
rotationAngle
Deprecated.Userotation()
instead@returnSee
QVideoFrame::
rotationAngle()const -
setEndTime
- Parameters:
time
-
-
setMirrored
- Parameters:
arg__1
-
-
setRotation
- Parameters:
angle
-
-
setRotationAngle
Deprecated.UsesetRotation(io.qt.multimedia.QtVideo.Rotation)
instead@param angleSee
QVideoFrame::
setRotationAngle(QVideoFrame::RotationAngle) -
setStartTime
- Parameters:
time
-
-
setStreamFrameRate
- Parameters:
rate
-
-
setSubtitleText
- Parameters:
text
-
-
size
- Returns:
-
startTime
- Returns:
-
streamFrameRate
- Returns:
-
subtitleText
- Returns:
-
surfaceFormat
- Returns:
-
swap
- Parameters:
other
-
-
toImage
- Returns:
-
unmap
-
width
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QVideoFrame)
. -
toString
See
operator<<(QDebug,
QVideoFrame) -
clone
Creates and returns a copy of this object.
-
set
Deprecated.Useassign(io.qt.multimedia.QVideoFrame)
instead. -
set
Deprecated.Useassign(io.qt.multimedia.QVideoFrameFormat)
instead. -
assign
Overloaded function for
assign(io.qt.multimedia.QVideoFrame)
. -
equals
Overloaded function for
equals(io.qt.multimedia.QVideoFrame)
. -
paint
@QtUninvokable public final void paint(QPainter painter, QRect rect, QVideoFrame.PaintOptions options) Overloaded function for
paint(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.multimedia.QVideoFrame.PaintOptions)
.
-
rotation()
instead@return