Patent attributes
An image processing method includes acquiring N pieces of motion information from N adjacent image blocks adjacent to a current image block, where the N adjacent image blocks are in a one-to-one correspondence with the N pieces of motion information, and the N pieces of motion information are in a one-to-one correspondence with the N reference image blocks, determining candidate motion information from the N pieces of motion information according to a preset rule, determining, in the reference image, a location range of a to-be-stored pixel, and storing all pixels in the location range, where the location range covers all pixels of a candidate reference image block, and reading the pixels in the location range, and performing encoding processing on the current image block according to the pixels in the location range.