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

Side by Side Diff: patched-ffmpeg-mt/libavcodec/sipr.h

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 * SIPR / ACELP.NET decoder 2 * SIPR / ACELP.NET decoder
3 * 3 *
4 * Copyright (c) 2008 Vladimir Voroshilov 4 * Copyright (c) 2008 Vladimir Voroshilov
5 * Copyright (c) 2009 Vitor Sessak 5 * Copyright (c) 2009 Vitor Sessak
6 * 6 *
7 * This file is part of FFmpeg. 7 * This file is part of FFmpeg.
8 * 8 *
9 * FFmpeg is free software; you can redistribute it and/or 9 * FFmpeg is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 AVCodecContext *avctx; 57 AVCodecContext *avctx;
58 DSPContext dsp; 58 DSPContext dsp;
59 59
60 SiprMode mode; 60 SiprMode mode;
61 61
62 float past_pitch_gain; 62 float past_pitch_gain;
63 float lsf_history[LP_FILTER_ORDER_16k]; 63 float lsf_history[LP_FILTER_ORDER_16k];
64 64
65 float excitation[L_INTERPOL + PITCH_MAX + 2 * L_SUBFR_16k]; 65 float excitation[L_INTERPOL + PITCH_MAX + 2 * L_SUBFR_16k];
66 66
67 DECLARE_ALIGNED_16(float, synth_buf)[LP_FILTER_ORDER + 5*SUBFR_SIZE + 6]; 67 DECLARE_ALIGNED(16, float, synth_buf)[LP_FILTER_ORDER + 5*SUBFR_SIZE + 6];
68 68
69 float lsp_history[LP_FILTER_ORDER]; 69 float lsp_history[LP_FILTER_ORDER];
70 float gain_mem; 70 float gain_mem;
71 float energy_history[4]; 71 float energy_history[4];
72 float highpass_filt_mem[2]; 72 float highpass_filt_mem[2];
73 float postfilter_mem[PITCH_DELAY_MAX + LP_FILTER_ORDER]; 73 float postfilter_mem[PITCH_DELAY_MAX + LP_FILTER_ORDER];
74 74
75 /* 5k0 */ 75 /* 5k0 */
76 float tilt_mem; 76 float tilt_mem;
77 float postfilter_agc; 77 float postfilter_agc;
(...skipping 20 matching lines...) Expand all
98 } SiprParameters; 98 } SiprParameters;
99 99
100 extern const float ff_pow_0_5[16]; 100 extern const float ff_pow_0_5[16];
101 101
102 void ff_sipr_init_16k(SiprContext *ctx); 102 void ff_sipr_init_16k(SiprContext *ctx);
103 103
104 void ff_sipr_decode_frame_16k(SiprContext *ctx, SiprParameters *params, 104 void ff_sipr_decode_frame_16k(SiprContext *ctx, SiprParameters *params,
105 float *out_data); 105 float *out_data);
106 106
107 #endif /* AVCODEC_SIPR_H */ 107 #endif /* AVCODEC_SIPR_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698