2 // *** bilinear scaling and yuv->rgb & yuv->yuv conversion of yv12 slices:
3 // *** Note: it's called multiple times while decoding a frame, first time y==0
4 // *** Designed to upscale, but may work for downscale too.
5 // dstbpp == 12 -> yv12 output
6 void SwScale_YV12slice(unsigned char* srcptr[],int stride[], int srcSliceY,
7 int srcSliceH, uint8_t* dstptr[], int dststride, int dstbpp,
8 int srcW, int srcH, int dstW, int dstH);