case IMGFMT_NV12: case IMGFMT_NV21:
static void getSubSampleFactors(int *h, int *v, int format){	switch(format){	case IMGFMT_UYVY:	case IMGFMT_YUY2:		*h=1;		*v=0;		break;	case IMGFMT_YV12:	case IMGFMT_Y800: //FIXME remove after different subsamplings are fully implemented		*h=1;		*v=1;		break;	case IMGFMT_YVU9:		*h=2;		*v=2;		break;	case IMGFMT_444P:		*h=0;		*v=0;		break;	case IMGFMT_422P:		*h=1;		*v=0;		break;	case IMGFMT_411P:		*h=2;		*v=0;		break;	default:		*h=0;		*v=0;		break;	}}