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::FieldType
static enum
Java wrapper for Qt enumQVideoFrame::PixelFormat
-
Constructor Summary
ConstructorDescriptionQVideoFrame
(int bytes, QSize size, int bytesPerLine, QVideoFrame.PixelFormat format) QVideoFrame
(QImage image) QVideoFrame
(QVideoFrame other) QVideoFrame
(QAbstractVideoBuffer buffer, QSize size, QVideoFrame.PixelFormat format) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Overloaded function forassign(io.qt.multimedia.QVideoFrame)
.final void
assign
(QVideoFrame other) final byte []
bits()
final QAbstractVideoBuffer
buffer()
final int
final int
bytesPerLine
(int plane) clone()
Creates and returns a copy of this object.final long
endTime()
final boolean
Overloaded function forequals(io.qt.multimedia.QVideoFrame)
.final boolean
equals
(QVideoFrame other) boolean
final QVideoFrame.FieldType
final Object
handle()
int
hashCode()
Returns the objects's hash code computed byqHash(QVideoFrame)
.final int
height()
final QImage
image()
static QImage.Format
final boolean
isMapped()
final boolean
final boolean
isValid()
final boolean
final boolean
mapMode()
final int
final Object
final QVideoFrame.PixelFormat
static QVideoFrame.PixelFormat
final int
final void
Deprecated.final void
set
(QVideoFrame other) Deprecated.Useassign(io.qt.multimedia.QVideoFrame)
instead.final void
setEndTime
(long time) final void
setFieldType
(QVideoFrame.FieldType arg__1) final void
setMetaData
(String key, Object value) final void
setStartTime
(long time) final QSize
size()
final long
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:
buffer
-size
-format
-
-
QVideoFrame
- Parameters:
image
-
-
QVideoFrame
- Parameters:
other
-
-
QVideoFrame
- Parameters:
bytes
-size
-bytesPerLine
-format
-
-
-
Method Details
-
availableMetaData
- Returns:
-
bits
- Returns:
-
buffer
- Returns:
- Since:
- This function was introduced in Qt 5.13.
-
bytesPerLine
- Returns:
-
bytesPerLine
- Parameters:
plane
-- Returns:
- Since:
- This function was introduced in Qt 5.4.
-
endTime
- Returns:
-
fieldType
- Returns:
-
handle
- Returns:
-
handleType
- Returns:
-
height
- Returns:
-
image
- Returns:
- Since:
- This function was introduced in Qt 5.15.
-
isMapped
- Returns:
-
isReadable
- Returns:
-
isValid
- Returns:
-
isWritable
- Returns:
-
map
- Parameters:
mode
-- Returns:
-
mapMode
- Returns:
-
mappedBytes
- Returns:
-
metaData
- Parameters:
key
-- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
pixelFormat
- Returns:
-
planeCount
- Returns:
- Since:
- This function was introduced in Qt 5.4.
-
setEndTime
- Parameters:
time
-
-
setFieldType
- Parameters:
arg__1
-
-
setMetaData
- Parameters:
key
-value
-
-
setStartTime
- Parameters:
time
-
-
size
- Returns:
-
startTime
- Returns:
-
unmap
-
width
- Returns:
-
imageFormatFromPixelFormat
- Parameters:
format
-- Returns:
-
pixelFormatFromImageFormat
- Parameters:
format
-- 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.gui.QImage)
instead. -
assign
Overloaded function for
assign(io.qt.multimedia.QVideoFrame)
. -
equals
Overloaded function for
equals(io.qt.multimedia.QVideoFrame)
.
-
assign(io.qt.gui.QImage)
instead.