static void cal_nmvjointsadcost ( int * mvjointsadcost ) {
 mvjointsadcost [ 0 ] = 600 ;
 mvjointsadcost [ 1 ] = 300 ;
 mvjointsadcost [ 2 ] = 300 ;
 mvjointsadcost [ 3 ] = 300 ;
 }
static void cal_nmvjointsadcost ( int * mvjointsadcost ) {
 mvjointsadcost [ 0 ] = 600 ;
 mvjointsadcost [ 1 ] = 300 ;
 mvjointsadcost [ 2 ] = 300 ;
 mvjointsadcost [ 3 ] = 300 ;
 }