Energy lossless-encoding method and apparatus, audio encoding method and apparatus, energy lossless-decoding method and apparatus, and audio decoding method and apparatus

  • US 10,424,304 B2
  • Filed: 04/15/2015
  • Issued: 09/24/2019
  • Est. Priority Date: 10/21/2011
  • Status: Active Grant
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.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×