DmaBufFrame constructor

DmaBufFrame({
  1. int width = 0,
  2. int height = 0,
  3. double scaleFactor = 0,
  4. int slot = 0,
  5. int fourcc = 0,
  6. int modifier = 0,
  7. List<DmaBufPlane> planes = const [],
})

Implementation

DmaBufFrame({
  this.width = 0,
  this.height = 0,
  this.scaleFactor = 0,
  this.slot = 0,
  this.fourcc = 0,
  this.modifier = 0,
  List<DmaBufPlane> planes = const [],
}) : planes = List.unmodifiable(planes);