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