7 #include "vd_internal.h"
9 static vd_info_t info
=
20 // to set/get/query special features/parameters
21 static int control(sh_video_t
*sh
,int cmd
,void* arg
,...){
22 return CONTROL_UNKNOWN
;
26 static int init(sh_video_t
*sh
){
27 if(!mpcodecs_config_vo(sh
,sh
->disp_w
,sh
->disp_h
,IMGFMT_BGR24
)) return 0;
32 static void uninit(sh_video_t
*sh
){
36 static mp_image_t
* decode(sh_video_t
*sh
,void* data
,int len
,int flags
){