C
cfn
Hi,
I want 2 port a cfunction to c++.
My question is that I do not know how to handle the arrays in the
parameterlist in the following function. (int imins[2][2],jmins[2][2]
Can someone please tell me how to write this in a c++ manner?
To be more exact: how do I handle the static arrays in the
parameterlist?
regards
Christofer
.....
static void frame_estimate(org,ref,mb,i,j,sx,sy,
iminp,jminp,imintp,jmintp,iminbp,jminbp,dframep,dfieldp,tselp,bselp,
imins,jmins)
unsigned char *org,*ref,*mb;
int i,j,sx,sy;
int *iminp,*jminp;
int *imintp,*jmintp,*iminbp,*jminbp;
int *dframep,*dfieldp;
int *tselp,*bselp;
int imins[2][2],jmins[2][2];
{
int dt,db,dmint,dminb;
int imint,iminb,jmint,jminb;
/* frame prediction */
*dframep = fullsearch(org,ref,mb,width,i,j,sx,sy,16,width,height,
iminp,jminp);
.....
I want 2 port a cfunction to c++.
My question is that I do not know how to handle the arrays in the
parameterlist in the following function. (int imins[2][2],jmins[2][2]
Can someone please tell me how to write this in a c++ manner?
To be more exact: how do I handle the static arrays in the
parameterlist?
regards
Christofer
.....
static void frame_estimate(org,ref,mb,i,j,sx,sy,
iminp,jminp,imintp,jmintp,iminbp,jminbp,dframep,dfieldp,tselp,bselp,
imins,jmins)
unsigned char *org,*ref,*mb;
int i,j,sx,sy;
int *iminp,*jminp;
int *imintp,*jmintp,*iminbp,*jminbp;
int *dframep,*dfieldp;
int *tselp,*bselp;
int imins[2][2],jmins[2][2];
{
int dt,db,dmint,dminb;
int imint,iminb,jmint,jminb;
/* frame prediction */
*dframep = fullsearch(org,ref,mb,width,i,j,sx,sy,16,width,height,
iminp,jminp);
.....