return srcSliceH;
static void PlanarToNV12Wrapper(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,             int srcSliceH, uint8_t* dstParam[], int dstStride[]){	uint8_t *dst=dstParam[0] + dstStride[0]*srcSliceY;	/* Copy Y plane */	if(dstStride[0]==srcStride[0])		memcpy(dst, src[0], srcSliceH*dstStride[0]);	else	{		int i;		uint8_t *srcPtr= src[0];		uint8_t *dstPtr= dst;		for(i=0; i<srcSliceH; i++)		{			memcpy(dstPtr, srcPtr, srcStride[0]);			srcPtr+= srcStride[0];			dstPtr+= dstStride[0];		}	}	dst = dstParam[1] + dstStride[1]*srcSliceY;	if(c->srcFormat==IMGFMT_YV12)		interleaveBytes( src[1],src[2],dst,c->srcW,srcSliceH,srcStride[1],srcStride[2],dstStride[0] );	else /* I420 & IYUV */		interleaveBytes( src[2],src[1],dst,c->srcW,srcSliceH,srcStride[2],srcStride[1],dstStride[0] );}