Patent ID: 8494291

Claim:
A multi-mode method of decoding an encoded texture block, said method comprising: selecting between a default decoding mode and an auxiliary decoding mode for said encoded texture block by comparing a first bit sequence of said encoded texture block with a second bit sequence of said encoded texture block, a third bit sequence of said encoded texture block with a fourth bit sequence of said encoded texture block, and said third bit sequence with a predefined value; extracting, if said default decoding mode is selected, a codeword sequence of N p X +N q X +N p Y +N q Y bits from said encoded texture block and extracting, if said auxiliary decoding mode is selected, a codeword sequence of N p X +N q X +N p Y +N q Y −1 bits from said encoded texture block, wherein N p X represents the number of bits of said first bit sequence, N q X represents the number of bits of said second bit sequence, N p Y represents the number of bits of said third bit sequence and N q Y represents the number of bits of said fourth bit sequence; and generating a decoded texel value for at least one texel in a texture block based on said extracted codeword sequence.