摘要 |
A coding method includes: partitioning an image block to be decoded irregularly according to an irregular partitioning mode and a position parameter to obtain at least two different sub-blocks; comparing the sub-blocks with a reference sub-block to obtain a residual of a pixel value of the image block to be coded; obtaining a reference position parameter according to a surrounding block of the image block to be coded, and subtracting the reference position parameter from the position parameter of the image block to be coded to obtain a position parameter difference of the image block to be coded; quantizing the residual, and performing entropy coding on a result of the quantization, the motion vector information, and the position parameter difference; and writing the entropy coding result and partitioning mode information of the image block into a code stream.
|