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
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQVideoFrame::HandleTypestatic enumJava wrapper for Qt enumQVideoFrame::MapModestatic classJava wrapper for Qt classQVideoFrame::PaintOptionsstatic enumJava wrapper for Qt enumQVideoFrame::RotationAngle -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObjectThis variable stores the meta-object for the class. -
Constructor Summary
ConstructorsConstructorDescriptionQVideoFrame(QImage image) QVideoFrame(QVideoFrame other) QVideoFrame(QVideoFrameFormat format) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QVideoFrame other) final voidassign(QVideoFrameFormat other) Overloaded function forassign(io.qt.multimedia.QVideoFrame).final byte []bits(int plane) final ByteBufferbuffer(int plane) final intbytesPerLine(int plane) clone()Creates and returns a copy of this object.final longendTime()final booleanequals(QVideoFrame other) final booleanequals(QVideoFrameFormat other) Overloaded function forequals(io.qt.multimedia.QVideoFrame).booleanfinal QVideoFrame.HandleTypeinthashCode()Returns the objects's hash code computed byqHash(QVideoFrame).final intheight()final booleanisMapped()final booleanfinal booleanisValid()final booleanfinal booleanmap(QVideoFrame.MapMode mode) final QVideoFrame.MapModemapMode()final intmappedBytes(int plane) final booleanmirrored()final voidpaint(QPainter painter, QRectF rect, QVideoFrame.PaintOptions options) final voidpaint(QPainter painter, QRect rect, QVideoFrame.PaintOptions options) Overloaded function forpaint(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.multimedia.QVideoFrame.PaintOptions).final intfinal QtVideo.Rotationrotation()Deprecated.final voidset(QVideoFrame other) Deprecated.Useassign(io.qt.multimedia.QVideoFrame)instead.final voidset(QVideoFrameFormat other) Deprecated.Useassign(io.qt.multimedia.QVideoFrameFormat)instead.final voidsetEndTime(long time) final voidsetMirrored(boolean arg__1) final voidsetRotation(QtVideo.Rotation angle) final voidDeprecated.UsesetRotation(io.qt.multimedia.QtVideo.Rotation)instead@param anglefinal voidsetStartTime(long time) final voidsetStreamFrameRate(double rate) final voidsetSubtitleText(String text) final QSizesize()final longfinal doublefinal Stringfinal QVideoFrameFormatfinal voidswap(QVideoFrame other) final QImagetoImage()toString()Seeoperator<<(QDebug,QVideoFrame) final voidunmap()final intwidth()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