摘要 |
The present invention relates to a method for a video encoder to determine an inter mode. The video encoder selects initial candidate modes by using inter mode information of a previous frame so as to determine the inter mode, estimates a macroblock having the greatest correlation with a current macroblock in the previous frame, compares the rate-distortion cost of the corresponding macroblock and the rate-distortion cost of the selected mode from among the initial candidate modes, and determines whether to terminate the inter mode determination process early. When the early termination condition is satisfied, the video encoder determines the candidate mode having the minimum rate-distortion cost from among the initial candidate modes as the inter mode of the current macroblock, and terminates the inter mode determination process early. When the early termination condition is not satisfied, the video encoder additionally performs an inter prediction process by selecting additional candidate modes, and determines the candidate mode having the determined minimum rate-distortion cost as the inter mode of the current macroblock. |