Make comments more consistent
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1466 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -106,7 +106,7 @@ jsimd_fdct_ifast_altivec (DCTELEM *data)
|
|||||||
__vector unsigned short
|
__vector unsigned short
|
||||||
pre_multiply_scale_bits = { __8X(PRE_MULTIPLY_SCALE_BITS) };
|
pre_multiply_scale_bits = { __8X(PRE_MULTIPLY_SCALE_BITS) };
|
||||||
|
|
||||||
/* Pass 1: process rows. */
|
/* Pass 1: process rows */
|
||||||
|
|
||||||
row0 = *(__vector short *)&data[0];
|
row0 = *(__vector short *)&data[0];
|
||||||
row1 = *(__vector short *)&data[8];
|
row1 = *(__vector short *)&data[8];
|
||||||
@@ -130,7 +130,7 @@ jsimd_fdct_ifast_altivec (DCTELEM *data)
|
|||||||
|
|
||||||
DO_FDCT();
|
DO_FDCT();
|
||||||
|
|
||||||
/* Pass 2: process columns. */
|
/* Pass 2: process columns */
|
||||||
|
|
||||||
TRANSPOSE(out, row);
|
TRANSPOSE(out, row);
|
||||||
|
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ jsimd_fdct_islow_altivec (DCTELEM *data)
|
|||||||
__vector unsigned int descale_p1 = { __4X(DESCALE_P1) },
|
__vector unsigned int descale_p1 = { __4X(DESCALE_P1) },
|
||||||
descale_p2 = { __4X(DESCALE_P2) };
|
descale_p2 = { __4X(DESCALE_P2) };
|
||||||
|
|
||||||
/* Pass 1: process rows. */
|
/* Pass 1: process rows */
|
||||||
|
|
||||||
row0 = *(__vector short *)&data[0];
|
row0 = *(__vector short *)&data[0];
|
||||||
row1 = *(__vector short *)&data[8];
|
row1 = *(__vector short *)&data[8];
|
||||||
@@ -199,7 +199,7 @@ jsimd_fdct_islow_altivec (DCTELEM *data)
|
|||||||
|
|
||||||
DO_FDCT_ROWS();
|
DO_FDCT_ROWS();
|
||||||
|
|
||||||
/* Pass 2: process columns. */
|
/* Pass 2: process columns */
|
||||||
|
|
||||||
TRANSPOSE(out, row);
|
TRANSPOSE(out, row);
|
||||||
|
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ jsimd_idct_ifast_altivec (void * dct_table_, JCOEFPTR coef_block,
|
|||||||
pass1_bits3 = { __8X(PASS1_BITS + 3) };
|
pass1_bits3 = { __8X(PASS1_BITS + 3) };
|
||||||
__vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) };
|
__vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) };
|
||||||
|
|
||||||
/* Pass 1: process columns. */
|
/* Pass 1: process columns */
|
||||||
|
|
||||||
col0 = *(__vector short *)&coef_block[0];
|
col0 = *(__vector short *)&coef_block[0];
|
||||||
col1 = *(__vector short *)&coef_block[8];
|
col1 = *(__vector short *)&coef_block[8];
|
||||||
@@ -181,7 +181,7 @@ jsimd_idct_ifast_altivec (void * dct_table_, JCOEFPTR coef_block,
|
|||||||
TRANSPOSE(out, row);
|
TRANSPOSE(out, row);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pass 2: process rows. */
|
/* Pass 2: process rows */
|
||||||
|
|
||||||
DO_IDCT(row);
|
DO_IDCT(row);
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ jsimd_idct_islow_altivec (void * dct_table_, JCOEFPTR coef_block,
|
|||||||
const_bits = { __4X(CONST_BITS) };
|
const_bits = { __4X(CONST_BITS) };
|
||||||
__vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) };
|
__vector signed char pb_centerjsamp = { __16X(CENTERJSAMPLE) };
|
||||||
|
|
||||||
/* Pass 1: process columns. */
|
/* Pass 1: process columns */
|
||||||
|
|
||||||
col0 = *(__vector short *)&coef_block[0];
|
col0 = *(__vector short *)&coef_block[0];
|
||||||
col1 = *(__vector short *)&coef_block[8];
|
col1 = *(__vector short *)&coef_block[8];
|
||||||
@@ -265,6 +265,8 @@ jsimd_idct_islow_altivec (void * dct_table_, JCOEFPTR coef_block,
|
|||||||
TRANSPOSE(out, row);
|
TRANSPOSE(out, row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Pass 2: process rows */
|
||||||
|
|
||||||
DO_IDCT(row, 2);
|
DO_IDCT(row, 2);
|
||||||
|
|
||||||
TRANSPOSE(out, col);
|
TRANSPOSE(out, col);
|
||||||
|
|||||||
Reference in New Issue
Block a user