VideoFrameBufferInit constructor

VideoFrameBufferInit({
  1. num? codedHeight,
  2. num? codedWidth,
  3. VideoColorSpaceInit? colorSpace,
  4. num? displayHeight,
  5. num? displayWidth,
  6. num? duration,
  7. VideoPixelFormat? format,
  8. List<PlaneLayout>? layout,
  9. num? timestamp,
  10. DOMRectInit? visibleRect,
})

Implementation

factory VideoFrameBufferInit({
  _i2.num? codedHeight,
  _i2.num? codedWidth,
  _i3.VideoColorSpaceInit? colorSpace,
  _i2.num? displayHeight,
  _i2.num? displayWidth,
  _i2.num? duration,
  _i3.VideoPixelFormat? format,
  _i2.List<_i3.PlaneLayout>? layout,
  _i2.num? timestamp,
  _i3.DOMRectInit? visibleRect,
}) =>
    VideoFrameBufferInit._(
      codedHeight: codedHeight,
      codedWidth: codedWidth,
      colorSpace: colorSpace ?? _i6.undefined,
      displayHeight: displayHeight,
      displayWidth: displayWidth,
      duration: duration,
      format: format?.name ?? _i6.undefined,
      layout: layout,
      timestamp: timestamp,
      visibleRect: visibleRect ?? _i6.undefined,
    );