@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="VideoFrame")
public class VideoFrame
extends JsObject
implements TexImageSource, CanvasImageSource, Transferable
| Constructor and Description |
|---|
VideoFrame(BufferSource data,
VideoFrameBufferInit init) |
VideoFrame(CanvasImageSource image) |
VideoFrame(CanvasImageSource image,
VideoFrameInit init) |
| Modifier and Type | Method and Description |
|---|---|
int |
allocationSize() |
int |
allocationSize(VideoFrameCopyToOptions options) |
@JsNonNull VideoFrame |
clone_() |
void |
close() |
int |
codedHeight() |
DOMRectReadOnly |
codedRect() |
int |
codedWidth() |
VideoColorSpace |
colorSpace() |
@JsNonNull Promise<JsArray<PlaneLayout>> |
copyTo(BufferSource destination) |
@JsNonNull Promise<JsArray<PlaneLayout>> |
copyTo(BufferSource destination,
VideoFrameCopyToOptions options) |
int |
displayHeight() |
int |
displayWidth() |
java.lang.Double |
duration() |
java.lang.String |
format() |
java.lang.Double |
timestamp() |
DOMRectReadOnly |
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
BufferSource data,
@Nonnull
VideoFrameBufferInit init)
@JsProperty(name="codedHeight") public int codedHeight()
@JsProperty(name="codedRect") @Nullable public DOMRectReadOnly codedRect()
@JsProperty(name="codedWidth") public int codedWidth()
@JsProperty(name="colorSpace") @Nonnull public VideoColorSpace colorSpace()
@JsProperty(name="displayHeight") public int displayHeight()
@JsProperty(name="displayWidth") public int displayWidth()
@JsProperty(name="duration") @Nullable public java.lang.Double duration()
@JsProperty(name="format") @Nullable @VideoPixelFormat public java.lang.String format()
@JsProperty(name="timestamp") @Nullable public java.lang.Double timestamp()
@JsProperty(name="visibleRect") @Nullable public DOMRectReadOnly visibleRect()
public int allocationSize(@Nonnull
VideoFrameCopyToOptions options)
public int allocationSize()
@JsMethod(name="clone") public @JsNonNull VideoFrame clone_()
public void close()
public @JsNonNull Promise<JsArray<PlaneLayout>> copyTo(@Nonnull BufferSource destination, @Nonnull VideoFrameCopyToOptions options)
public @JsNonNull Promise<JsArray<PlaneLayout>> copyTo(@Nonnull BufferSource destination)