Switching between coding schemes
First Claim
1. A method for encoding a signal, the method comprising:
- encoding, via a first encoding device, a first frame of a signal according to a first coding scheme; and
encoding, via a second encoding device, a second frame of the signal according to a modified discrete cosine transform (MDCT) coding scheme, wherein the second frame immediately follows the first frame, and wherein the encoding the second frame comprises;
defining a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and
producing spectral samples of the signal by calculating a MDCT for each window of the sequence of windows;
wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame;
wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods and units are shown for supporting a switching from a first coding scheme to a Modified Discrete Cosine Transform (MDCT) based coding scheme calculating a forward or inverse MDCT with a window (h(n)) of a first type for a respective coding frame, which satisfies constraints of perfect reconstruction. To avoid discontinuities during the switching, it is proposed that for a transient frame immediately after a switching, a sequence of windows (h0(n),h1(n),h2(n)) is provided for the forward and the inverse MDCTs. The windows of the window sequence are shorter than windows of the first type. The window sequence splits the spectrum of a respective first coding frame into nearly uncorrelated spectral components when used as basis for forward MDCTs, and the second half of the last window (h2(n)) of the sequence of windows is identical to the second half of a window of the first type.
-
Citations
27 Claims
-
1. A method for encoding a signal, the method comprising:
-
encoding, via a first encoding device, a first frame of a signal according to a first coding scheme; and encoding, via a second encoding device, a second frame of the signal according to a modified discrete cosine transform (MDCT) coding scheme, wherein the second frame immediately follows the first frame, and wherein the encoding the second frame comprises; defining a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and producing spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for decoding a signal, the method comprising:
-
decoding, via a first decoding device, a bitstream of a first frame of a signal according to a first coding scheme; and decoding, via a second decoding device, a bitstream of a second frame of the signal according to a modified discrete cosine transform (MDCT) coding scheme, wherein the second frame immediately follows the first frame, and wherein the decoding the second bitstream comprises; defining a sequence of windows for the bitstream of the second frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and producing samples of the signal by calculating an inverse MDCT for each window of the sequence of windows; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A hybrid encoding device comprising:
-
a first encoding device configured to encode a first frame of a signal according to a first coding scheme; a second encoding device configured to encode a second frame of the signal according to a MDCT coding scheme, wherein the second frame immediately follows the first frame, and wherein the second encoding device is further configured to; define a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and produce spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; and a switch coupled to the first and second encoding devices, wherein the switch is configured to select one of the first or second encoding devices on a frame-by-frame basis according to a type of the signal; wherein the shape of the second window is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
-
22. An encoder component comprising:
-
a hardware module configured to encode a second frame of a signal according to a MDCT coding scheme, wherein the second frame immediately follows a first frame of the signal, and wherein the module comprises; a first hardware component configured to define a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between a first coding scheme and the MDCT coding scheme; and a second hardware component configured to produce spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
-
23. A hybrid decoding device comprising:
-
a first decoding device configured to decode a bitstream of a first frame of a signal according to a first coding scheme; a second decoding device configured to decode a bitstream of a second frame of the signal according to a MDCT coding scheme, wherein the second frame immediately follows the first frame, and wherein the second decoding device is further configured to; define a sequence of windows for the second coding frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and produce spectral samples of the signal by calculating an inverse MDCT for each window of the sequence of windows; and a switch coupled to the first and second decoding devices, wherein the switch is configured to select one of the first or second decoding devices on a frame-by-frame basis according to a third bitstream of the signal; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
-
24. A decoder component comprising:
-
a hardware module configured to decode a bitstream of a second frame of a signal according to a MDCT coding scheme, wherein the second frame immediately follows a first frame of the signal, and wherein the module comprises; a first hardware component configured to define a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between a first coding scheme and the MDCT coding scheme; and a second hardware component configured to produce spectral samples of the signal by calculating an inverse MDCT for each window of the sequence of windows; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
-
25. A coding system comprising:
-
a hybrid encoding device comprising; a first encoding device configured to encode a first frame of a signal according to a first coding scheme; a second encoding device configured to encode a second frame of the signal according to a MDCT coding scheme, wherein the second frame immediately follows the first frame, and wherein the second encoder is further configured to; define a first sequence of windows for the second frame, wherein the first sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and produce a first plurality of spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; and a switch coupled to the first and second encoding devices, wherein the switch is configured to select one of the first or second encoders on a frame-by-frame basis according to a type of the signal; and a hybrid decoding device comprising; a first decoding device configured to decode a bitstream of a first frame of a signal according to a first coding scheme; a second decoding device configured to decode a bitstream of a second frame of the signal according to a MDCT coding scheme, wherein the second frame immediately follows the first frame, and wherein the second decoding device is further configured to; define a second sequence of windows for the second coding frame, wherein the second sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and produce a second plurality of spectral samples of the signal by calculating an inverse MDCT for each window of the sequence of windows; and a switch coupled to the first and second decoding devices, wherein the switch is configured to select one of the first or second decoding devices on a frame-by-frame basis according to a third bitstream of the signal; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
-
26. A hybrid encoding device comprising:
-
means for encoding a first frame of a signal according to a first coding scheme; means for encoding a second frame of the signal according to a MDCT coding scheme, wherein the second frame immediately follows the first frame; means for defining a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; means for producing spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; and means for selecting an encoding means on a frame-by-frame basis according to a type of the signal; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
-
27. A non-transitory computer-readable medium having computer readable instructions stored thereon that, when executed by a processor, cause a computing device to:
-
encode a second frame of a signal according to a MDCT coding scheme, wherein the second frame immediately follows a first frame of the signal; define a sequence of windows for the second coding frame, wherein the sequence of windows facilitates a transition between a first coding scheme and the MDCT coding scheme; and produce spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.
-
Specification