跳到主要内容

sws_test_frame

搜索

函数 sws_test_frame 

源代码
pub unsafe extern "C" fn sws_test_frame(
    frame: *const AVFrame,
    output: c_int,
) -> c_int
展开描述

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.