| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2007-2008 Ian Caulfield | 2 * Copyright (c) 2007-2008 Ian Caulfield |
| 3 * 2009 Ramiro Polla | 3 * 2009 Ramiro Polla |
| 4 * | 4 * |
| 5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
| 6 * | 6 * |
| 7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 result = (accum + residual) & mask; | 48 result = (accum + residual) & mask; |
| 49 | 49 |
| 50 *--firbuf = result; | 50 *--firbuf = result; |
| 51 *--iirbuf = result - accum; | 51 *--iirbuf = result - accum; |
| 52 | 52 |
| 53 *sample_buffer = result; | 53 *sample_buffer = result; |
| 54 sample_buffer += MAX_CHANNELS; | 54 sample_buffer += MAX_CHANNELS; |
| 55 } | 55 } |
| 56 } | 56 } |
| 57 | 57 |
| 58 void ff_mlp_init_x86(DSPContext* c, AVCodecContext *avctx); | |
| 59 | |
| 60 void ff_mlp_init(DSPContext* c, AVCodecContext *avctx) | 58 void ff_mlp_init(DSPContext* c, AVCodecContext *avctx) |
| 61 { | 59 { |
| 62 c->mlp_filter_channel = ff_mlp_filter_channel; | 60 c->mlp_filter_channel = ff_mlp_filter_channel; |
| 63 if (ARCH_X86) | 61 if (ARCH_X86) |
| 64 ff_mlp_init_x86(c, avctx); | 62 ff_mlp_init_x86(c, avctx); |
| 65 } | 63 } |
| OLD | NEW |