toH264Level method
Implementation
H264Level toH264Level() {
switch (this) {
case 'H264_LEVEL_1':
return H264Level.h264Level_1;
case 'H264_LEVEL_1_1':
return H264Level.h264Level_1_1;
case 'H264_LEVEL_1_2':
return H264Level.h264Level_1_2;
case 'H264_LEVEL_1_3':
return H264Level.h264Level_1_3;
case 'H264_LEVEL_2':
return H264Level.h264Level_2;
case 'H264_LEVEL_2_1':
return H264Level.h264Level_2_1;
case 'H264_LEVEL_2_2':
return H264Level.h264Level_2_2;
case 'H264_LEVEL_3':
return H264Level.h264Level_3;
case 'H264_LEVEL_3_1':
return H264Level.h264Level_3_1;
case 'H264_LEVEL_3_2':
return H264Level.h264Level_3_2;
case 'H264_LEVEL_4':
return H264Level.h264Level_4;
case 'H264_LEVEL_4_1':
return H264Level.h264Level_4_1;
case 'H264_LEVEL_4_2':
return H264Level.h264Level_4_2;
case 'H264_LEVEL_5':
return H264Level.h264Level_5;
case 'H264_LEVEL_5_1':
return H264Level.h264Level_5_1;
case 'H264_LEVEL_5_2':
return H264Level.h264Level_5_2;
case 'H264_LEVEL_AUTO':
return H264Level.h264LevelAuto;
}
throw Exception('$this is not known in enum H264Level');
}