摘要:
Method, apparatus, and system for encoding and decoding signals are disclosed. The encoding method includes: converting a first-domain signal into a second-domain signal; performing Linear Prediction (LP) processing and Long-Term Prediction (LTP) processing for the second-domain signal; obtaining a long-term flag according to a decision criterion; obtaining a second-domain predictive signal according to the LP processing result and the LTP processing result when the long-term flag is a first flag; or obtaining a second-domain predictive signal according to the LP processing result when the long-term flag is a second flag; converting the second-domain predictive signal into a first-domain predictive signal, calculating a first-domain predictive residual signal; and outputting a bit stream that includes the first-domain predictive residual signal. Subsequent encoding or decoding process is performed adaptively according to the long-term flag; and it is not always necessary to consider the LTP processing result, thus improving the compression performance of codec.
摘要:
A framing method and apparatus are disclosed to overcome inconsistency of gains between sub-frames caused by simple average framing in the prior art. The method includes: obtaining the Linear Prediction Coding (LPC) order and the pitch of the signal; removing the samples inapplicable to Long-Term Prediction (LTP) synthesis according to the LPC prediction order and the pitch; and splitting the remaining samples of the signal into several sub-frames. The technical solution under the present invention is applicable to the multimedia speech coding field.
摘要:
The embodiments of the present invention relate to a compression coding and decoding method, a coder, a decoder and a coding device. The compression coding method includes: extracting sign information of an input signal to obtain an absolute value signal of the input signal; obtaining a residual signal of the absolute value signal by using a prediction coefficient, where the prediction coefficient is obtained by prediction and analysis that are performed according to a signal characteristic of the absolute value signal of the input signal; and multiplexing the residual signal, the sign information and a coding parameter to output a coding code stream, after the residual signal, the sign information and the coding parameter are respectively coded, so as to improve compression efficiency of a voice and audio signal.
摘要:
A pitch detection method and apparatus are disclosed. The method includes: performing pitch detection on an input signal in a signal domain, and obtaining a candidate pitch; performing linear prediction (LP) on the input signal, and obtaining an LP residual signal; setting a candidate pitch range that includes the candidate pitch; searching the candidate pitch range for the LP residual signal, and obtaining a selected pitch.
摘要:
The present invention relates to communication technologies and discloses a method, an apparatus and a system for Linear Prediction Coding (LPC) analysis to improve LPC prediction performance and simplify analysis operation. The method includes: obtaining signal feature information of at least one sample point of input signals; comparing and analyzing the signal feature information to obtain an analysis result; selecting a window function according to the analysis result to perform adaptive windowing for the input signals and obtain windowed signals; and processing the windowed signals to obtain an LPC coefficient for linear prediction. The embodiments of the present invention are applicable to LPC.
摘要:
The present invention relates to communication technologies and discloses a method, an apparatus and a system for Linear Prediction Coding (LPC) analysis to improve LPC prediction performance and simplify analysis operation. The method includes: obtaining signal feature information of at least one sample point of input signals; comparing and analyzing the signal feature information to obtain an analysis result; selecting a window function according to the analysis result to perform adaptive windowing for the input signals and obtain windowed signals; and processing the windowed signals to obtain an LPC coefficient for linear prediction. The embodiments of the present invention are applicable to LPC.
摘要:
The present invention relates to encoding technology. The encoding method includes selecting a second encoding mode for encoding an input frame signal according to an analysis on signal characteristic of the input frame signal; obtaining coding demand values for a preset first encoding mode and the second encoding mode which are used to encode the input frame signal; determining, from the above encoding modes based on the coding demand values, an encoding mode for encoding the input frame signal; and multiplexing information of the determined encoding mode and encoded data which are encoded according to the determined encoding mode. Hence, the compatibility and the prioritization in terms of the encoding modes can be achieved.
摘要:
A coding method, a decoding method, a coding apparatus, and a decoding apparatus are disclosed herein. A coding method includes: obtaining a value of each sample of an input data frame; determining pulse samples and non-pulse samples in the input data frame according to the distribution of values of samples of the input data frame; encoding the determined pulse samples in the input data frame in a first coding mode to obtain a first data stream; encoding the determined non-pulse samples in the input data frame in a second coding mode to obtain a second data stream; and multiplexing the first data stream and the second data stream to obtain an output coded data stream of the input data frame. Compared with the prior art, the technical solution under the present disclosure reduces the number of bits required for encoding the entire data frame is reduced, and improves the compression efficiency of the data frame with a wide dynamic range.
摘要:
A coding method, a decoding method, a coding apparatus, and a decoding apparatus are disclosed herein. A coding method includes: obtaining a value of each sample of an input data frame; determining pulse samples and non-pulse samples in the input data frame according to the distribution of values of samples of the input data frame; encoding the determined pulse samples in the input data frame in a first coding mode to obtain a first data stream; encoding the determined non-pulse samples in the input data frame in a second coding mode to obtain a second data stream; and multiplexing the first data stream and the second data stream to obtain an output coded data stream of the input data frame. Compared with the prior art, the technical solution under the present disclosure reduces the number of bits required for encoding the entire data frame is reduced, and improves the compression efficiency of the data frame with a wide dynamic range.
摘要:
The present disclosure relates to coding and decoding technologies, and discloses a preprocessing method, a preprocessing apparatus, and a coding device. The preprocessing method includes: obtaining characteristic information of a current frame signal; identifying whether the current frame signal requires no coding operation of removing LTC according to the characteristic information of the current frame signal and preset information; and if identifying that the current frame signal requires no coding operation of removing LTC, performing the coding operation of removing STC for the current frame signal; and if identifying that the current frame signal requires the coding operation of removing LTC, performing the coding operations of removing both LTC and STC for the current frame signal. Through the technical solution provided herein, the coding operation of removing LTC is performed for only part of the input frame signals.