Patent attributes
Systems and techniques for improving costs and efficiency in affine motion prediction of a current block includes storing motion information of previously coded block in a line buffer or one or more local buffers of a coding unit such as coding tree unit (CTU). The line buffer can store motion information of a line of coding blocks located at a boundary of the CTU, while the local buffers can be utilized for storing motion information of coding blocks located anywhere in the CTU. The utilization of the line buffer can be improved by limiting the number of motion vectors of a neighboring block stored in the line buffer and obtaining remaining motion vectors from an additional block when available. The utilization of local buffers can be improved by restricting a size of neighboring blocks whose motion information is stored in the local buffers.