Audio coding method and related apparatus
First Claim
Patent Images
1. An audio signal encoding method, comprising:
- obtaining, by an audio signal encoder, an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband i, a subband j, a subband x, and a subband y;
obtaining, by the audio signal encoder, an average energy of the subband i, an average energy of the subband j, a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; and
encoding, by the audio signal encoder, the current frame using a high quality transform coding (HQ) algorithm when the average energy of the subband j is greater than a product of the average energy of the subband i multiplied by a first constant (T4), a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a lowest value of a first interval (R1), and the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a highest value of the R1.
1 Assignment
0 Petitions
Accused Products
Abstract
An audio encoding method and a related apparatus, where the audio coding method includes obtaining an audio signal, obtaining some subband parameters of a current frame of the audio signal, and encoding the current frame using a high quality transform coding (HQ) algorithm based on the obtained subband parameters. The audio encoding method and the related apparatus help improve encoding quality or encoding efficiency in audio signal encoding.
-
Citations
21 Claims
-
1. An audio signal encoding method, comprising:
-
obtaining, by an audio signal encoder, an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband i, a subband j, a subband x, and a subband y; obtaining, by the audio signal encoder, an average energy of the subband i, an average energy of the subband j, a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; and encoding, by the audio signal encoder, the current frame using a high quality transform coding (HQ) algorithm when the average energy of the subband j is greater than a product of the average energy of the subband i multiplied by a first constant (T4), a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a lowest value of a first interval (R1), and the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a highest value of the R1. - View Dependent Claims (2, 3, 4)
-
-
5. An audio signal encoding method, comprising:
-
obtaining, by an audio signal encoder, an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband x and a subband y; obtaining, by the audio signal encoder, a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; encoding, by the audio signal encoder, the current frame using a high quality transform coding (HQ) algorithm when a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x multiplied by a first constant (T44), and the spectral peak of the subband y is greater than a product of the spectral average of the subband y multiplied by a second constant (T45); and encoding, by the audio signal encoder, the current frame using the HQ algorithm when the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x multiplied by a third constant (T46), and the spectral peak of the subband y is less than a product of the spectral average of the subband y multiplied by the T45. - View Dependent Claims (6, 7)
-
-
8. An audio signal encoder, comprising:
-
a memory storing program instructions; and at least one processor coupled to the memory, wherein the program instructions cause the at least one processor to be configured to; obtain an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband i, a subband j, a subband x, and a subband y; obtain an average energy of the subband i, an average energy of the subband j, a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; and encode the current frame using a high quality transform coding (HQ) algorithm when the average energy of the subband j is greater than a product of the average energy of the subband i multiplied by a first constant (T4), a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a lowest value of a first interval (R1), and the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a highest value of the R1. - View Dependent Claims (9, 10, 11)
-
-
12. An audio signal encoder, comprising:
-
a memory storing program instructions; and at least one processor coupled to the memory, wherein the program instructions cause the at least one processor to be configured to; obtain an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband x and a subband y; obtain a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; encode the current frame using a high quality transform coding (HQ) algorithm when a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x multiplied by a first constant (T44), and the spectral peak of the subband y is greater than a product of the spectral average of the subband y multiplied by a second constant (T45); and encode the current frame using the HQ algorithm when the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x multiplied by a third constant (T46), and the spectral peak of the subband y is less than a product of the spectral average of the subband y multiplied by the T47. - View Dependent Claims (13, 14)
-
-
15. An audio signal encoder, comprising:
-
a hardware circuit configured to obtain an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband i, a subband j, a subband x, and a subband y; a hardware circuit configured to obtain an average energy of the subband i, an average energy of the subband j, a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; and a hardware circuit configured to encode the current frame using a high quality transform coding (HQ) algorithm when the average energy of the subband j is greater than a product of the average energy of the subband i multiplied by a first constant (T4), a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a lowest value of a first interval (RI), and the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x and multiplied by a highest value of the RI. - View Dependent Claims (16, 17, 18)
-
-
19. An audio signal encoder, comprising:
-
a hardware circuit configured to obtain an audio signal, wherein the audio signal comprises a current frame, and wherein the current frame comprises a subband x and a subband y; and a hardware circuit configured to obtain a spectral peak of the subband x, a spectral average of the subband x, a spectral peak of the subband y, and a spectral average of the subband y; and a hardware circuit configured to;
encode the current frame using a high quality transform coding (HQ) algorithm when a product of the spectral peak of the subband x multiplied by the spectral average of the subband y is less than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x multiplied by a first constant (T44), and the spectral peak of the subband y is greater than a product of the spectral average of the subband y multiplied by a second constant (T45); andencode the current frame using the HQ algorithm when the product of the spectral peak of the subband x multiplied by the spectral average of the subband y is greater than a product of the spectral peak of the subband y multiplied by the spectral average of the subband x multiplied by a third constant (T46), and the spectral peak of the subband y is less than a product of the spectral average of the subband y multiplied by the T47. - View Dependent Claims (20, 21)
-
Specification