Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pdollar/coco
Browse files Browse the repository at this point in the history
  • Loading branch information
tylin committed Aug 21, 2015
2 parents ef5a3ad + 018f43f commit d1186da
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified MatlabAPI/private/maskApi.mexa64
Binary file not shown.
Binary file modified MatlabAPI/private/maskApi.mexmaci64
Binary file not shown.
2 changes: 1 addition & 1 deletion MatlabAPI/private/maskApiMex.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void mexFunction( int nl, mxArray *pl[], int nr, const mxArray *pr[] )

if(!strcmp(action,"encode")) {
checkType(pr[0],mxUINT8_CLASS); byte *M=(byte*) mxGetData(pr[0]);
const mwSize *ds=mxGetDimensions(pr[0]); n=mxGetN(pr[0])/ds[0];
const mwSize *ds=mxGetDimensions(pr[0]); n=mxGetN(pr[0])/ds[1];
rlesInit(&R,n); rleEncode(R,M,ds[0],ds[1],n); pl[0]=toMxArray(R,n);

} else if(!strcmp(action,"decode")) {
Expand Down

0 comments on commit d1186da

Please sign in to comment.