示例#1
0
文件: vo_image.c 项目: FyhSky/bomi
static int query_format(struct vo *vo, int fmt)
{
    if (mp_sws_supported_format(fmt))
        return 1;
    return 0;
}
示例#2
0
文件: vo_image.c 项目: Bl4Cc4t/mpv
static int query_format(struct vo *vo, uint32_t fmt)
{
    if (mp_sws_supported_format(fmt))
        return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
    return 0;
}
示例#3
0
static int query_format(struct vf_instance *vf, unsigned int fmt)
{
    if (mp_sws_supported_format(fmt))
        return vf_next_query_format(vf, fmt);
    return 0;
}