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
-
Constructor Summary
-
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 void
set
(QVideoFrame other) Deprecated.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
final void
setStartTime
(long time) final void
setSubtitleText
(String text) final QSize
size()
final long
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
-
Constructor Details
-
QVideoFrame
public QVideoFrame() -
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:
-
rotationAngle
- Returns:
-
setEndTime
- Parameters:
time
-
-
setMirrored
- Parameters:
arg__1
-
-
setRotationAngle
- Parameters:
arg__1
-
-
setStartTime
- Parameters:
time
-
-
setSubtitleText
- Parameters:
text
-
-
size
- Returns:
-
startTime
- 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)
.
-
assign(io.qt.multimedia.QVideoFrame)
instead.