摘要 |
A method and device to arithmetically decode scalable bit sliced arithmetic coding (BSAC) audio data are provided. The arithmetic decoding method includes checking whether all side information of a last layer of the BSAC audio data is to be decoded, and performing BSAC smart decoding and terminating the decoding when all the side information of the last layer is not decoded, and terminating decoding of the last layer when all the side information of the last layer is decoded. The BSAC smart decoding includes checking whether a symbol to be decoded is determined regardless of data read after the truncated bitstream, continuing the decoding when decoding can be performed regardless of data read after the truncated bitstream, and determining that ambiguity occurs and terminating the decoding, when the symbol to be decoded is determined dependent on the data read after the truncated bitstream. Accordingly, byte level scalability can be provided in a MPEG-4 BSAC decoder. Even though the bitstream is truncated, the decoding termination time can be known, and additional decoding with respect to a truncated portion of the bitstream can be performed.
|