Method for Dividing Prediction Block, Encoding Device, and Decoding Device
AssigneeHuawei Technologies Co., Ltd.
InventorXiaozhen Zheng
Life of this patent
Estimating the term…
Abstract
A method for dividing a prediction block, an encoding device, and a decoding device, where the method includes acquiring a manner of division into the prediction block, where the manner of division into the prediction block is a horizontal division manner, a vertical division manner, or a square division manner, determining a horizontal division size and a vertical division size according to the manner of division into the prediction block, and dividing the prediction block into at least one prediction subblock according to the horizontal division size and the vertical division size.
Claims20
An encoding device for dividing a prediction block of an image, the encoding device comprising:
- a memory comprising instructions;
- and
- a processor coupled to the memory and configured to execute the instructions to:
- acquire a size of a horizontal side and a size of a vertical side of the prediction block;
- acquire a base size;
- determine a size of a horizontal side of a prediction subblock according to a magnitude relationship between the size of the horizontal side of the prediction block and the base size or a magnitude relationship between the size of the vertical side of the prediction block and the base size;
- determine a size of a vertical side of the prediction subblock according to the magnitude relationship between the size of the horizontal side of the prediction block and the base size or the magnitude relationship between the size of the vertical side of the prediction block and the base size;
- and
- divide the prediction block into at least one such prediction subblock according to the size of the horizontal side of the prediction subblock and the size of the vertical side of the prediction subblock.
A coding apparatus, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium coupled to the processor and storing programming instructions for execution by the processor, the programming instructions instructing the processor to:
- acquire a size of a horizontal side and a size of a vertical side of the prediction block;
- acquire a base size;
- determine a size of a horizontal side of a prediction subblock according to a magnitude relationship between the size of the horizontal side of the prediction block and the base size or a magnitude relationship between the size of the vertical side of the prediction block and the base size;
- determine a size of a vertical side of the prediction subblock according to the magnitude relationship between the size of the horizontal side of the prediction block and the base size or the magnitude relationship between the size of the vertical side of the prediction block and the base size;
- and
- divide the prediction block into at least one such prediction subblock according to the size of the horizontal side of the prediction subblock and the size of the vertical side of the prediction subblock.
A computer program product, comprising computer executable instructions stored on a non-transitory computer-readable medium, when the instructions are executed by a processor, causes the processor to:
- acquire a size of a horizontal side and a size of a vertical side of the prediction block;
- acquire a base size;
- determine a size of a horizontal side of a prediction subblock according to a magnitude relationship between the size of the horizontal side of the prediction block and the base size or a magnitude relationship between the size of the vertical side of the prediction block and the base size;
- determine a size of a vertical side of the prediction subblock according to the magnitude relationship between the size of the horizontal side of the prediction block and the base size or the magnitude relationship between the size of the vertical side of the prediction block and the base size;
- and
- divide the prediction block into at least one such prediction subblock according to the size of the horizontal side of the prediction subblock and the size of the vertical side of the prediction subblock.
Dependencies are inferred from the claim text.