@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="VideoFrame")
public class VideoFrame
extends JsObject
implements TexImageSource
| Constructor and Description |
|---|
VideoFrame(CanvasImageSource image) |
VideoFrame(CanvasImageSource image,
VideoFrameInit init) |
VideoFrame(JsArray<PlaneInit> planes,
VideoFramePlaneInit init) |
VideoFrame(PlaneInit[] planes,
VideoFramePlaneInit init) |
| Modifier and Type | Method and Description |
|---|---|
int |
allocationSize() |
int |
allocationSize(VideoFrameCopyToOptions options) |
VideoFrame |
clone_() |
void |
close() |
int |
codedHeight() |
VideoFrameRect |
codedRect() |
int |
codedWidth() |
Promise<JsArray<PlaneLayout>> |
copyTo(BufferSource destination) |
Promise<JsArray<PlaneLayout>> |
copyTo(BufferSource destination,
VideoFrameCopyToOptions options) |
int |
displayHeight() |
int |
displayWidth() |
java.lang.Double |
duration() |
java.lang.String |
format() |
java.lang.Double |
timestamp() |
VideoFrameRect |
visibleRect() |
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic VideoFrame(@Nonnull
CanvasImageSource image,
@Nonnull
VideoFrameInit init)
public VideoFrame(@Nonnull
CanvasImageSource image)
public VideoFrame(@Nonnull
JsArray<PlaneInit> planes,
@Nonnull
VideoFramePlaneInit init)
public VideoFrame(@Nonnull
PlaneInit[] planes,
@Nonnull
VideoFramePlaneInit init)
@JsProperty(name="codedHeight") public int codedHeight()
@JsProperty(name="codedRect") @Nonnull public VideoFrameRect codedRect()
@JsProperty(name="codedWidth") public int codedWidth()
@JsProperty(name="displayHeight") public int displayHeight()
@JsProperty(name="displayWidth") public int displayWidth()
@JsProperty(name="duration") @Nullable public java.lang.Double duration()
@JsProperty(name="format") @Nonnull @PixelFormat public java.lang.String format()
@JsProperty(name="timestamp") @Nullable public java.lang.Double timestamp()
@JsProperty(name="visibleRect") @Nonnull public VideoFrameRect visibleRect()
public int allocationSize(@Nonnull
VideoFrameCopyToOptions options)
public int allocationSize()
@JsMethod(name="clone") @Nonnull public VideoFrame clone_()
public void close()
@Nonnull public Promise<JsArray<PlaneLayout>> copyTo(@Nonnull BufferSource destination, @Nonnull VideoFrameCopyToOptions options)
@Nonnull public Promise<JsArray<PlaneLayout>> copyTo(@Nonnull BufferSource destination)