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. An apparatus for coding an envelope of a signal including at least one of audio and speech, the apparatus comprising:
- at least one processor configured to;
select one of a first coding method and a second coding method for a differential quantization index of the envelope, based on at least one of a bit consumption and a range in which the differential quantization index is represented;
encode the differential quantization index using the selected coding method;
generate a bitstream including at least the encoded differential quantization index; and
transmit the bitstream for reproduction in a decoding side, andwherein the at least one processor is configured to;
determine whether the differential quantization index in all bands of a frame is represented by the range;
select the first coding method when at least one differential quantization index in all the bands of the frame is not represented by the range;
compare a bit consumption of the first coding method with a bit consumption of the second coding method, when the differential quantization index in all the bands of the frame is represented by the range;
select the first coding method when the differential quantization index in all the bands of the frame is represented by the range and the bit consumption of the first coding method is less than the bit consumption of the second coding method; and
select the second coding method when the differential quantization index in all the bands of the frame is represented by the range and the bit consumption of the second coding method is less than the bit consumption of the first coding method, andwherein the second coding method includes a context based Huffman coding mode and a resized Huffman coding mode,wherein in the context based Huffman coding mode, the at least one processor is configured to obtain a context of a current band by using a differential quantization index of a previous band, and Huffman encode the differential quantization index of the current band based on the context of the current band,wherein in the resized Huffman coding mode, the at least one processor does not obtain the context of the current band, and is configured to Huffman encode the differential quantization index of the current band without the context of the current band, andwherein in the second coding method, the at least one processor is configured to split bits representing the differential quantization index into first group bits and second group bit and to Huffman encode the first group bits and process the second group bit by bit packing without Huffman encoding, respectively.
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.
29 Citations
7 Claims
-
1. An apparatus for coding an envelope of a signal including at least one of audio and speech, the apparatus comprising:
-
at least one processor configured to; select one of a first coding method and a second coding method for a differential quantization index of the envelope, based on at least one of a bit consumption and a range in which the differential quantization index is represented; encode the differential quantization index using the selected coding method; generate a bitstream including at least the encoded differential quantization index; and transmit the bitstream for reproduction in a decoding side, and wherein the at least one processor is configured to; determine whether the differential quantization index in all bands of a frame is represented by the range; select the first coding method when at least one differential quantization index in all the bands of the frame is not represented by the range; compare a bit consumption of the first coding method with a bit consumption of the second coding method, when the differential quantization index in all the bands of the frame is represented by the range; select the first coding method when the differential quantization index in all the bands of the frame is represented by the range and the bit consumption of the first coding method is less than the bit consumption of the second coding method; and select the second coding method when the differential quantization index in all the bands of the frame is represented by the range and the bit consumption of the second coding method is less than the bit consumption of the first coding method, and wherein the second coding method includes a context based Huffman coding mode and a resized Huffman coding mode, wherein in the context based Huffman coding mode, the at least one processor is configured to obtain a context of a current band by using a differential quantization index of a previous band, and Huffman encode the differential quantization index of the current band based on the context of the current band, wherein in the resized Huffman coding mode, the at least one processor does not obtain the context of the current band, and is configured to Huffman encode the differential quantization index of the current band without the context of the current band, and wherein in the second coding method, the at least one processor is configured to split bits representing the differential quantization index into first group bits and second group bit and to Huffman encode the first group bits and process the second group bit by bit packing without Huffman encoding, respectively. - View Dependent Claims (2, 3, 6)
-
-
4. An apparatus for decoding an envelope of a signal including at least one of audio and speech, the apparatus comprising:
-
at least one processor configured to; receive a bitstream including at least an encoded differential quantization index from an encoding side; determine one of a first decoding method and a second decoding method, based on information included in the bitstream, where the first and the second decoding methods are associated with a bit consumption and a range in which a differential quantization index of the envelope is represented; and decode the encoded differential quantization index by using the determined decoding method, wherein the second decoding method includes a context based Huffman decoding mode and a resized Huffman decoding mode, wherein in the context based Huffman decoding mode, the at least one processor is configured to obtain a context of a current sub-band by using a decoded differential quantization index of a previous sub-band, and Huffman decode the encoded differential quantization index of the current sub-band based on the context of the current sub-band, wherein in the resized Huffman decoding mode, the at least one processor does not obtain the context of the current sub-band, and is configured to Huffman decode the encoded differential quantization index of the current sub-band without the context of the current sub-band, and wherein in the second decoding method, the at least one processor is configured to decode first group bits representing the differential quantization index by Huffman decoding and unpack second group bit representing the differential quantization index without the Huffman decoding, respectively. - View Dependent Claims (5, 7)
-
Specification