#include <assert.h>
#include <inttypes.h>
#include <tgmath.h>
#include <math.h>
#include "floating_fudge.h"
#include <stdlib.h>
#include "spandsp/telephony.h"
#include "spandsp/fast_convert.h"
#include "spandsp/bitstream.h"
#include "spandsp/saturated.h"
#include "spandsp/gsm0610.h"
#include "gsm0610_local.h"
#define STEP | ( | B, | |||
MIC, | |||||
INVA | ) |
temp1 = saturated_add16(*LARc++, MIC) << 10; \ temp1 = saturated_sub16(temp1, B << 1); \ temp1 = gsm_mult_r(INVA, temp1); \ *LARpp++ = saturated_add16(temp1, temp1);