uint32_t page; yv12_instance_t * instance = (yv12_instance_t *) _instance; printf(" **********YV12 setup fbuf called : %lu x %lu\n",instance->w,instance->h);
uint32_t page,i,img;  yv12_instance_t * instance = (yv12_instance_t *) _instance; i=(uint32_t)id; printf(" **********YV12 setup fbuf called : %lu x %lu (%lu)\n",instance->w,instance->h,i);
static void yv12_setup_fbuf (vo_instance_t * _instance,			    uint8_t ** buf, void ** id){	uint8_t *all;	uint32_t page;    yv12_instance_t * instance = (yv12_instance_t *) _instance; printf(" **********YV12 setup fbuf called : %lu x %lu\n",instance->w,instance->h); 	page=instance->w*instance->h;	all=(uint8_t *)malloc((page*3)>>1);	memset(all,0,(page*3)>>1);    buf[0] =all;    buf[2] =all+page;;    buf[1] =all+page+(page>>2);;    *id=NULL;}