VideoFrameBufferInit constructor
VideoFrameBufferInit({
- required VideoPixelFormat format,
- required int codedWidth,
- required int codedHeight,
- required int timestamp,
- int? duration,
- Iterable<
PlaneLayout> ? layout, - DOMRectInit? visibleRect,
- int? displayWidth,
- int? displayHeight,
- VideoColorSpaceInit? colorSpace,
Implementation
factory VideoFrameBufferInit(
{required VideoPixelFormat format,
required int codedWidth,
required int codedHeight,
required int timestamp,
int? duration,
Iterable<PlaneLayout>? layout,
DOMRectInit? visibleRect,
int? displayWidth,
int? displayHeight,
VideoColorSpaceInit? colorSpace}) =>
VideoFrameBufferInit._(
format: format.value,
codedWidth: codedWidth,
codedHeight: codedHeight,
timestamp: timestamp,
duration: duration ?? undefined,
layout: layout ?? undefined,
visibleRect: visibleRect ?? undefined,
displayWidth: displayWidth ?? undefined,
displayHeight: displayHeight ?? undefined,
colorSpace: colorSpace ?? undefined);