Patent ID: 8891889

Claim:
An image encoding method comprising: determining at least two position parameters for a sub-image block, wherein the sub-image block is obtained by partitioning an image block, wherein the at least two position parameters comprise a first position parameter and a second position parameter, wherein the first position parameter identifies whether the sub-image block is a rectangle or not a rectangle, and wherein the second position parameter identifies endpoint information for the sub-image block; determining an encoding sequence of the first position parameter and the second position parameter according to a partition mariner of the image block, wherein determining the encoding sequence of the first position parameter and the second position parameter according to the partition manner of the image block comprises determining an encoding order of whether the first position parameter precedes the second position parameter or the second position parameter precedes the first position parameter according to the partition manner of the image block; and encoding the at least two position parameters according to the determined encoding sequence.