toH265SampleAdaptiveOffsetFilterMode method
Implementation
H265SampleAdaptiveOffsetFilterMode toH265SampleAdaptiveOffsetFilterMode() {
switch (this) {
case 'DEFAULT':
return H265SampleAdaptiveOffsetFilterMode.$default;
case 'ADAPTIVE':
return H265SampleAdaptiveOffsetFilterMode.adaptive;
case 'OFF':
return H265SampleAdaptiveOffsetFilterMode.off;
}
throw Exception(
'$this is not known in enum H265SampleAdaptiveOffsetFilterMode');
}