Method of error concealment, and associated device
AssigneeSTMicroelectronics S.r.l.
InventorsMarta Gómez Correa, Fabio Dell'Orto, Muhammad Umair Saeed
Life of this patent
Estimating the term…
Abstract
In an embodiment, a method includes: receiving an audio frame; decomposing the received audio frame into M sub-band pulse-code modulation (PCM) audio frames, where M is a positive integer number; predicting a PCM sample of one sub-band PCM audio frame of the M sub-band PCM audio frames; comparing the predicted PCM sample with a corresponding received PCM sample to generate a prediction error sample; comparing an instantaneous absolute value of the prediction error sample with a threshold; and replacing the corresponding received PCM sample with a value based on the predicted PCM sample when the instantaneous absolute value of the prediction error sample is greater than the threshold.
Claims22
A method comprising:
- receiving an audio frame;
- decomposing the received audio frame into M sub-band pulse-code modulation (PCM) audio frames, wherein M is a positive integer number;
- predicting a PCM sample of one sub-band PCM audio frame of the M sub-band PCM audio frames;
- comparing the predicted PCM sample with a corresponding received PCM sample to generate a prediction error sample;
- comparing an instantaneous absolute value of the prediction error sample with a first threshold;
- and
- replacing the corresponding received PCM sample with a value based on the predicted PCM sample when the instantaneous absolute value of the prediction error sample is greater than the first threshold.
A digital audio broadcasting (DAB) receiver comprising:
- a frame unpacking block configured to receive an encoded frame;
- a reconstruction block configured to generate M sub-band frames based on the encoded frame;
- a linear predictor configured to receive one sub-band frame of the M sub-band frames and to generate a predicted sample based on a corresponding received sample;
- a first block configured to generate a prediction error based on the predicted sample and the corresponding received sample;
- a comparator configured to assert a flag when an instantaneous absolute value of the prediction error is higher than a threshold;
- and
- a selector block configured to select the predicted sample when the flag is asserted.
A method of concealing an error in a pulse-code modulation (PCM) audio frame encoded with an MPEG Version 1 Layer II (MP2) encoding scheme, the method comprising:
- receiving the PCM audio frame;
- decomposing the received PCM audio frame into 32 sub-band PCM audio frames;
- predicting a PCM sample of one sub-band PCM audio frame of the 32 sub-band PCM audio frames using a linear predictor based on PCM samples of the received PCM audio frame;
- comparing the predicted PCM sample with a corresponding received PCM sample to generate a prediction error sample;
- comparing an instantaneous absolute value of the prediction error sample with a threshold;
- and
- replacing the corresponding received PCM sample with the predicted PCM sample when the instantaneous absolute value of the prediction error sample is greater than the threshold.
An audio decoder comprising:
- a frame unpacking block configured to receive an encoded frame;
- a reconstruction block configured to generate M sub-band frames based on the encoded frame;
- and
- an error detection and concealment block comprising:
- a linear predictor configured to receive one sub-band frame based on the M sub-band frames and to generate a predicted sample based on a corresponding received sample,
- an adder block configured to generate a prediction error based on the predicted sample and the corresponding received sample,
- a comparator configured to assert a flag when an instantaneous absolute value of the prediction error is higher than a threshold, and
- a selector block configured to select the predicted sample when the flag is asserted.
Dependencies are inferred from the claim text.