1 use ffi::*;
2 use util::format;
3 
input(format: format::Pixel) -> bool4 pub fn input(format: format::Pixel) -> bool {
5     unsafe { sws_isSupportedInput(format.into()) != 0 }
6 }
7 
output(format: format::Pixel) -> bool8 pub fn output(format: format::Pixel) -> bool {
9     unsafe { sws_isSupportedOutput(format.into()) != 0 }
10 }
11 
endianness_conversion(format: format::Pixel) -> bool12 pub fn endianness_conversion(format: format::Pixel) -> bool {
13     unsafe { sws_isSupportedEndiannessConversion(format.into()) != 0 }
14 }
15