diff options
Diffstat (limited to 'mpeglib/lib/mpegplay')
-rw-r--r-- | mpeglib/lib/mpegplay/jrevdct.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mpeglib/lib/mpegplay/jrevdct.cpp b/mpeglib/lib/mpegplay/jrevdct.cpp index 4ffe48ab..5ca0050c 100644 --- a/mpeglib/lib/mpegplay/jrevdct.cpp +++ b/mpeglib/lib/mpegplay/jrevdct.cpp @@ -320,8 +320,8 @@ void init_pre_idct() { void j_rev_dct_sparse (DCTBLOCK data, int pos) { short int val; - register int *dp; - register int v; + int *dp; + int v; int quant; // cout << "j_rev_dct_sparse"<<endl; @@ -462,7 +462,7 @@ void j_rev_dct (DCTBLOCK data) { INT32 tmp10, tmp11, tmp12, tmp13; INT32 z1, z2, z3, z4, z5; INT32 d0, d1, d2, d3, d4, d5, d6, d7; - register DCTELEM *dataptr; + DCTELEM *dataptr; int rowctr; SHIFT_TEMPS @@ -483,7 +483,7 @@ void j_rev_dct (DCTBLOCK data) { * row DCT calculations can be simplified this way. */ - register int *idataptr = (int*)dataptr; + int *idataptr = (int*)dataptr; d0 = dataptr[0]; d1 = dataptr[1]; if ((d1 == 0) && (idataptr[1] + idataptr[2] + idataptr[3]) == 0) { @@ -491,7 +491,7 @@ void j_rev_dct (DCTBLOCK data) { if (d0) { /* Compute a 32 bit value to assign. */ DCTELEM dcval = (DCTELEM) (d0 << PASS1_BITS); - register int v = (dcval & 0xffff) + (dcval << 16); + int v = (dcval & 0xffff) + (dcval << 16); idataptr[0] = v; idataptr[1] = v; @@ -1475,7 +1475,7 @@ void j_rev_dct (DCTBLOCK data) INT32 tmp0, tmp1, tmp2, tmp3; INT32 tmp10, tmp11, tmp12, tmp13; INT32 z1, z2, z3, z4, z5; - register DCTELEM *dataptr; + DCTELEM *dataptr; int rowctr; SHIFT_TEMPS |