Lines Matching refs:shape
586 const float *c, int shape, int gain, float *scf) in unquantize() argument
590 float g = lc3_sns_vq_gains[shape].v[gain]; in unquantize()
677 static void enumerate(int shape, const int *c, in enumerate() argument
680 enum_mvpq(c, shape < 2 ? 10 : 16, idx_a, ls_a); in enumerate()
682 if (shape == 0) in enumerate()
693 static void deenumerate(int shape, in deenumerate() argument
696 int npulses_a = (const int []){ 10, 10, 8, 6 }[shape]; in deenumerate()
698 deenum_mvpq(idx_a, ls_a, npulses_a, c, shape < 2 ? 10 : 16); in deenumerate()
700 if (shape == 0) in deenumerate()
702 else if (shape == 1) in deenumerate()
793 c, cn, &data->shape, &data->gain); in lc3_sns_analyze()
796 cn[data->shape], data->shape, data->gain, scf); in lc3_sns_analyze()
798 enumerate(data->shape, c[data->shape], in lc3_sns_analyze()
814 deenumerate(data->shape, in lc3_sns_synthesize()
819 unquantize(data->lfcb, data->hfcb, cn, data->shape, data->gain, scf); in lc3_sns_synthesize()
846 int shape_msb = data->shape >> 1; in lc3_sns_put_data()
851 int submode = data->shape & 1; in lc3_sns_put_data()
863 int submode = data->shape & 1; in lc3_sns_put_data()
903 data->shape = (mux_code < 2); in lc3_sns_get_data()
905 if (data->shape == 0) { in lc3_sns_get_data()
918 data->shape = 2 + (mux_code >= size_a); in lc3_sns_get_data()
919 if (data->shape == 2) { in lc3_sns_get_data()