跳到主要内容

sws_test_hw_format

搜索

函数 sws_test_hw_format 

源代码
pub unsafe extern "C" fn sws_test_hw_format(
    format: AVPixelFormat,
) -> c_int
展开描述

Test if a given hardware pixel format is supported.

@param format The hardware format to check, or AV_PIX_FMT_NONE.

@return A positive integer if supported or AV_PIX_FMT_NONE, 0 otherwise.