diff options
author | tetsuo55 <tetsuo55@users.sourceforge.net> | 2010-04-09 01:14:58 +0400 |
---|---|---|
committer | tetsuo55 <tetsuo55@users.sourceforge.net> | 2010-04-09 01:14:58 +0400 |
commit | a9b7bf3fb3e1334d8defd05ca4cfae870b4912e5 (patch) | |
tree | 2dab453d94d5e003379a6cc895eceb84c80e23ec /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c | |
parent | aafd49a91f7c2fa9c7103971c16fa6e1b29e8bfd (diff) |
astyle formatting cleanup to make the sourcecode more accessible
switch used: astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren
http://astyle.sourceforge.net/
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1783 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c index 129a01187..2291610a3 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mlpdsp.c @@ -33,15 +33,16 @@ static void ff_mlp_filter_channel(int32_t *state, const int32_t *coeff, const int32_t *iircoeff = coeff + MAX_FIR_ORDER; int i; - for (i = 0; i < blocksize; i++) { + for(i = 0; i < blocksize; i++) + { int32_t residual = *sample_buffer; unsigned int order; int64_t accum = 0; int32_t result; - for (order = 0; order < firorder; order++) + for(order = 0; order < firorder; order++) accum += (int64_t) firbuf[order] * fircoeff[order]; - for (order = 0; order < iirorder; order++) + for(order = 0; order < iirorder; order++) accum += (int64_t) iirbuf[order] * iircoeff[order]; accum = accum >> filter_shift; @@ -61,7 +62,7 @@ void ff_mlp_init(DSPContext* c, AVCodecContext *avctx) { c->mlp_filter_channel = ff_mlp_filter_channel; #if HAVE_MMX - if (ARCH_X86) + if(ARCH_X86) ff_mlp_init_x86(c, avctx); #endif } |