00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef AVCODEC_ACELP_VECTORS_H
00024 #define AVCODEC_ACELP_VECTORS_H
00025
00026 #include <stdint.h>
00027
00042 extern const uint8_t ff_fc_4pulses_8bits_tracks_13[16];
00043
00055 extern const uint8_t ff_fc_4pulses_8bits_track_4[32];
00056
00071 extern const uint8_t ff_fc_2pulses_9bits_track1[16];
00072 extern const uint8_t ff_fc_2pulses_9bits_track1_gray[16];
00073
00103 extern const uint8_t ff_fc_2pulses_9bits_track2_gray[32];
00104
00119 void ff_acelp_fc_pulse_per_track(
00120 int16_t* fc_v,
00121 const uint8_t *tab1,
00122 const uint8_t *tab2,
00123 int pulse_indexes,
00124 int pulse_signs,
00125 int pulse_count,
00126 int bits);
00127
00143 void ff_acelp_weighted_vector_sum(
00144 int16_t* out,
00145 const int16_t *in_a,
00146 const int16_t *in_b,
00147 int16_t weight_coeff_a,
00148 int16_t weight_coeff_b,
00149 int16_t rounder,
00150 int shift,
00151 int length);
00152
00153 #endif