Add function for c8->c16 decimate by two without fs/4 shift.

This commit is contained in:
Jared Boone 2015-11-19 12:20:20 -08:00
parent 8967f0eaa1
commit ccd64f3cd9
2 changed files with 69 additions and 0 deletions

View file

@ -34,6 +34,18 @@
namespace dsp {
namespace decimate {
class Complex8DecimateBy2CIC3 {
public:
buffer_c16_t execute(
buffer_c8_t src,
buffer_c16_t dst
);
private:
uint32_t _i1_i0 { 0 };
uint32_t _q1_q0 { 0 };
};
class TranslateByFSOver4AndDecimateBy2CIC3 {
public:
buffer_c16_t execute(