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 Written by Jean-Marc Valin */ | 3 Written by Jean-Marc Valin */ |
4 /** | 4 /** |
5 @file vq.h | 5 @file vq.h |
6 @brief Vector quantisation of the residual | 6 @brief Vector quantisation of the residual |
7 */ | 7 */ |
8 /* | 8 /* |
9 Redistribution and use in source and binary forms, with or without | 9 Redistribution and use in source and binary forms, with or without |
10 modification, are permitted provided that the following conditions | 10 modification, are permitted provided that the following conditions |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 /** Algebraic pulse decoder | 56 /** Algebraic pulse decoder |
57 * @param X Decoded normalised spectrum (returned) | 57 * @param X Decoded normalised spectrum (returned) |
58 * @param N Number of samples to decode | 58 * @param N Number of samples to decode |
59 * @param K Number of pulses to use | 59 * @param K Number of pulses to use |
60 * @param dec Entropy decoder state | 60 * @param dec Entropy decoder state |
61 * @ret A mask indicating which blocks in the band received pulses | 61 * @ret A mask indicating which blocks in the band received pulses |
62 */ | 62 */ |
63 unsigned alg_unquant(celt_norm *X, int N, int K, int spread, int B, | 63 unsigned alg_unquant(celt_norm *X, int N, int K, int spread, int B, |
64 ec_dec *dec, opus_val16 gain); | 64 ec_dec *dec, opus_val16 gain); |
65 | 65 |
66 void renormalise_vector(celt_norm *X, int N, opus_val16 gain); | 66 void renormalise_vector(celt_norm *X, int N, opus_val16 gain, int arch); |
67 | 67 |
68 int stereo_itheta(celt_norm *X, celt_norm *Y, int stereo, int N); | 68 int stereo_itheta(const celt_norm *X, const celt_norm *Y, int stereo, int N, int
arch); |
69 | 69 |
70 #endif /* VQ_H */ | 70 #endif /* VQ_H */ |
OLD | NEW |