Patent ID: 8219395
Filing Date: 2012-07-10
Classification: G10L,H04L

Abstract:
1. A frame compensation method in a codec using a transform coded excitation (TCX) coding mode and implemented by a data processing equipment, comprising: obtaining a length of a lost frame and a length of a correct frame; determining that the length of the correct frame is an integral power of two (2) times of the length of the lost frame, and obtaining a data sequence having the length of the lost frame according to the correct frame; and compensating the lost frame according to the data sequence to obtain a compensated data frame; if the length of the correct frame is a positive integral power of two (2) times of the length of the lost frame, the step of obtaining the data sequence with the same length as the length of the lost frame according to the correct frame further comprises obtaining the data sequence having the length of the lost frame according to data at positions of integral multiples of the positive integral power of two (2) in the correct frame; or if the length of the correct frame is a negative integral power of two (2) times of the length of the lost frame, the step of obtaining the data sequence with the same length as the length of the lost frame according to the correct frame further comprises: obtaining the data sequence with the same length as the length of the lost frame by interpolating data into the correct frame according to amplitudes and phases of the data of the correct frame.