Huawei Technologies Co., Ltd
Method and device for pulse encoding, method and device for pulse decoding
The present invention discloses a method and a device for pulse encoding, and a method and a device for pulse decoding. The method for pulse encoding includes: calculating an index value of an input pulse; selecting an adjustment threshold value according to the number of pulses, and comparing the index value of the pulse with the adjustment threshold value; if the index value is smaller than the adjustment threshold value, adopting the first number of encoding bits to encode the index value, if the index value is not smaller than the adjustment threshold value, adopting the second number of encoding bits to encode the index value plus an offset value, where the first number is smaller than the second number, the first number and the second number are both positive integers, and the offset value is greater than or equal to the adjustment threshold value.
HUAWEI TECHNOLOGIES CO., LTD
H G G H G G G G H
H03M G10L G10L H03M G10L G10L G10L G10L H03M
inventional additional additional inventional additional inventional inventional inventional inventional
Fuwei Dejun Qing Minjie
Ma Zhang Zhang Xie