OLD | NEW |
1 /* Copyright (c) 2007-2008 CSIRO | 1 /* Copyright (c) 2007-2008 CSIRO |
2 Copyright (c) 2007-2009 Xiph.Org Foundation | 2 Copyright (c) 2007-2009 Xiph.Org Foundation |
3 Copyright (c) 2007-2009 Timothy B. Terriberry | 3 Copyright (c) 2007-2009 Timothy B. Terriberry |
4 Written by Timothy B. Terriberry and Jean-Marc Valin */ | 4 Written by Timothy B. Terriberry and Jean-Marc Valin */ |
5 /* | 5 /* |
6 Redistribution and use in source and binary forms, with or without | 6 Redistribution and use in source and binary forms, with or without |
7 modification, are permitted provided that the following conditions | 7 modification, are permitted provided that the following conditions |
8 are met: | 8 are met: |
9 | 9 |
10 - Redistributions of source code must retain the above copyright | 10 - Redistributions of source code must retain the above copyright |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "entdec.h" | 36 #include "entdec.h" |
37 | 37 |
38 #ifdef CUSTOM_MODES | 38 #ifdef CUSTOM_MODES |
39 int log2_frac(opus_uint32 val, int frac); | 39 int log2_frac(opus_uint32 val, int frac); |
40 #endif | 40 #endif |
41 | 41 |
42 void get_required_bits(opus_int16 *bits, int N, int K, int frac); | 42 void get_required_bits(opus_int16 *bits, int N, int K, int frac); |
43 | 43 |
44 void encode_pulses(const int *_y, int N, int K, ec_enc *enc); | 44 void encode_pulses(const int *_y, int N, int K, ec_enc *enc); |
45 | 45 |
46 void decode_pulses(int *_y, int N, int K, ec_dec *dec); | 46 opus_val32 decode_pulses(int *_y, int N, int K, ec_dec *dec); |
47 | 47 |
48 #endif /* CWRS_H */ | 48 #endif /* CWRS_H */ |
OLD | NEW |