X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjpeg%2Fljpg%2Fhuffd.c;h=6b4bc0b0e88781883619bfea16f598f2938f8631;hb=73d23d0da1d6ff657c01d1fb78f6ec876736afb3;hp=e23fffb55c8f2698985df733a84d0980b409bf51;hpb=769cf91297c76f800eeb884a429dfc44bfbd1d7e;p=gdcm.git diff --git a/src/jpeg/ljpg/huffd.c b/src/jpeg/ljpg/huffd.c index e23fffb5..6b4bc0b0 100644 --- a/src/jpeg/ljpg/huffd.c +++ b/src/jpeg/ljpg/huffd.c @@ -5,7 +5,7 @@ * software */ /* - * $Id: huffd.c,v 1.1 2003/10/21 12:08:53 jpr Exp $ + * $Id: huffd.c,v 1.2 2004/01/07 10:07:28 regrain Exp $ */ #include #include @@ -533,7 +533,7 @@ void DecodeImage (DecompressInfo *dcPtr, unsigned short **image, int depth) else if (depth == 24) PmPutRow24 (curRowBuf, numCOL, &image24tmp); - swap(MCU *, prevRowBuf, curRowBuf); + gdcmSWAP(MCU *, prevRowBuf, curRowBuf); /* optimal case : 8 bit image, one color component, no restartInRows */ if ((depth == 8) && (compsInScan == 1) && (dcPtr->restartInRows == 0)) @@ -631,7 +631,7 @@ void DecodeImage (DecompressInfo *dcPtr, unsigned short **image, int depth) else if (depth == 24) PmPutRow24 (curRowBuf, numCOL, &image24tmp); - swap(MCU *,prevRowBuf,curRowBuf); + gdcmSWAP(MCU *,prevRowBuf,curRowBuf); continue; } dcPtr->restartRowsToGo--; @@ -684,7 +684,7 @@ void DecodeImage (DecompressInfo *dcPtr, unsigned short **image, int depth) else if (depth == 24) PmPutRow24 (curRowBuf, numCOL, &image24tmp); - swap(MCU *, prevRowBuf, curRowBuf); + gdcmSWAP(MCU *, prevRowBuf, curRowBuf); }/*endfor row*/ }/*endelse*/