pub unsafe extern "C" fn sws_test_colorspace(
colorspace: AVColorSpace,
output: c_int,
) -> c_int展开描述
Test if a given color space is supported.
@param output If 0, test if compatible with the source/input frame; otherwise, with the destination/output frame. @param colorspace The colorspace to check.
@return A positive integer if supported, 0 otherwise.