Energy lossless-encoding method and apparatus, audio encoding method and apparatus, energy lossless-decoding method and apparatus, and audio decoding method and apparatus
First Claim
Patent Images
1. A method for coding an envelope of a signal including at least one of audio and speech, the method comprising:
- determining a coding method among a first coding method and a second coding method for encoding differential quantization indices of bands in a frame;
encoding the differential quantization indices using the determined coding method; and
generating a bitstream to be sent for decoding into reconstructed signal including at least one of audio and speech,wherein the determining the coding method comprises;
determining the first coding method when at least one differential quantization index is not represented by a specific range; and
when the differential quantization indices are represented by the specific range, selecting one Huffman coding mode from a context based Huffman coding mode and a resized Huffman coding mode in the second coding method, based on a comparison result of a bit consumption for encoding the differential quantization indices,wherein in the context based Huffman coding mode, a context of a current band is obtained by using a differential quantization index of a previous band, and a differential quantization index of the current band is Huffman encoded based on the context of the current band,wherein in the resized Huffman coding mode, the context of the current band is not obtained, and the differential quantization index of the current band is Huffman encoded without the context of the current band,wherein in the context based Huffman coding mode or the resized Huffman coding mode, bits representing each of the differential quantization indices are split into upper bits and a lower bit and the upper bits are Huffman encoded, and the lower bit is processed by bit packing without Huffman encoding, andwherein the upper bits and the lower bit do not comprise a bit indicating the determined coding method among the first coding method and the second coding method, and a bit indicating the one Huffman coding mode from the context based Huffman coding mode and the resized Huffman coding mode.
0 Assignments
0 Petitions
Accused Products
Abstract
A lossless encoding method is provided that includes determining a lossless encoding mode of a quantization coefficient as one of an infinite-range lossless encoding mode and a finite-range lossless encoding mode; encoding the quantization coefficient in the infinite-range lossless encoding mode in correspondence with a result of the lossless encoding mode determination; and encoding the quantization coefficient in the finite-range lossless encoding mode in correspondence with a result of the lossless encoding mode determination.
39 Citations
4 Claims
-
1. A method for coding an envelope of a signal including at least one of audio and speech, the method comprising:
-
determining a coding method among a first coding method and a second coding method for encoding differential quantization indices of bands in a frame; encoding the differential quantization indices using the determined coding method; and generating a bitstream to be sent for decoding into reconstructed signal including at least one of audio and speech, wherein the determining the coding method comprises; determining the first coding method when at least one differential quantization index is not represented by a specific range; and when the differential quantization indices are represented by the specific range, selecting one Huffman coding mode from a context based Huffman coding mode and a resized Huffman coding mode in the second coding method, based on a comparison result of a bit consumption for encoding the differential quantization indices, wherein in the context based Huffman coding mode, a context of a current band is obtained by using a differential quantization index of a previous band, and a differential quantization index of the current band is Huffman encoded based on the context of the current band, wherein in the resized Huffman coding mode, the context of the current band is not obtained, and the differential quantization index of the current band is Huffman encoded without the context of the current band, wherein in the context based Huffman coding mode or the resized Huffman coding mode, bits representing each of the differential quantization indices are split into upper bits and a lower bit and the upper bits are Huffman encoded, and the lower bit is processed by bit packing without Huffman encoding, and wherein the upper bits and the lower bit do not comprise a bit indicating the determined coding method among the first coding method and the second coding method, and a bit indicating the one Huffman coding mode from the context based Huffman coding mode and the resized Huffman coding mode. - View Dependent Claims (2, 3)
-
-
4. A method for decoding an envelope of a signal including at least one of audio and speech, the method comprising:
-
receiving a bitstream including encoded differential quantization indices of bands in a frame from an encoding side; determining a decoding method among a first decoding method and a second decoding method based on a bit indicating the decoding method among the first decoding method and the second decoding method included in the bitstream; decoding the encoded differential quantization indices by using the determined decoding method; and generating reconstructed signal including at least one of audio and speech based on the received bitstream, wherein the first decoding method is allowed when at least one differential quantization index is not represented by a specific range, wherein when the differential quantization indices are represented by the specific range, one Huffman decoding mode from a context based Huffman decoding mode and a resized Huffman decoding mode in the second decoding method is selected for decoding the differential quantization indices, wherein in the context based Huffman decoding mode, a context of a current band is obtained by using a decoded differential quantization index of a previous band, and an encoded differential quantization index of the current band is Huffman decoded based on the context of the current band, wherein in the resized Huffman decoding mode, the context of the current band is not obtained, and the encoded differential quantization index of the current band is Huffman decoded without the context of the current band, wherein in the context based Huffman decoding mode or the resized Huffman decoding mode, upper bits representing each of the encoded differential quantization indices are decoded by Huffman decoding and a lower bit representing each of the encoded differential quantization indices is unpacked without the Huffman decoding, wherein a bit consumption for decoding the differential quantization indices in the selected one Huffman decoding mode is less than a bit consumption for decoding the differential quantization indices in other Huffman decoding mode, and wherein the upper bits and the lower bit do not comprise the bit indicating the determined decoding method among the first decoding method and the second decoding method, and a bit indicating the one Huffman decoding mode from the context based Huffman decoding mode and the resized Huffman decoding mode.
-
Specification