Convert int -> enum PixelFormat in doTest().
Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
70bd7a3d48
commit
591e465acf
@ -70,7 +70,7 @@ static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, i
|
|||||||
|
|
||||||
// test by ref -> src -> dst -> out & compare out against ref
|
// test by ref -> src -> dst -> out & compare out against ref
|
||||||
// ref & out are YV12
|
// ref & out are YV12
|
||||||
static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int srcFormat, int dstFormat,
|
static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, enum PixelFormat srcFormat, enum PixelFormat dstFormat,
|
||||||
int srcW, int srcH, int dstW, int dstH, int flags)
|
int srcW, int srcH, int dstW, int dstH, int flags)
|
||||||
{
|
{
|
||||||
uint8_t *src[4] = {0};
|
uint8_t *src[4] = {0};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user