Skip to main content

sws_test_frame

Function sws_test_frame 

Source
pub unsafe extern "C" fn sws_test_frame(
    frame: *const AVFrame,
    output: c_int,
) -> c_int
Expand description

Helper function to run all sws_test_* against a frame, as well as testing the basic frame properties for sanity. Ignores irrelevant properties - for example, AVColorSpace is not checked for RGB frames.