Function rsmpeg::ffi::sws_setColorspaceDetails[][src]

pub unsafe extern "C" fn sws_setColorspaceDetails(
    c: *mut SwsContext,
    inv_table: *const i32,
    srcRange: i32,
    table: *const i32,
    dstRange: i32,
    brightness: i32,
    contrast: i32,
    saturation: i32
) -> i32
Expand description

@param dstRange flag indicating the while-black range of the output (1=jpeg / 0=mpeg) @param srcRange flag indicating the while-black range of the input (1=jpeg / 0=mpeg) @param table the yuv2rgb coefficients describing the output yuv space, normally ff_yuv2rgb_coeffs[x] @param inv_table the yuv2rgb coefficients describing the input yuv space, normally ff_yuv2rgb_coeffs[x] @param brightness 16.16 fixed point brightness correction @param contrast 16.16 fixed point contrast correction @param saturation 16.16 fixed point saturation correction @return -1 if not supported