[FFmpeg-soc] [soc]: r693 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Sat Aug 11 21:48:50 CEST 2007
Author: marco
Date: Sat Aug 11 21:48:49 2007
New Revision: 693
Log:
fix indentation
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Sat Aug 11 21:48:49 2007
@@ -1662,46 +1662,46 @@ START_TIMER
/* Vertical synthesis: Lifting stage 1. */
synthline = synth;
for (x = 0; x < synth_width; x++) {
- synthline[x] -= ( synthline[synth_width + x]
- + synthline[synth_width + x]
- + 2) >> 2;
+ synthline[x] -= synthline[synth_width + x]
+ + synthline[synth_width + x]
+ + 2) >> 2;
}
synthline = synth + (synth_width << 1);
for (y = 1; y < height - 1; y++) {
for (x = 0; x < synth_width; x++) {
- synthline[x] -= ( synthline[x - synth_width]
- + synthline[x + synth_width]
- + 2) >> 2;
+ synthline[x] -= (synthline[x - synth_width]
+ + synthline[x + synth_width]
+ + 2) >> 2;
}
synthline += (synth_width << 1);
}
synthline = synth + (synth_height - 2) * synth_width;
for (x = 0; x < synth_width; x++) {
- synthline[x] -= ( synthline[x - synth_width]
- + synthline[x + synth_width]
- + 2) >> 2;
+ synthline[x] -= (synthline[x - synth_width]
+ + synthline[x + synth_width]
+ + 2) >> 2;
}
/* Vertical synthesis: Lifting stage 2. */
synthline = synth + synth_width;
for (x = 0; x < synth_width; x++)
- synthline[x] += ( synthline[x]
- + synthline[x + synth_width]
- + 1) >> 1;
+ synthline[x] += (synthline[x]
+ + synthline[x + synth_width]
+ + 1) >> 1;
synthline = synth + (synth_width << 1);
for (y = 1; y < height - 1; y++) {
for (x = 0; x < synth_width; x++) {
- synthline[x + synth_width] += ( synthline[x]
- + synthline[x + synth_width * 2]
- + 1) >> 1;
+ synthline[x + synth_width] += (synthline[x]
+ + synthline[x + synth_width * 2]
+ + 1) >> 1;
}
synthline += (synth_width << 1);
}
synthline = synth + (synth_height - 1) * synth_width;
for (x = 0; x < synth_width; x++)
- synthline[x] += ( synthline[x - synth_width]
- + synthline[x - synth_width]
- + 1) >> 1;
+ synthline[x] += (synthline[x - synth_width]
+ + synthline[x - synth_width]
+ + 1) >> 1;
/* Horizontal synthesis. */
@@ -1710,23 +1710,23 @@ START_TIMER
/* Lifting stage 1. */
for (x = 0; x < width - 1; x++) {
- synthline[2*x] -= ( synthline[2*x - 1]
- + synthline[2*x + 1]
- + 2) >> 2;
+ synthline[2*x] -= (synthline[2*x - 1]
+ + synthline[2*x + 1]
+ + 2) >> 2;
}
- synthline[synth_width - 2] -= ( synthline[synth_width - 3]
- + synthline[synth_width - 1]
- + 2) >> 2;
+ synthline[synth_width - 2] -= (synthline[synth_width - 3]
+ + synthline[synth_width - 1]
+ + 2) >> 2;
/* Lifting stage 2. */
for (x = 0; x < width - 1; x++) {
- synthline[2*x + 1] += ( synthline[2*x]
- + synthline[2*x + 2]
- + 1) >> 1;
+ synthline[2*x + 1] += (synthline[2*x]
+ + synthline[2*x + 2]
+ + 1) >> 1;
}
- synthline[synth_width - 1] += ( synthline[synth_width - 2]
- + synthline[synth_width - 2]
- + 1) >> 1;
+ synthline[synth_width - 1] += (synthline[synth_width - 2]
+ + synthline[synth_width - 2]
+ + 1) >> 1;
synthline += synth_width;
}
More information about the FFmpeg-soc
mailing list