static unsigned int find_best(struct vf_instance *vf){

  int is_format_okay = vf->next->query_format(vf->next, IMGFMT_YV12);

  if ((is_format_okay & VFCAP_CSP_SUPPORTED_BY_HW) || (is_format_okay & VFCAP_CSP_SUPPORTED))

    return IMGFMT_YV12;

  else

    return 0;

}

static unsigned int find_best(struct vf_instance *vf){

  int is_format_okay = vf->next->query_format(vf->next, IMGFMT_YV12);

  if ((is_format_okay & VFCAP_CSP_SUPPORTED_BY_HW) || (is_format_okay & VFCAP_CSP_SUPPORTED))

    return IMGFMT_YV12;

  else

    return 0;

}

  int is_format_okay = vf->next->query_format(vf->next, IMGFMT_YV12);
static unsigned int FUNC_0(struct vf_instance *VAR_0){

  int VAR_1 = VAR_0->next->query_format(VAR_0->next, IMGFMT_YV12);

  if ((VAR_1 & VFCAP_CSP_SUPPORTED_BY_HW) || (VAR_1 & VFCAP_CSP_SUPPORTED))

    return IMGFMT_YV12;

  else

    return 0;

}

static unsigned int FUNC_0(struct vf_instance *VAR_0){ int VAR_1 = VAR_0->next->query_format(VAR_0->next, IMGFMT_YV12); if ((VAR_1 & VFCAP_CSP_SUPPORTED_BY_HW) || (VAR_1 & VFCAP_CSP_SUPPORTED))
return IMGFMT_YV12; else
return 0; }