toAv1AdaptiveQuantization method

Av1AdaptiveQuantization toAv1AdaptiveQuantization()

Implementation

Av1AdaptiveQuantization toAv1AdaptiveQuantization() {
  switch (this) {
    case 'OFF':
      return Av1AdaptiveQuantization.off;
    case 'LOW':
      return Av1AdaptiveQuantization.low;
    case 'MEDIUM':
      return Av1AdaptiveQuantization.medium;
    case 'HIGH':
      return Av1AdaptiveQuantization.high;
    case 'HIGHER':
      return Av1AdaptiveQuantization.higher;
    case 'MAX':
      return Av1AdaptiveQuantization.max;
  }
  throw Exception('$this is not known in enum Av1AdaptiveQuantization');
}