Patent ID: 7254533

Claim:
An apparatus for encoding and decoding a voice signal, the apparatus comprising: an encoder configured to generate an output bitstream signal from an input voice signal, the output bitstream signal associated with at least a first standard of a first plurality of CELP voice compression standards; a decoder configured to generate an output voice signal from an input bitstream signal, the input bitstream signal associated with at least a first standard of a second plurality of CELP voice compression standards; wherein the CELP encoder comprises: a plurality of codec-specific encoder modules, at least one of the plurality of codec-specific encoder modules including at least a first table, at least a first function or at least a first operation, the first table, the first function or the first operation associated with only a second standard of the first plurality of CELP voice compression standards; a plurality of generic encoder modules, at least one of the plurality of generic encoder modules including at least a second table, a second function or a second operation, the second table, the second function or the second operation associated with at least a third standard and a fourth standard of the first plurality of CELP voice compression standards, the third standard and the fourth standard of the first plurality of CELP voice compression standards being different; wherein the CELP decoder comprises: a plurality of codec-specific decoder modules, at least one of the plurality of codec-specific decoder modules including at least a third table, at least a third function or at least a third operation, the third table, the third function or the third operation associated with only a second standard of the second plurality of CELP voice compression standards; a plurality of generic decoder modules, at least one of the plurality of generic decoder modules including at least a fourth table, a fourth function or a fourth operation, the fourth table, the fourth function or the fourth operation associated with at least a third standard and a fourth standard of the second plurality of CELP voice compression standards, the third standard and the fourth standard of the second plurality of CELP voice compression standards being different.