diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-26 23:36:05 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-26 23:36:05 +0000 |
commit | 1384e2705470e9603a2ed2fdaff801a9cc6b2758 (patch) | |
tree | b78652e74870075bab6e10ad73c01133d2c4cdf1 /libavcodec/ppc | |
parent | 5231f101d156bbc6000f0555cf80abc3d966a814 (diff) | |
download | ffmpeg-streaming-1384e2705470e9603a2ed2fdaff801a9cc6b2758.zip ffmpeg-streaming-1384e2705470e9603a2ed2fdaff801a9cc6b2758.tar.gz |
consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 14cc6ce..9832fb9 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -383,7 +383,7 @@ int dct_quantize_altivec(MpegEncContext* s, { vector bool char zero_01, zero_23, zero_45, zero_67; - vector signed char scanIndices_01, scanIndices_23, scanIndices_45, scanIndices_67; + vector signed char scanIndexes_01, scanIndexes_23, scanIndexes_45, scanIndexes_67; vector signed char negOne = vec_splat_s8(-1); vector signed char* scanPtr = (vector signed char*)(s->intra_scantable.inverse); @@ -400,38 +400,38 @@ int dct_quantize_altivec(MpegEncContext* s, vec_cmpeq(data7, (vector signed short)zero)); // 64 biggest values - scanIndices_01 = vec_sel(scanPtr[0], negOne, zero_01); - scanIndices_23 = vec_sel(scanPtr[1], negOne, zero_23); - scanIndices_45 = vec_sel(scanPtr[2], negOne, zero_45); - scanIndices_67 = vec_sel(scanPtr[3], negOne, zero_67); + scanIndexes_01 = vec_sel(scanPtr[0], negOne, zero_01); + scanIndexes_23 = vec_sel(scanPtr[1], negOne, zero_23); + scanIndexes_45 = vec_sel(scanPtr[2], negOne, zero_45); + scanIndexes_67 = vec_sel(scanPtr[3], negOne, zero_67); // 32 largest values - scanIndices_01 = vec_max(scanIndices_01, scanIndices_23); - scanIndices_45 = vec_max(scanIndices_45, scanIndices_67); + scanIndexes_01 = vec_max(scanIndexes_01, scanIndexes_23); + scanIndexes_45 = vec_max(scanIndexes_45, scanIndexes_67); // 16 largest values - scanIndices_01 = vec_max(scanIndices_01, scanIndices_45); + scanIndexes_01 = vec_max(scanIndexes_01, scanIndexes_45); // 8 largest values - scanIndices_01 = vec_max(vec_mergeh(scanIndices_01, negOne), - vec_mergel(scanIndices_01, negOne)); + scanIndexes_01 = vec_max(vec_mergeh(scanIndexes_01, negOne), + vec_mergel(scanIndexes_01, negOne)); // 4 largest values - scanIndices_01 = vec_max(vec_mergeh(scanIndices_01, negOne), - vec_mergel(scanIndices_01, negOne)); + scanIndexes_01 = vec_max(vec_mergeh(scanIndexes_01, negOne), + vec_mergel(scanIndexes_01, negOne)); // 2 largest values - scanIndices_01 = vec_max(vec_mergeh(scanIndices_01, negOne), - vec_mergel(scanIndices_01, negOne)); + scanIndexes_01 = vec_max(vec_mergeh(scanIndexes_01, negOne), + vec_mergel(scanIndexes_01, negOne)); // largest value - scanIndices_01 = vec_max(vec_mergeh(scanIndices_01, negOne), - vec_mergel(scanIndices_01, negOne)); + scanIndexes_01 = vec_max(vec_mergeh(scanIndexes_01, negOne), + vec_mergel(scanIndexes_01, negOne)); - scanIndices_01 = vec_splat(scanIndices_01, 0); + scanIndexes_01 = vec_splat(scanIndexes_01, 0); - vec_ste(scanIndices_01, 0, &lastNonZeroChar); + vec_ste(scanIndexes_01, 0, &lastNonZeroChar); lastNonZero = lastNonZeroChar; |