Huawei Technologies Co., Ltd.
Method and device for pulse encoding, method and device for pulse decoding
The present application discloses a pulse encoding method for use by a voice encoder. An initial number of coding bits is determined according to number of pulses in an input signal. An index value is calculated according to information of the pulses in the input signal. The index value is compared with an adjustment threshold value. If the index value is smaller than the adjustment threshold value, the index value is encoded using a reduced number of encoding bits. If the index value is not smaller than the adjustment threshold value, the index value plus an offset value is encoded using the initial number of encoding bits. The reduced number of encoding bits is smaller than the initial number of encoding bits, and the offset value is greater than or equal to the adjustment threshold value.
HUAWEI TECHNOLOGIES CO., LTD.
G G G G H H G G H
G10L G10L G10L G10L H03M H03M G10L G10L H03M
additional additional additional inventional inventional inventional inventional inventional inventional
Qing Dejun Fuwei Minjie
Zhang Zhang Ma Xie