Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: patched-ffmpeg-mt/libavcodec/mlpdsp.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698