Video decoding device and method
AssigneeHon Hai Precision Industry Co., Ltd.
InventorsHsieh-Fu Tsai, Yi-Shin Li, Yi-Shin Tung, Sheng-Che Huang, Chun Hsu
Life of this patent
Estimating the term…
Abstract
A video decoding method includes receiving video data and transforming the video data from a Huffman tree to at least one full tree and at least one one-side tree. One microcode corresponding to the video coding standard that has encoded the received video data is read where a format of the read microcode is determined. The method further includes reading video data from the transformed video data according to the consuming length of the read microcode if the format of the read microcode is a leaf, and decoding the read video data according to the decoding field of the read microcode to output a decoding result.
Claims18
A video decoding device operable to decode video data encoded by video coding standards using Huffman trees, the video decoding device comprising:
- a receiving module operable to receive video data encoded by one video coding standard using the Huffman tree, and transform the video data from a Huffman tree to at least one full tree and at least one one-side tree;
- a storage module operable to store a plurality of microcodes and a plurality of corresponding decoding tables, wherein each microcode and corresponding decoding table corresponding to one video coding standard, each microcode is stored in the storage module in an address sequence according to the corresponding decoding table, and a format of each microcode comprises a leaf, a full tree, and a one-side tree, wherein the microcode with a leaf format comprises a consuming length field and a decoding field, the consuming length field indicates a bit number of video data to be decoded, and the decoding field indicates how to decode video data;
- a microcode processing module operable to read one microcode corresponding to the video coding standard coding the received video data and determine a format of the read microcode;
- a video processing module operable to read video data from the transformed video data according to the consuming length of the read microcode when the format of the read microcode is a leaf;
- a decoding module operable to decode the read video data according to the decoding field of the read microcode to output a decoding result when the format of the read microcode is a leaf;
- and
- at least one processor operable to execute the receiving module, the storage module, the microcode processing module, the video processing module, and the decoding module.
A video decoding method for decoding video data encoded by video coding standards using Huffman trees, the video decoding method comprising:
- providing a plurality of microcodes and a plurality of corresponding decoding tables, each microcode and each corresponding decoding table corresponding to one video coding standard, each microcode being stored in an address sequence according to the corresponding decoding table, a format of each microcode comprising a leaf, a full tree, and a one-side tree, the microcode with a leaf format comprising a consuming length field and a decoding field, wherein the consuming length field indicates a bit number of video data to be decoded, and the decoding field indicates how to decode video data;
- receiving video data encoded by one video coding standard using a Huffman tree, and transforming the video data from a Huffman tree to at least one full tree and at least one one-side tree;
- reading one microcode corresponding to the video coding standard coding the received video data;
- determining a format of the read microcode;
- reading video data from the transformed video data according to the consuming length of the read microcode if the format of the read microcode is a leaf;
- and
- decoding the read video data according to the decoding field of the read microcode to output a decoding result.
Dependencies are inferred from the claim text.