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's class QVideoFrame
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QVideoFrame::FieldTypestatic enum
Java wrapper for Qt enum QVideoFrame::PixelFormatNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQVideoFrame
(int bytes, QSize size, int bytesPerLine, QVideoFrame.PixelFormat format) QVideoFrame
(QImage image) QVideoFrame
(QVideoFrame other) QVideoFrame
(QAbstractVideoBuffer buffer, QSize size, QVideoFrame.PixelFormat format) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QVideoFrame other) final byte []
bits()
final QAbstractVideoBuffer
buffer()
final int
final int
bytesPerLine
(int plane) clone()
final long
endTime()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QVideoFrame.FieldType
final Object
handle()
int
hashCode()
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
set
(QVideoFrame other) Deprecated.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()
final void
unmap()
final int
width()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QVideoFrame
public QVideoFrame() -
QVideoFrame
-
QVideoFrame
-
QVideoFrame
-
QVideoFrame
-
QVideoFrame
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
availableMetaData
-
bits
-
buffer
-
bytesPerLine
-
bytesPerLine
-
endTime
-
fieldType
-
handle
-
handleType
-
height
-
image
-
isMapped
-
isReadable
-
isValid
-
isWritable
-
map
-
mapMode
-
mappedBytes
-
metaData
-
set
Deprecated.Useassign(io.qt.multimedia.QVideoFrame)
instead. -
assign
-
pixelFormat
-
planeCount
-
setEndTime
-
setFieldType
-
setMetaData
-
setStartTime
-
size
-
startTime
-
unmap
-
width
-
imageFormatFromPixelFormat
-
pixelFormatFromImageFormat
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-
assign(io.qt.multimedia.QVideoFrame)
instead.