toH264AdaptiveQuantization method

H264AdaptiveQuantization toH264AdaptiveQuantization()

Implementation

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