sela
lpc_encoded_data.hpp
Go to the documentation of this file.
1 #ifndef _LPC_ENCODED_DATA_H_
2 #define _LPC_ENCODED_DATA_H_
3 
4 #include <cstdint>
5 #include <vector>
6 
7 namespace data {
9 public:
10  uint8_t optimalLpcOrder;
11  uint8_t bitsPerSample;
12  const std::vector<int32_t> quantizedReflectionCoefficients;
13  const std::vector<int32_t> residues;
14  LpcEncodedData(uint8_t optimalLpcOrder, uint8_t bitsPerSample, const std::vector<int32_t>&& quantizedReflectionCoefficients, const std::vector<int32_t>&& residues) noexcept
15  : optimalLpcOrder(optimalLpcOrder)
16  , bitsPerSample(bitsPerSample)
17  , quantizedReflectionCoefficients(quantizedReflectionCoefficients)
18  , residues(residues)
19  {
20  }
21 };
22 }
23 
24 #endif
LpcEncodedData(uint8_t optimalLpcOrder, uint8_t bitsPerSample, const std::vector< int32_t > &&quantizedReflectionCoefficients, const std::vector< int32_t > &&residues) noexcept
Definition: lpc_encoded_data.hpp:14
Definition: audio_packet.hpp:4
uint8_t bitsPerSample
Definition: lpc_encoded_data.hpp:11
const std::vector< int32_t > residues
Definition: lpc_encoded_data.hpp:13
Definition: lpc_encoded_data.hpp:8
uint8_t optimalLpcOrder
Definition: lpc_encoded_data.hpp:10
const std::vector< int32_t > quantizedReflectionCoefficients
Definition: lpc_encoded_data.hpp:12