PixaVideoFrameBackendCapabilities.encodedImage constructor

const PixaVideoFrameBackendCapabilities.encodedImage({
  1. required Set<String> outputMimeTypes,
  2. bool nearestFrame = true,
  3. bool exactFrame = false,
  4. bool fileLocator = true,
  5. bool networkLocator = false,
  6. bool contentLocator = false,
  7. bool stable = true,
})

Creates capabilities for a backend that returns encoded image bytes.

Implementation

const PixaVideoFrameBackendCapabilities.encodedImage({
  required this.outputMimeTypes,
  this.nearestFrame = true,
  this.exactFrame = false,
  this.fileLocator = true,
  this.networkLocator = false,
  this.contentLocator = false,
  this.stable = true,
}) : outputKind = PixaVideoFrameOutputKind.encodedImage;